summaryrefslogtreecommitdiff
path: root/japanese/plain2/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-16 01:31:58 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-16 01:31:58 +0000
commitefd3830f38faa0eca31dabfbd2ce708b6c45263a (patch)
tree21a9b604b8e8633c1a971091f247a7384581af5e /japanese/plain2/Makefile
parentForced commit to add rationale. (Note: this port was previously (diff)
BROKEN on 5.x: does not compile
Notes
Notes: svn path=/head/; revision=91379
Diffstat (limited to '')
-rw-r--r--japanese/plain2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/plain2/Makefile b/japanese/plain2/Makefile
index 841037f6ba73..711e4927a166 100644
--- a/japanese/plain2/Makefile
+++ b/japanese/plain2/Makefile
@@ -26,6 +26,12 @@ USE_REINPLACE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DBSD -DKANJI -DPICTURE -DHTML -fwritable-strings"
ALL_TARGET= ${PORTNAME}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN= "Does not compile"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/lib/plain2|${DATADIR}|g' ${BUILD_WRKSRC}/plain2.h
@@ -35,4 +41,4 @@ do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lib/*.p2 ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>