sunclock package and port compile wrong, resulting in binary which wants to find all its configuration and other files in compilation work directory. sunclock gives this error when run: Unable to find the config file /usr/ports/astro/sunclock/work/stage/share/sunclock/Sunclockrc How-To-Repeat: Install sunclock with pkg add sunclock or compile the port. You can see in port compilation messages that SHAREDIR is set to compilation work directory instead of /usr/local/share/sunclock. Oddly, it seems that /usr/local/share/sunclock is correctly populated. cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include/libpng15 -I/usr/local/include -DEMXBINDIR=\"/usr/local/bin\" -DDOCDIR=\"/usr/local/lib/X11/doc\" -O -Wall -DZLIB -DSHAREDIR=\"/usr/ports/astro/sunclock/work/stage/share/sunclock\" -c tildepath.c
There is no maintainer for this port. Unless you can provide a patch to fix it, nothing is going to happen (probably)
Created attachment 146051 [details] astro/sunclock build log Hi hsu, According to build log attachment SHAREDIR is with correct value now: cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include/libpng15 -I/usr/local/include -DEMXBINDIR=\"/usr/local/bin\" -DDOCDIR=\"/usr/local/lib/X11/doc\" -O -Wall -DZLIB -DSHAREDIR=\"/usr/local/share/sunclock\" -c tildepath.c and Sunclockrc is with correct path: root@moonshield:/usr/ports/astro/sunclock # pkg info -l sunclock sunclock-3.57: /usr/local/bin/emx /usr/local/bin/sunclock /usr/local/man/man1/sunclock.1.gz /usr/local/share/licenses/sunclock-3.57/GPLv2 /usr/local/share/licenses/sunclock-3.57/LICENSE /usr/local/share/licenses/sunclock-3.57/catalog.mk /usr/local/share/sunclock/Sunclockrc /usr/local/share/sunclock/earthmaps/vmf/countries.vmf.gz /usr/local/share/sunclock/earthmaps/vmf/landwater.vmf.gz /usr/local/share/sunclock/earthmaps/vmf/timezones.vmf.gz /usr/local/share/sunclock/editkit/MANUAL.emacs /usr/local/share/sunclock/editkit/README /usr/local/share/sunclock/editkit/emxrc /usr/local/share/sunclock/i18n/Sunclock.de /usr/local/share/sunclock/i18n/Sunclock.en /usr/local/share/sunclock/i18n/Sunclock.es /usr/local/share/sunclock/i18n/Sunclock.fr /usr/local/share/sunclock/i18n/Sunclock.it /usr/local/share/sunclock/i18n/Sunclock.nl /usr/local/share/sunclock/i18n/Sunclock.no /usr/local/share/sunclock/i18n/Sunclock.pl /usr/local/share/sunclock/i18n/Sunclock.sv Nikola
Nikola says the error doesn't exist anymore.