aboutsummaryrefslogtreecommitdiff
path: root/textproc/jade
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/jade')
-rw-r--r--textproc/jade/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
index db64b23b5400..d1ceef044768 100644
--- a/textproc/jade/Makefile
+++ b/textproc/jade/Makefile
@@ -27,13 +27,8 @@ post-extract:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha"
-USE_REINPLACE= yes
-# This is to deal with the broken assumption that Vector<T>::size_type,
-# String<T>::size_type is size_t as mentioned in doc/ideas.htm. At least
-# I believe this is what is preventing jade from linking on the Alpha.
-post-patch:
- ${REINPLACE_CMD} -e 's/<size_t>/<unsigned int>/g' `find ${WRKSRC} -type f`
+.if ${ARCH} == "alpha" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
+CXXFLAGS:= ${CXXFLAGS} -DSIZEOF_SIZE_T=8
.endif
pre-install: