1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

update graphics/xsane: add WITH_GTK2 knob

PR:		55800
Submitted by:	Dominik Brettnacher <domi@saargate.de> (maintainer)
This commit is contained in:
Daichi GOTO 2003-08-21 04:55:40 +00:00
parent 5bbac6fe49
commit 7b727544c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87420

View File

@ -22,7 +22,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@ -37,6 +36,13 @@ CONFIGURE_ARGS+= --enable-gimp
CONFIGURE_ARGS+= --disable-gimp
.endif
.if defined(WITH_GTK2)
USE_GNOME= gtk20
.else
USE_GNOME= gtk12
CONFIGURE_ARGS= --disable-gtk2
.endif
pre-everything::
.if !defined(WITH_GIMP)
@${ECHO_MSG} "*** Note: XSane can be built with a standalone"