diff options
author | jlam <jlam> | 2002-09-22 10:06:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-09-22 10:06:00 +0000 |
commit | 047dfdae3b23fc25e7f3cabfd82bd965392b3b1d (patch) | |
tree | d8b74666f338f7ea651b29f1f6de33f9f7fb9d54 /x11/qt2-libs | |
parent | aee3563b75abe27494711e77f30e7a0f8990f175 (diff) | |
download | pkgsrc-047dfdae3b23fc25e7f3cabfd82bd965392b3b1d.tar.gz |
Create new variables BUILDLINK_CPPFLAGS.<pkg> and BUILDLINK_LDFLAGS.<pkg>
that hold the compiler and linker flags used to find the headers and
libraries because these packages install them into non-standard places.
These variables may be used in package Makefiles by doing:
CPPFLAGS+= ${BUILDLINK_CPPFLAGS.<pkg>}
LDFLAGS+= ${BUILDLINK_LDFLAGS.<pkg>}
Diffstat (limited to 'x11/qt2-libs')
-rw-r--r-- | x11/qt2-libs/buildlink2.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/qt2-libs/buildlink2.mk b/x11/qt2-libs/buildlink2.mk index 9b4c199532e..13a949ead8d 100644 --- a/x11/qt2-libs/buildlink2.mk +++ b/x11/qt2-libs/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:43 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2002/09/22 10:06:01 jlam Exp $ .if !defined(QT2_LIBS_BUILDLINK2_MK) QT2_LIBS_BUILDLINK2_MK= # defined @@ -14,6 +14,9 @@ BUILDLINK_FILES.qt2-libs+= qt2/lib/libqt.* QTDIR= ${BUILDLINK_PREFIX.qt2-libs}/qt2 +BUILDLINK_CPPFLAGS.qt2-libs= -I${QTDIR}/include +BUILDLINK_LDFLAGS.qt2-libs= -L${QTDIR}/lib -Wl,-R${QTDIR}/lib + .include "../../devel/zlib/buildlink2.mk" .include "../../graphics/Mesa/buildlink2.mk" .include "../../graphics/jpeg/buildlink2.mk" |