summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-10 16:03:47 +0000
committeragc <agc@pkgsrc.org>2000-07-10 16:03:47 +0000
commitf1bc5a3e73685c7a23afff38d607dbfdfacb7b6f (patch)
treed18e88610f0e1610a6df0707db9f9f25f547acdb /x11
parent52c1afc38c6c1387969433578010efd90e8e3278 (diff)
downloadpkgsrc-f1bc5a3e73685c7a23afff38d607dbfdfacb7b6f.tar.gz
Find qt2 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}.
Pointed out by Dave Sainty <dave@dtsp.co.nz>, munged slightly by me.
Diffstat (limited to 'x11')
-rw-r--r--x11/ebuilder/Makefile4
-rw-r--r--x11/qtarch/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/x11/ebuilder/Makefile b/x11/ebuilder/Makefile
index 5cfac8966ac..45911500e2d 100644
--- a/x11/ebuilder/Makefile
+++ b/x11/ebuilder/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/04/28 18:14:01 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2000/07/10 16:03:49 agc Exp $
#
DISTNAME= ebuilder-0.56c
@@ -13,7 +13,7 @@ DEPENDS+= qt2-*:../../x11/qt
DEPENDS+= png-*:../../graphics/png
USE_X11= yes
-MAKE_ENV= QTDIR=${X11BASE}/qt2
+MAKE_ENV= QTDIR=`${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ebuilder ${PREFIX}/bin
diff --git a/x11/qtarch/Makefile b/x11/qtarch/Makefile
index b1ff8125afd..163d0fdc2af 100644
--- a/x11/qtarch/Makefile
+++ b/x11/qtarch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/04/28 20:31:43 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2000/07/10 16:03:49 agc Exp $
#
DISTNAME= qtarch-2.0-1
@@ -16,7 +16,7 @@ DEPENDS+= png-*:../../graphics/png
USE_X11= yes
USE_GMAKE= yes
-MAKE_ENV= QTDIR=${X11BASE}/qt2
+MAKE_ENV= QTDIR=`${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2
PATH= ${QTDIR}/bin:$$PATH
do-install: