From 4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 11 Jul 2000 14:53:35 +0000 Subject: 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. --- devel/kdevelop/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'devel/kdevelop') diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile index 692b53e57a1..d2ad6b16ed2 100644 --- a/devel/kdevelop/Makefile +++ b/devel/kdevelop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2000/07/10 15:08:16 agc Exp $ +# $NetBSD: Makefile,v 1.15 2000/07/11 14:53:39 agc Exp $ DISTNAME= kdevelop-1.2 CATEGORIES= devel kde @@ -22,9 +22,9 @@ USE_PKGLIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-extra-includes=${LOCALBASE}/include \ --with-extra-libs=${LOCALBASE}/lib \ - --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 + --with-qt-dir=`${MAKE} show-qt1-prefix`/qt1 CFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV= "KDEDIR=${PREFIX} QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" +CONFIGURE_ENV= "KDEDIR=${PREFIX} QTDIR=`${MAKE} show-qt1-prefix`/qt1" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3