diff options
author | wiz <wiz> | 2002-10-20 14:00:41 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-10-20 14:00:41 +0000 |
commit | eeb386f0ef77f4b3fbb348a5d2a2f89a0cd923f2 (patch) | |
tree | 6b3c33d4316b4ce08d3f7e6eb13e2b4c208f3235 /x11/qt1 | |
parent | e5ec67e55d29c6f691aaa59bc41a64f99286f42a (diff) | |
download | pkgsrc-eeb386f0ef77f4b3fbb348a5d2a2f89a0cd923f2.tar.gz |
Add buildlink2.mk.
Diffstat (limited to 'x11/qt1')
-rw-r--r-- | x11/qt1/buildlink2.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/qt1/buildlink2.mk b/x11/qt1/buildlink2.mk new file mode 100644 index 00000000000..61639a97ac2 --- /dev/null +++ b/x11/qt1/buildlink2.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/20 14:00:41 wiz Exp $ + +.if !defined(QT1_BUILDLINK2_MK) +QT1_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= qt1 +BUILDLINK_DEPENDS.qt1?= qt1>=1.44 +BUILDLINK_PKGSRCDIR.qt1?= ../../x11/qt1 + +EVAL_PREFIX+= BUILDLINK_PREFIX.qt1=qt1 +BUILDLINK_PREFIX.qt1_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.qt1+= qt1/include/*.h +BUILDLINK_FILES.qt1+= qt1/lib/libqt.* + +QTDIR= ${BUILDLINK_PREFIX.qt1}/qt1 + +BUILDLINK_CPPFLAGS.qt1= -I${QTDIR}/include +BUILDLINK_LDFLAGS.qt1= -L${QTDIR}/lib -Wl,-R${QTDIR}/lib + +CONFIGURE_ENV+= QTDIR="${QTDIR}" +CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc" +MAKE_ENV+= QTDIR="${QTDIR}" +MAKE_ENV+= MOC="${QTDIR}/bin/moc" +LDFLAGS+= -Wl,-R${QTDIR}/lib + +BUILDLINK_TARGETS+= qt1-buildlink + +qt1-buildlink: _BUILDLINK_USE + +.endif # QT1_BUILDLINK2_MK |