Building without GTK2 does not create the "ufraw" binary and therefore creates a pkg-static error.
Running "make -C graphics/ufraw showconfig" shows:
===> The following configuration options are available for ufraw-0.22_8:
CONTRAST=on: Enable contrast setting option
DST=off: Use local time for timestamps
EXIV2=on: EXIF and IPTC metadata support via exiv2
FITS=off: FITS output support
GIMP=off: Install GIMP plugin
GNOME=off: GNOME desktop environment support
GTK2=off: GTK+ 2 GUI toolkit support
LENSFUN=on: Camera lens database support via LensFun
===> Use 'make config' to modify these settings
Running "portmaster graphics/ufraw" fails with the error:
===> Registering installation for ufraw-0.22_8
pkg-static: Unable to access file /usr/ports/graphics/ufraw/work/stage/usr/local/bin/ufraw:No such file or directory
*** Error code 74
Running "ls -hl graphics/ufraw/work/stage/usr/local/bin/" shows:
-r-xr-xr-x 1 root staff 409K 27 Dec 10:29 dcraw
-r-xr-xr-x 1 root staff 27K 27 Dec 10:29 nikon-curve
-r-xr-xr-x 1 root staff 1.3M 27 Dec 10:29 ufraw-batch
You can see that "ufraw-batch" has been created (which is the binary that I want) and that "ufraw" has not been created (which is the binary that I do not want) which is exactly what I think should've happened. The problem is that the install script thinks that "ufraw" should exist and therefore it fails the whole process even though it is OK for it to be missing.
thanks for the report i'm investigating on it
A commit references this bug:
Date: Thu Feb 7 11:02:47 UTC 2019
New revision: 492359
Be able to build ufraw without GTK2 option
Add gnome to the uses to make testport happy
Reported by: Thomas Guymer <firstname.lastname@example.org>
It now works great, thank you.
(In reply to Thomas Guymer from comment #4)
You're welcome, and by the way thanks for reporting the issue.