aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-25 04:34:13 +0800
committerobrien <obrien@FreeBSD.org>2000-07-25 04:34:13 +0800
commit84272fcd96dca848a4d3786a5a990b8b7180649f (patch)
treeab968373090b0daea6893a0f5e975fc8ad9be7f8 /textproc
parente3134abe9f41f8e283f21ad3ef96c949ce658bbb (diff)
downloadfreebsd-ports-gnome-84272fcd96dca848a4d3786a5a990b8b7180649f.tar.gz
freebsd-ports-gnome-84272fcd96dca848a4d3786a5a990b8b7180649f.tar.zst
freebsd-ports-gnome-84272fcd96dca848a4d3786a5a990b8b7180649f.zip
Make this compile on the Alpha -- this give us a fighting chance of
building the FreeBSD release docs.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/jade/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/textproc/jade/Makefile b/textproc/jade/Makefile
index dfd642cd50ca..a6965716bcec 100644
--- a/textproc/jade/Makefile
+++ b/textproc/jade/Makefile
@@ -16,10 +16,6 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= jfieber@FreeBSD.org
-.if ${MACHINE_ARCH} == "alpha"
-BROKEN= nsgmls coredumps in static constructors
-.endif
-
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@@ -30,6 +26,16 @@ CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog
post-extract:
@${CHMOD} u+w ${WRKSRC}/configure
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+# 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:
+ ${PERL} -pi.size_t -e 's/<size_t>/<unsigned int>/g' `find ${WRKSRC} -type f`
+.endif
+
pre-install:
@find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
@@ -49,4 +55,4 @@ post-install:
${SETENV} LANG=C ${PERL} -ni -e 'print if !m|${PREFIX}/share/sgml/jade/catalog|;print "CATALOG \"${PREFIX}/share/sgml/jade/catalog\"\n" if eof;' ${PREFIX}/share/sgml/catalog; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>