pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11 Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/39d6c18150c2
branches: trunk
changeset: 474558:39d6c18150c2
user: snj <snj%pkgsrc.org@localhost>
date: Sun May 02 05:35:17 2004 +0000
description:
Convert to buildlink3.
diffstat:
x11/py-qt2-sip/Makefile | 6 +++---
x11/py-qt2-sip/buildlink2.mk | 23 -----------------------
x11/py-qt2-sip/buildlink3.mk | 20 ++++++++++++++++++++
x11/py-qt2/Makefile | 8 ++++----
4 files changed, 27 insertions(+), 30 deletions(-)
diffs (105 lines):
diff -r 39d74eb6b5d4 -r 39d6c18150c2 x11/py-qt2-sip/Makefile
--- a/x11/py-qt2-sip/Makefile Sun May 02 05:27:20 2004 +0000
+++ b/x11/py-qt2-sip/Makefile Sun May 02 05:35:17 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/02/14 17:21:56 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/05/02 05:35:17 snj Exp $
#
DISTNAME= sip-3.1
@@ -10,7 +10,7 @@
HOMEPAGE= http://www.riverbankcomputing.co.uk/sip/index.php
COMMENT= Tool to create Python bindings for C++ libraries
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_X11= # defined
USE_LIBTOOL= # defined
@@ -23,6 +23,6 @@
MAKE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX}
.include "../../lang/python/extension.mk"
-.include "../../x11/qt2-libs/buildlink2.mk"
+.include "../../x11/qt2-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 39d74eb6b5d4 -r 39d6c18150c2 x11/py-qt2-sip/buildlink2.mk
--- a/x11/py-qt2-sip/buildlink2.mk Sun May 02 05:27:20 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.4 2004/03/29 05:05:50 jlam Exp $
-
-.if !defined(PY_QT2_SIP_BUILDLINK2_MK)
-PY_QT2_SIP_BUILDLINK2_MK= # defined
-
-.include "../../lang/python/pyversion.mk"
-
-BUILDLINK_PACKAGES+= pyqt2sip
-BUILDLINK_PKGBASE.pyqt2sip?= ${PYPKGPREFIX}-qt2-sip
-BUILDLINK_DEPENDS.pyqt2sip?= ${PYPKGPREFIX}-qt2-sip-[0-9]*
-BUILDLINK_PKGSRCDIR.pyqt2sip?= ../../x11/py-qt2-sip
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pyqt2sip=pyqt2sip
-BUILDLINK_PREFIX.pyqt2sip_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pyqt2sip= ${PYINC}/sip.h
-BUILDLINK_FILES.pyqt2sip+= ${PYINC}/sipQt.h
-BUILDLINK_FILES.pyqt2sip+= ${PYSITELIB}/libsip.*
-
-BUILDLINK_TARGETS+= pyqt2sip-buildlink
-
-pyqt2sip-buildlink: _BUILDLINK_USE
-
-.endif # PY_QT2_SIP_BUILDLINK2_MK
diff -r 39d74eb6b5d4 -r 39d6c18150c2 x11/py-qt2-sip/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-qt2-sip/buildlink3.mk Sun May 02 05:35:17 2004 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/02 05:35:17 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_QT2_SIP_BUILDLINK3_MK:= ${PY_QT2_SIP_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pyqt2sip
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyqt2sip}
+BUILDLINK_PACKAGES+= pyqt2sip
+
+.if !empty(PY_QT2_SIP_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pyqt2sip+= ${PYPKGPREFIX}-qt2-sip-[0-9]*
+BUILDLINK_PKGSRCDIR.pyqt2sip?= ../../x11/py-qt2-sip
+.endif # PY_QT2_SIP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 39d74eb6b5d4 -r 39d6c18150c2 x11/py-qt2/Makefile
--- a/x11/py-qt2/Makefile Sun May 02 05:27:20 2004 +0000
+++ b/x11/py-qt2/Makefile Sun May 02 05:35:17 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/02/21 07:51:00 snj Exp $
+# $NetBSD: Makefile,v 1.7 2004/05/02 05:35:17 snj Exp $
#
DISTNAME= PyQt-3.1-Qt-2.3.1
@@ -11,7 +11,7 @@
COMMENT= Python bindings for the Qt toolkit
WRKSRC= ${WRKDIR}/PyQt-3.1
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_X11= # defined
USE_LIBTOOL= # defined
@@ -25,7 +25,7 @@
.include "../../lang/python/extension.mk"
-.include "../../x11/py-qt2-sip/buildlink2.mk"
-.include "../../x11/qt2-libs/buildlink2.mk"
+.include "../../x11/py-qt2-sip/buildlink3.mk"
+.include "../../x11/qt2-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index