aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-09-15 01:39:39 +0800
committerlofi <lofi@FreeBSD.org>2007-09-15 01:39:39 +0800
commit3824efba4f1fd6d4a95c6188fd19989a8b8a7fa1 (patch)
treea7f56a7997aaeb316ad7b55d62a96d6cf677e9d4 /devel
parent23d1f819e2f7b906b00a0a9005d8058c3ae37587 (diff)
downloadfreebsd-ports-graphics-3824efba4f1fd6d4a95c6188fd19989a8b8a7fa1.tar.gz
freebsd-ports-graphics-3824efba4f1fd6d4a95c6188fd19989a8b8a7fa1.tar.zst
freebsd-ports-graphics-3824efba4f1fd6d4a95c6188fd19989a8b8a7fa1.zip
Fix hardcoded reference to moc.
Submitted by: Danny Pansters <danny@ricin.com>
Diffstat (limited to 'devel')
-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 a8efef71ebb..f5b261d5b3d 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