aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-09-02 06:30:30 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2012-09-02 06:30:30 +0000
commit10040bda87b30ba253d2db6690efa6c6836bc018 (patch)
tree07c3c1ff6a202aad03771e84ae299bce7d850b69 /x11-toolkits
parentba727a53e7078d94094805d906ca0367a795fa22 (diff)
downloadports-10040bda87b30ba253d2db6690efa6c6836bc018.tar.gz
ports-10040bda87b30ba253d2db6690efa6c6836bc018.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt4pas/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-toolkits/qt4pas/Makefile b/x11-toolkits/qt4pas/Makefile
index 0e7a2e588b36..20097435ad55 100644
--- a/x11-toolkits/qt4pas/Makefile
+++ b/x11-toolkits/qt4pas/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qt4pas
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^/V/}_Qt${QT4_VER_MIN}
@@ -22,14 +23,15 @@ QT4_VER_MIN= 4.5.3
.include <bsd.port.pre.mk>
-.if ${ARCH} == i386
-BROKEN= does not build
-.endif
-
.if ${QT4_VERSION:S/.//g} < ${QT4_VER_MIN:S/.//g}
IGNORE= Please update your current qt4 version to ${QT4_VER_MIN}
.endif
+post-patch:
+.if ${OSVERSION} >= 1000000
+ @${REINPLACE_CMD} -e 's|-mincoming-stack-boundary=2||g' ${WRKSRC}/Qt4Pas.pro
+.endif
+
pre-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}