aboutsummaryrefslogtreecommitdiff
path: root/x11/qt4-opengl/Makefile
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-05-01 15:14:48 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-05-01 15:14:48 +0000
commitc2719a1924136463efddc6103027bb026483084e (patch)
treed7f3c6497115a54824b91329ba3414018f514740 /x11/qt4-opengl/Makefile
parent46b30935e07d32449f4870302d424f29749b042f (diff)
downloadports-c2719a1924136463efddc6103027bb026483084e.tar.gz
ports-c2719a1924136463efddc6103027bb026483084e.zip
Notes
Diffstat (limited to 'x11/qt4-opengl/Makefile')
-rw-r--r--x11/qt4-opengl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/qt4-opengl/Makefile b/x11/qt4-opengl/Makefile
index 8438b5580b9d..37028a719bb7 100644
--- a/x11/qt4-opengl/Makefile
+++ b/x11/qt4-opengl/Makefile
@@ -8,7 +8,7 @@
PORTNAME= opengl
PORTVERSION= 4.2.3
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES?= x11
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -73,5 +73,9 @@ pre-configure:
post-configure:
${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtOpenGL.pc|${PREFIX}/libdata/pkgconfig/QtOpenGL.pc|g' \
${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
+ -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
+ -E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \
+ ${WRKSRC}/../../lib/*Qt*
.include <bsd.port.post.mk>