pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Add buildlink3.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae0d801a117d
branches:  trunk
changeset: 471750:ae0d801a117d
user:      recht <recht%pkgsrc.org@localhost>
date:      Tue Mar 30 18:58:34 2004 +0000

description:
Add buildlink3.mk

diffstat:

 x11/qt3-libs/buildlink3.mk |  46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r 8d52e71d7a4a -r ae0d801a117d x11/qt3-libs/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt3-libs/buildlink3.mk        Tue Mar 30 18:58:34 2004 +0000
@@ -0,0 +1,46 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/30 18:58:34 recht Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+QT3_LIBS_BUILDLINK3_MK:=       ${QT3_LIBS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    qt3-libs
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nqt3-libs}
+BUILDLINK_PACKAGES+=   qt3-libs
+
+.if !empty(QT3_LIBS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.qt3-libs+=   qt3-libs>=3.2.3
+BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs
+.endif # QT3_LIBS_BUILDLINK3_MK
+
+QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
+                                                                                
+BUILDLINK_INCDIRS.qt3-libs+=   ${QTDIR}/include
+BUILDLINK_LIBDIRS.qt3-libs+=   ${QTDIR}/lib
+                                                                                
+PTHREAD_OPTS+= require
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/Xft2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
+.include "../../graphics/mng/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/Xrandr/buildlink3.mk"
+.include "../../x11/xcursor/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+CONFIGURE_ENV+=                MOC="${QTDIR}/bin/moc"
+MAKE_ENV+=             MOC="${QTDIR}/bin/moc"
+LDFLAGS+=              -Wl,${RPATH_FLAG}${QTDIR}/lib
+
+.if !defined(BUILD_QT3)
+CONFIGURE_ENV+=                QTDIR="${QTDIR}"
+MAKE_ENV+=             QTDIR="${QTDIR}"
+.endif
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index