diff options
author | agc <agc@pkgsrc.org> | 2000-07-11 14:53:35 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-11 14:53:35 +0000 |
commit | 4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd (patch) | |
tree | 07c067a284dd27eed2ac53c0ec79e856fd2442d9 /x11/qwspritefield | |
parent | 2892ff05e14ce39877f3b9724d09c369fa16359e (diff) | |
download | pkgsrc-4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd.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 'x11/qwspritefield')
-rw-r--r-- | x11/qwspritefield/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/qwspritefield/Makefile b/x11/qwspritefield/Makefile index c30ff5b9fa6..c79943c187b 100644 --- a/x11/qwspritefield/Makefile +++ b/x11/qwspritefield/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/07/10 15:08:21 agc Exp $ +# $NetBSD: Makefile,v 1.7 2000/07/11 14:53:48 agc Exp $ DISTNAME= QwSpriteField1.6 PKGNAME= qwspritefield-1.6 @@ -18,14 +18,14 @@ WRKSRC= ${WRKDIR}/QwSpriteField QW_INCLUDES= Pix.h QwCluster.h QwPublicList.h QwSpriteField.h -PATH= `${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin:$$PATH +PATH= `${MAKE} show-qt1-prefix`/qt1/bin:$$PATH -MAKE_ENV+= "QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" +MAKE_ENV+= "QTDIR=`${MAKE} show-qt1-prefix`/qt1" do-install: @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/libQwSpriteField.la \ ${PREFIX}/lib - @qt1dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`; \ + @qt1dir=`${MAKE} show-qt1-prefix`; \ for file in ${QW_INCLUDES}; do \ ${INSTALL_DATA} ${WRKSRC}/${FILE} $$qt1dir/qt1/include; \ done |