aboutsummaryrefslogtreecommitdiff
path: root/devel/dbus-qt4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-09-14 17:39:39 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-09-14 17:39:39 +0000
commit1de88396d132810adf786db430083fb414e2f543 (patch)
tree5a7b9aca27234231fd29c5df46c5d4553803e770 /devel/dbus-qt4
parente38a43f4af03d08c2d662e3e421590aa28db93fb (diff)
downloadports-1de88396d132810adf786db430083fb414e2f543.tar.gz
ports-1de88396d132810adf786db430083fb414e2f543.zip
Fix hardcoded reference to moc.
Submitted by: Danny Pansters <danny@ricin.com>
Notes
Notes: svn path=/head/; revision=199493
Diffstat (limited to 'devel/dbus-qt4')
-rw-r--r--devel/dbus-qt4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/dbus-qt4/Makefile b/devel/dbus-qt4/Makefile
index a8efef71ebb1..f5b261d5b3da 100644
--- a/devel/dbus-qt4/Makefile
+++ b/devel/dbus-qt4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= dbus
PORTVERSION= ${QT4_VERSION}
-PORTREVISION=0
+PORTREVISION= 1
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -50,6 +50,8 @@ pre-configure:
${WRKSRC}/tools/qdbus/qdbus.pro \
${WRKSRC}/tools/qdbuscpp2xml/qdbuscpp2xml.pro \
${WRKSRC}/tools/qdbusxml2cpp/qdbusxml2cpp.pro
+ ${REINPLACE_CMD} -e 's|"/moc"|"/moc-qt4"|' \
+ ${WRKSRC}/tools/qdbuscpp2xml/qdbuscpp2xml.cpp
${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/lib|g' \
-e 's|targ_headers.path.*|targ_headers.path=${PREFIX}/include/$$$$TARGET|g' \
${WRKSRC}/src/src.pro