aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi-perl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/editors/nvi-perl/Makefile b/editors/nvi-perl/Makefile
index 8db12192eb20..5831f99b4771 100644
--- a/editors/nvi-perl/Makefile
+++ b/editors/nvi-perl/Makefile
@@ -16,6 +16,12 @@ PKGNAMESUFFIX= -perl
MAINTAINER= ports@FreeBSD.org
COMMENT= A clone of vi/ex, with perl5 linked into
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500000
+BROKEN= "Does not compile"
+.endif
+
# can't say PATCH_DIST_STRIP=-p1 because contains files outside ${WRKSRC}
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p0
PATCH_ARGS= -d ${WRKSRC}/.. --forward --quiet -E -p0
@@ -32,4 +38,4 @@ MLINKS= pnvi.1 pnex.1 pnvi.1 pnview.1
post-patch:
${LN} -s /usr/include/sys/queue.h ${WRKSRC}/../include/sys/queue_dist.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>