diff options
author | daichi <daichi@FreeBSD.org> | 2003-08-21 04:55:40 +0000 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-08-21 04:55:40 +0000 |
commit | 004d0f81628a68c90156b73d9b2822d3bdff46c7 (patch) | |
tree | bfa75680d16a98ba61af4daf6b95f5eacbb5d206 /graphics | |
parent | 027c67cc13b8fdf3bdd47e26b9f044dbe1f03b4e (diff) | |
download | FreeBSD-ports-004d0f81628a68c90156b73d9b2822d3bdff46c7.zip FreeBSD-ports-004d0f81628a68c90156b73d9b2822d3bdff46c7.tar.gz |
update graphics/xsane: add WITH_GTK2 knob
PR: 55800
Submitted by: Dominik Brettnacher <domi@saargate.de> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xsane/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index c458921..5a14b64 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -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" |