diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-02-02 08:23:51 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-02-02 08:23:51 +0000 |
commit | cacde92edacd22f3217f78452d4fed07610c1d3d (patch) | |
tree | c98028afe3536516b2750a3ed42363761429c974 | |
parent | Fix core-dump-problem on 5.0 or later. (diff) |
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
-rw-r--r-- | textproc/jade/Makefile | 9 |
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: |