summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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