diff options
author | agc <agc@pkgsrc.org> | 2000-07-11 10:10:55 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-11 10:10:55 +0000 |
commit | 7f1f39e428bd648567d07b37a2437eda14576691 (patch) | |
tree | a7e96bc8af98e5df0bb85e6645f01708899cee2f /sysutils/kdf | |
parent | 9b6608ce833f76f77be42b9c5115d8b8e3d4c2ff (diff) | |
download | pkgsrc-7f1f39e428bd648567d07b37a2437eda14576691.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/Makefile | 4 |
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 |