aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/GiNaC/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index 3c8abf9f62ad..fd6c6eab2840 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -8,6 +8,7 @@
PORTNAME= GiNaC
PORTVERSION= 1.5.3
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
@@ -40,4 +41,8 @@ BROKEN= Does not build on alpha
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/configure
+.if ${ARCH} != "i386"
+ @${REINPLACE_CMD} -e 's|unsigned|size_t|g' ${WRKSRC}/ginac/parser/parser.cpp
+.endif
+
.include <bsd.port.post.mk>