summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-11 10:58:34 +0000
committeragc <agc@pkgsrc.org>2000-07-11 10:58:34 +0000
commited3b113d4a4506622834789930bd3c238874ba48 (patch)
tree5ce954e00c339fd0a2ee838ab6e42c27ab231b66 /x11
parentad735af8879b511d93224e24983af59414d6b858 (diff)
downloadpkgsrc-ed3b113d4a4506622834789930bd3c238874ba48.tar.gz
Use pkg_info(1) to find the kde installed prefix, rather than hardcoding
it to X11BASE, which will be wrong if xpkgwedge is installed.
Diffstat (limited to 'x11')
-rw-r--r--x11/kworldwatch/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/kworldwatch/Makefile b/x11/kworldwatch/Makefile
index 57c1f962786..7891f2f0f38 100644
--- a/x11/kworldwatch/Makefile
+++ b/x11/kworldwatch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/07/10 15:08:21 agc Exp $
+# $NetBSD: Makefile,v 1.8 2000/07/11 10:58:34 agc Exp $
#
DISTNAME= kworldwatch-0.6
@@ -15,12 +15,12 @@ CONFLICTS+= kdetoys-*
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 \
--with-qt-libraries='`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/lib -L${LOCALBASE}/lib' \
--enable-path-check
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_ENV= KDEDIR=${PREFIX} \
+CONFIGURE_ENV= KDEDIR=`${PKG_INFO} -qp kdebase | ${AWK} '{print $$2}'` \
MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc \
QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \
CXXFLAGS="${CFLAGS}" \