summaryrefslogtreecommitdiff
path: root/editors/nvi-m17n
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-08-01 12:01:22 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-08-01 12:01:22 +0000
commita13271bce442568622967f7aefe31a27f8c6c562 (patch)
tree266b2e475f3a712cdc7d006210111aebfa44c5f2 /editors/nvi-m17n
parentAdd camlp4, a preprocessor for ocaml. (diff)
Fix breakage on RELENG_4 and -current.
Inspired by: gehenna Approved by: itojun (maintainer)
Notes
Notes: svn path=/head/; revision=31204
Diffstat (limited to 'editors/nvi-m17n')
-rw-r--r--editors/nvi-m17n/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index ca95e14491d6..9bab417bbda1 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -27,10 +27,17 @@ PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS= --enable-multibyte --program-prefix=n
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400000
+post-extract:
+ ${RM} -f ${WRKSRC}/../include/sys/queue.h
+.endif
+
post-install:
@${CP} ${WRKSRC}/../docs.m17n/README.english \
${PREFIX}/share/vi/
@${CP} ${WRKSRC}/../docs.m17n/README.japanese \
${PREFIX}/share/vi/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>