summaryrefslogtreecommitdiff
path: root/x11/py-qt4
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-05-11 11:12:41 +0000
committerjoerg <joerg@pkgsrc.org>2012-05-11 11:12:41 +0000
commit765199ec4ab86838c4dfa1ec85e4c866a8375ff1 (patch)
treecb7f997992afbd4a8ec2115ed3a2a32d428f5917 /x11/py-qt4
parent0131de3226915084ac38331990bbeee334f8161d (diff)
downloadpkgsrc-765199ec4ab86838c4dfa1ec85e4c866a8375ff1.tar.gz
Kill a bunch of work directory references in rpath. Bump revision.
Diffstat (limited to 'x11/py-qt4')
-rw-r--r--x11/py-qt4/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile
index 1a3f5d067e2..b3f1bf875cb 100644
--- a/x11/py-qt4/Makefile
+++ b/x11/py-qt4/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2012/04/29 04:18:48 dholland Exp $
+# $NetBSD: Makefile,v 1.47 2012/05/11 11:12:41 joerg Exp $
PKGNAME= ${PYPKGPREFIX}-qt4-${PYQT_VERSION}
PYQT_VERSION= 4.9.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11 python
MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/PyQt4/
@@ -28,6 +28,12 @@ INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
PY_PATCHPLIST= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
+BUILDLINK_TRANSFORM+= rm:-Wl,-R${WRKSRC}/qpy/QtCore
+BUILDLINK_TRANSFORM+= rm:-Wl,-R${WRKSRC}/qpy/QtDeclarative
+BUILDLINK_TRANSFORM+= rm:-Wl,-R${WRKSRC}/qpy/QtDesigner
+BUILDLINK_TRANSFORM+= rm:-Wl,-R${WRKSRC}/qpy/QtGui
+BUILDLINK_TRANSFORM+= rm:-Wl,-R${WRKSRC}/qpy/QtOpenGL
+
# This is a hack. CPPFLAGS and CXXFLAGS from the environment are ignored,
# however, so I don't know a better way to fix it.
SUBST_CLASSES+= PIC