aboutsummaryrefslogtreecommitdiffstats
path: root/math/GiNaC/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-08-16 22:42:45 +0800
committerMarcelo Araujo <araujo@FreeBSD.org>2009-08-16 22:42:45 +0800
commitb173b5857cd59d39b721d0272fcf0953854f97ef (patch)
tree6eeb4f9d31f87d8c00ccf702c01a2c9092d27227 /math/GiNaC/Makefile
parentb2d659ad331fe22e00cbdca36004cac486c10bd9 (diff)
downloadfreebsd-ports-gnome-b173b5857cd59d39b721d0272fcf0953854f97ef.tar.gz
freebsd-ports-gnome-b173b5857cd59d39b721d0272fcf0953854f97ef.tar.zst
freebsd-ports-gnome-b173b5857cd59d39b721d0272fcf0953854f97ef.zip
- Fix build on AMD64 based on the latest patch that was sent by
maintainer. - Bump PORTREVISION. PR: ports/137577 (based on) Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> Reported by: itetcu (QAT) Approved by: maintainer implicit
Diffstat (limited to 'math/GiNaC/Makefile')
-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>