From 7b727544c9fff01c6c97d119069bd95e98ef4088 Mon Sep 17 00:00:00 2001 From: Daichi GOTO Date: Thu, 21 Aug 2003 04:55:40 +0000 Subject: update graphics/xsane: add WITH_GTK2 knob PR: 55800 Submitted by: Dominik Brettnacher (maintainer) --- graphics/xsane/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'graphics/xsane/Makefile') diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index c4589216e076..5a14b64ce9f6 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" -- cgit v1.2.3