From 84272fcd96dca848a4d3786a5a990b8b7180649f Mon Sep 17 00:00:00 2001 From: obrien Date: Mon, 24 Jul 2000 20:34:13 +0000 Subject: Make this compile on the Alpha -- this give us a fighting chance of building the FreeBSD release docs. --- textproc/jade/Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'textproc') 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 + +.if ${ARCH} == "alpha" +# This is to deal with the broken assumption that Vector::size_type, +# String::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///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 +.include -- cgit