summaryrefslogtreecommitdiff
path: root/net/kmap
diff options
context:
space:
mode:
authoragc <agc>2000-07-11 14:53:35 +0000
committeragc <agc>2000-07-11 14:53:35 +0000
commit813465eab99d862903e92f2ae1d6d94810276208 (patch)
tree07c067a284dd27eed2ac53c0ec79e856fd2442d9 /net/kmap
parent31ed6132f5a4cef39bb92cc9715a49399ea88de7 (diff)
downloadpkgsrc-813465eab99d862903e92f2ae1d6d94810276208.tar.gz
Make the determination of the pre-req package's installed directory be
a bit more user-friendly. Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
Diffstat (limited to 'net/kmap')
-rw-r--r--net/kmap/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/kmap/Makefile b/net/kmap/Makefile
index bdfdbb24e98..1749ea4c7cd 100644
--- a/net/kmap/Makefile
+++ b/net/kmap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/07/10 15:08:18 agc Exp $
+# $NetBSD: Makefile,v 1.4 2000/07/11 14:53:44 agc Exp $
#
DISTNAME= kmap-0.5.6
@@ -13,8 +13,8 @@ DEPENDS+= nmap-2.12:../../net/nmap
USE_X11BASE= yes # To get this near KDE
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
-CONFIGURE_ARGS+=--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1
+CONFIGURE_ENV+= QTDIR=`${MAKE} show-qt1-prefix`/qt1
+CONFIGURE_ARGS+=--with-qt-dir=`${MAKE} show-qt1-prefix`/qt1
post-patch:
cd ${WRKSRC}/kmap ; \