summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>1999-09-05 13:41:14 +0000
committermrg <mrg@pkgsrc.org>1999-09-05 13:41:14 +0000
commit1dcf89155d58449f09bf8e3c1796e304113726d2 (patch)
treea4c19aa238cd943872455625ac686dcd255f9d7c /graphics/imlib
parentd3c5527bdad935160681faa3a92b42c590091c6b (diff)
downloadpkgsrc-1dcf89155d58449f09bf8e3c1796e304113726d2.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