d07560dbb5
to QTDIR/lib as qmake builds libtool archives that reference themselves as coming from QTDIR/lib. XXX - This really should be fixed in qmake.conf or something and not in each package but for now it fixes 5 broken packages (these + devel/eric3)
28 lines
851 B
Makefile
28 lines
851 B
Makefile
# $NetBSD: buildlink2.mk,v 1.3 2003/08/19 04:35:05 jmc Exp $
|
|
|
|
.if !defined(PY_QT3_SIP_BUILDLINK2_MK)
|
|
PY_QT3_SIP_BUILDLINK2_MK= # defined
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
BUILDLINK_PACKAGES+= pyqt3sip
|
|
BUILDLINK_DEPENDS.pyqt3sip?= ${PYPKGPREFIX}-qt3-sip>=3.7nb1
|
|
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.*
|
|
|
|
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
|
|
|
|
.endif # PY_QT3_SIP_BUILDLINK2_MK
|