Cookie files at /usr/local/share/fortune/ not found since 2.6.1-1
Task Info (Flyspray) | |
---|---|
Opened By | Lukas Waymann (meribold) |
Task ID | 67072 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2020-06-22 06:34:49 UTC |
Status | Assigned |
Assignee | George Rawlinson (rawlinsong) |
Details
Package version: 2.6.1-1 and later
Steps to reproduce:
I have a cookie file at /usr/local/share/fortune/meribold
and running fortune meribold
no longer works since the update to 2.6.1-1 ("No fortunes found").
I was looking at this diff and these lines looks suspicious:
- make REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX -DHAVE_STDBOOL' \
-
COOKIEDIR=/usr/share/fortune \
-
LOCALDIR=/usr/local/share/fortune all fortune/fortune.man
- mkdir -p build
- cd build
- cmake .. \
-
-DCMAKE_INSTALL_PREFIX=/usr \
-
-DNO_OFFENSIVE=OFF \
-
-DLOCALDIR=/usr/share/fortune/ \
-
-DLOCALODIR=/usr/share/fortune/off/ \
-
-DCOOKIEDIR=/usr/share/fortune/ \
-
-DOCOOKIEDIR=/usr/share/fortune/off/
LOCALDIR and COOKIEDIR are set to the same value now. I assume LOCALDIR should still be "/usr/local/share/fortune".