aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2003-02-02 16:23:51 +0800
committerkuriyama <kuriyama@FreeBSD.org>2003-02-02 16:23:51 +0800
commit77f5eeba2aaf8c80576dd30f564c46a07035e7de (patch)
tree29e86347b1cff5281b3c9e542851ce02b291717b /textproc
parent1570f24bad16419fb12308261c6a879b41f8aa5f (diff)
downloadfreebsd-ports-gnome-77f5eeba2aaf8c80576dd30f564c46a07035e7de.tar.gz
freebsd-ports-gnome-77f5eeba2aaf8c80576dd30f564c46a07035e7de.tar.zst
freebsd-ports-gnome-77f5eeba2aaf8c80576dd30f564c46a07035e7de.zip
Unbreak on sparc64, also will fix ia64.
Replace obrien's fix with this. This will cover where sizeof(size_t)==8 situation. Build tested on: panther and beast
Diffstat (limited to 'textproc')
-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: