- fix build when WITH_GTK is disabled, but x11-toolkits/gtkimageview

is installed

I also added similar change for WITH_GIMP option, because configure tries to
autodetect it too. PORTREVISION bump doesn't needed because GTK is enabled by
default.

PR:		166722
Submitted by:	Bojan Petrovic <bojan_petrovic at fastmail dot fm>
Approved by:	Rodrigo OSORIO <rodrigo at bebik dot net> (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov
2012-06-11 08:00:16 +00:00
parent 73c2da9d38
commit 527615831f
2 changed files with 4 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ PC_FALSE+= cfitsio
LIB_DEPENDS+= gimp-2.0.0:${PORTSDIR}/graphics/gimp-app
PLIST_SUB+= GIMP=""
.else
CONFIGURE_ARGS+=--without-gimp
PC_FALSE+= gimp
PLIST_SUB+= GIMP="@comment "
.endif
@@ -80,6 +81,8 @@ PLIST_SUB+= GIMP="@comment "
.if defined(WITH_GTK)
LIB_DEPENDS+= gtkimageview.0:${PORTSDIR}/x11-toolkits/gtkimageview
PLIST_FILES+= bin/ufraw
.else
CONFIGURE_ARGS+=--without-gtk
.endif
.if defined(WITH_GNOME)

View File

@@ -6,4 +6,4 @@ apply color profiles. For Nikon users UFRaw has the advantage that it can
read the camera's tone curves. Even if you don't own a Nikon, you can still
apply a Nikon curve to your images.
WWW: http://ufraw.sourceforge.net/
WWW: http://ufraw.sourceforge.net/