summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authormrg <mrg>1999-09-05 13:41:14 +0000
committermrg <mrg>1999-09-05 13:41:14 +0000
commitc6a7bb84ab3fd160fb89daa4858121fb170c8dea (patch)
treea4c19aa238cd943872455625ac686dcd255f9d7c /graphics/imlib
parent2b7b11d82d50cb65c2d58bf7c0172d090170d18d (diff)
downloadpkgsrc-c6a7bb84ab3fd160fb89daa4858121fb170c8dea.tar.gz
make this work with xpkgwedge.
Diffstat (limited to 'graphics/imlib')
-rw-r--r--graphics/imlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 6460e228ced..7824d4b20c6 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 1999/08/28 09:43:11 rh Exp $
+# $NetBSD: Makefile,v 1.24 1999/09/05 13:41:14 mrg Exp $
#
DISTNAME= imlib-1.9.4
@@ -21,7 +21,10 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include -I${LOCALBASE}/include/giflib'
.include "../../mk/bsd.pkg.mk"
+
+.if !defined(USE_LOCALBASE_FOR_X11)
+CONFIGURE_ARGS+= --with-gtk-prefix=${X11BASE}
+.endif