summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 10:39:05 +0000
committeragc <agc@pkgsrc.org>2000-07-11 10:39:05 +0000
commitdbd34e43d77e36a798a80910e6a00327c8d4eff3 (patch)
treed99de04fdacdb2790cb6183055cdc97ff22d9110
parent90f5ccd5a824a5ce1ed854fb9a4c42ca7c2a5720 (diff)
downloadpkgsrc-dbd34e43d77e36a798a80910e6a00327c8d4eff3.tar.gz
Use pkg_info(1) to find out the prefix of the installed imlib package,
rather than using a hardcoded best guess.
-rw-r--r--x11/xfce/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xfce/Makefile b/x11/xfce/Makefile
index 590dc3c1ff2..c02271a6342 100644
--- a/x11/xfce/Makefile
+++ b/x11/xfce/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2000/07/11 09:31:33 agc Exp $
+# $NetBSD: Makefile,v 1.7 2000/07/11 10:39:05 agc Exp $
DISTNAME= xfce-3.3.1
CATEGORIES= x11
@@ -18,7 +18,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= XFCE_LOCALE_DIR=${PREFIX}/share/locale
CONFIGURE_ARGS+=--without-included-gettext \
--datadir=${PREFIX}/share \
- --with-imlib=${X11BASE} \
+ --with-imlib=`${PKG_INFO} -qp imlib | ${AWK} '{print $$2}'` \
--with-xpm=`${PKG_INFO} -qp xpm | ${AWK} '{print $$2}'`
USE_GMAKE= yes