diff options
author | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-07-20 01:54:51 +0000 |
commit | dd30dabc8c342242d2f7de362ba8e4fbd55dc056 (patch) | |
tree | dae0240406309a978c806a7f1e4b5be62fbd62bf /x11/qt2-libs | |
parent | f79b2df20a2446d953dd624071a51110e3323693 (diff) | |
download | pkgsrc-dd30dabc8c342242d2f7de362ba8e4fbd55dc056.tar.gz |
Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
Diffstat (limited to 'x11/qt2-libs')
-rw-r--r-- | x11/qt2-libs/buildlink.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11/qt2-libs/buildlink.mk b/x11/qt2-libs/buildlink.mk index 04fe5ce8ac9..2d68e8aaa95 100644 --- a/x11/qt2-libs/buildlink.mk +++ b/x11/qt2-libs/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.7 2001/07/02 04:40:37 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.8 2001/07/20 01:54:55 jlam Exp $ # # This Makefile fragment is included by packages that use qt2-libs. # @@ -20,13 +20,13 @@ QT2_LIBS_BUILDLINK_MK= # defined BUILDLINK_DEPENDS.qt2-libs?= qt2-libs>=2.2.4 DEPENDS+= ${BUILDLINK_DEPENDS.qt2-libs}:../../x11/qt2-libs -BUILDLINK_PREFIX.qt2-libs= ${X11PREFIX} +EVAL_PREFIX+= BUILDLINK_PREFIX.qt2-libs=qt2-libs BUILDLINK_FILES.qt2-libs= qt2/bin/moc BUILDLINK_FILES.qt2-libs+= qt2/include/*.h BUILDLINK_FILES.qt2-libs+= qt2/lib/libqt.* BUILDLINK_QTDIR= ${BUILDLINK_DIR}/qt2 -QTDIR= ${X11PREFIX}/qt2 +QTDIR= ${BUILDLINK_PREFIX.qt2-libs}/qt2 REPLACE_BUILDLINK_SED+= -e "s|-I${BUILDLINK_QTDIR}/|-I${QTDIR}/|g" REPLACE_BUILDLINK_SED+= -e "s|-L${BUILDLINK_QTDIR}/|-L${QTDIR}/|g" BUILDLINK_CONFIG_WRAPPER_SED+= -e "s|-I${QTDIR}/|-I${BUILDLINK_QTDIR}/|g" |