summaryrefslogtreecommitdiff
path: root/devel/linguist
diff options
context:
space:
mode:
Diffstat (limited to 'devel/linguist')
-rw-r--r--devel/linguist/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/linguist/Makefile b/devel/linguist/Makefile
index 028dc1f64ac9..86d14eb70edc 100644
--- a/devel/linguist/Makefile
+++ b/devel/linguist/Makefile
@@ -11,7 +11,7 @@ CATEGORIES= devel
MASTER_SITES= ftp://ftp.trolltech.com/qt/pre-releases/
DISTNAME= ${PORTNAME}-pre
-MAINTAINER= sobomax@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
@@ -33,6 +33,10 @@ MAKE_ARGS= -e
CFLAGS+= -O0
.endif
+pre-configure:
+ @find ${WRKSRC} -name '*.pro' | xargs ${PERL} -pi -e \
+ 's/(^CONFIG.*)/\1 thread/'
+
post-configure:
@${PERL} -pi -e 's|\$\(SUBDIRS\):.*tmake_all|\$\(SUBDIRS\):|' \
${WRKSRC}/Makefile