From c6a7bb84ab3fd160fb89daa4858121fb170c8dea Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 5 Sep 1999 13:41:14 +0000 Subject: make this work with xpkgwedge. --- graphics/imlib/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'graphics') 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 -- cgit v1.2.3