aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/plain2/Makefile
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
committerkris <kris@FreeBSD.org>2007-05-27 11:03:31 +0800
commit3ee20a81fbe38cbba4000ad893e1ac81e953f2eb (patch)
tree965567cbb664ce2d1956915bd4daa13e8e6e1241 /japanese/plain2/Makefile
parent0ccd4067feff5266b8b5bc29943d9c4ca415e847 (diff)
downloadfreebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.gz
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.tar.zst
freebsd-ports-gnome-3ee20a81fbe38cbba4000ad893e1ac81e953f2eb.zip
BROKEN with gcc 4.2
Diffstat (limited to 'japanese/plain2/Makefile')
-rw-r--r--japanese/plain2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/plain2/Makefile b/japanese/plain2/Makefile
index 55d49f1c61e5..7d393f7bc4b8 100644
--- a/japanese/plain2/Makefile
+++ b/japanese/plain2/Makefile
@@ -25,6 +25,12 @@ BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}p${PORTVERSION:E}.orig/src
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DBSD -DKANJI -DPICTURE -DHTML -fwritable-strings"
ALL_TARGET= ${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Broken with gcc 4.2
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/lib/plain2|${DATADIR}|g' ${BUILD_WRKSRC}/plain2.h
@@ -34,4 +40,4 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lib/*.p2 ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>