aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt4pas
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2012-09-02 14:30:30 +0800
committeracm <acm@FreeBSD.org>2012-09-02 14:30:30 +0800
commitbb2f9709ecfecd7bd09032116f5137ee66ac9371 (patch)
tree07c3c1ff6a202aad03771e84ae299bce7d850b69 /x11-toolkits/qt4pas
parentd940aec248777a6d16cd1558f80d51c7961e5d4a (diff)
downloadfreebsd-ports-gnome-bb2f9709ecfecd7bd09032116f5137ee66ac9371.tar.gz
freebsd-ports-gnome-bb2f9709ecfecd7bd09032116f5137ee66ac9371.tar.zst
freebsd-ports-gnome-bb2f9709ecfecd7bd09032116f5137ee66ac9371.zip
- Remove BROKEN on i386
Reported by: erwin
Diffstat (limited to 'x11-toolkits/qt4pas')
-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}