summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordrochner <drochner>2003-07-22 17:19:59 +0000
committerdrochner <drochner>2003-07-22 17:19:59 +0000
commita86f7b0b6352bb8812c18b6885552ea335a4081b (patch)
tree7b42a7230db76caa59a0f3caea8856346dde317c /x11
parentc625e917e3dc7ebb8ce8df36e7f8e766e921dbb7 (diff)
downloadpkgsrc-a86f7b0b6352bb8812c18b6885552ea335a4081b.tar.gz
Add the links and LDFLAGS to build PyQt properly.
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt3-sip/buildlink2.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11/py-qt3-sip/buildlink2.mk b/x11/py-qt3-sip/buildlink2.mk
index 39e1559a09b..cf0b5b2ba43 100644
--- a/x11/py-qt3-sip/buildlink2.mk
+++ b/x11/py-qt3-sip/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/07/15 16:40:45 drochner Exp $
+# $NetBSD: buildlink2.mk,v 1.2 2003/07/22 17:19:59 drochner Exp $
.if !defined(PY_QT3_SIP_BUILDLINK2_MK)
PY_QT3_SIP_BUILDLINK2_MK= # defined
@@ -12,14 +12,17 @@ BUILDLINK_PKGSRCDIR.pyqt3sip?= ../../x11/py-qt3-sip
EVAL_PREFIX+= BUILDLINK_PREFIX.pyqt3sip=pyqt3sip
BUILDLINK_PREFIX.pyqt3sip_DEFAULT= ${LOCALBASE}
-#BUILDLINK_FILES.pyqt3sip= ${PYINC}/sip.h
-#BUILDLINK_FILES.pyqt3sip+= ${PYINC}/sipQt.h
-#BUILDLINK_FILES.pyqt3sip+= ${PYSITELIB}/libsip.*
+BUILDLINK_FILES.pyqt3sip= ${PYINC}/sip.h
+BUILDLINK_FILES.pyqt3sip+= ${PYINC}/sipQt.h
+BUILDLINK_FILES.pyqt3sip+= ${PYSITELIB}/libsip.*
+
+SIPBIN= ${BUILDLINK_PREFIX.pyqt3sip}/bin/sip${PYVERSSUFFIX}
+
+BUILDLINK_LDFLAGS.pyqt3sip= -L${PREFIX}/${PYSITELIB} -Wl,-R${PREFIX}/${PYSITELIB}
+LDFLAGS+= -Wl,-R${PREFIX}/${PYSITELIB}
BUILDLINK_TARGETS+= pyqt3sip-buildlink
pyqt3sip-buildlink: _BUILDLINK_USE
-SIPBIN= ${BUILDLINK_PREFIX.pyqt3sip}/bin/sip${PYVERSSUFFIX}
-
.endif # PY_QT3_SIP_BUILDLINK2_MK