aboutsummaryrefslogtreecommitdiff
path: root/japanese/plain2
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-05-27 03:03:31 +0000
commitb7ff7031ea6f07582ad920bef0ffd13ac1adcc44 (patch)
treefa95c4dec9e92efb4ff7df81d579129d7bc11807 /japanese/plain2
parentbd5f3dd41b37a452c489843e85d75cf94433bbc6 (diff)
downloadports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.tar.gz
ports-b7ff7031ea6f07582ad920bef0ffd13ac1adcc44.zip
BROKEN with gcc 4.2
Notes
Notes: svn path=/head/; revision=191950
Diffstat (limited to 'japanese/plain2')
-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>