summaryrefslogtreecommitdiff
path: root/textproc/jade
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-07-24 20:34:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-07-24 20:34:13 +0000
commit2955cf205d102f711aa05d622ed85d09b9cfea4e (patch)
tree99a0b4a9c79eb55597ac06e3b58ab433a945f7cb /textproc/jade
parentAdd gtk-theme-switch - an command line utility to switch GTK+ themes. (diff)
Make this compile on the Alpha -- this give us a fighting chance of
building the FreeBSD release docs.
Notes
Notes: svn path=/head/; revision=31002
Diffstat (limited to 'textproc/jade')
-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>