summaryrefslogtreecommitdiff
path: root/sysutils/kdf
diff options
context:
space:
mode:
authoragc <agc>2000-07-11 10:10:55 +0000
committeragc <agc>2000-07-11 10:10:55 +0000
commit8fe7f2616d6c8b7e5b0693641b6cca6455c1032a (patch)
treea7e96bc8af98e5df0bb85e6645f01708899cee2f /sysutils/kdf
parent876f7a170088a7a1697cf7118b05c203c8ac4492 (diff)
downloadpkgsrc-8fe7f2616d6c8b7e5b0693641b6cca6455c1032a.tar.gz
Find out where kde is installed by using pkg_info(1), rather than hardcoding
${X11BASE}.
Diffstat (limited to 'sysutils/kdf')
-rw-r--r--sysutils/kdf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile
index abb50ba14c8..8cab35135c6 100644
--- a/sysutils/kdf/Makefile
+++ b/sysutils/kdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/07/10 15:08:19 agc Exp $
+# $NetBSD: Makefile,v 1.6 2000/07/11 10:10:55 agc Exp $
#
DISTNAME= kdf-0.5.1
@@ -14,7 +14,7 @@ DEPENDS+= kde-1.1.2:../../x11/kde
USE_X11BASE= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+=--datadir=${X11BASE}/share/kde \
+CONFIGURE_ARGS+=--datadir=`${PKG_INFO} -qp kdebase | ${AWK} '{print $$2}'`/share/kde \
--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \
--enable-path-check
CFLAGS+= -I${LOCALBASE}/include