summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-03-05 11:35:48 +0000
committerdemon <demon@FreeBSD.org>2001-03-05 11:35:48 +0000
commit2e4cbb77eaf931b2aeeb8903fdaff324586a6c30 (patch)
tree254cc7207182a6a92b5f883748e20ce651636eb4 /textproc
parent579a541f29bdc832ebede9bfb77ba6346ea7fc86 (diff)
downloadFreeBSD-ports-2e4cbb77eaf931b2aeeb8903fdaff324586a6c30.zip
FreeBSD-ports-2e4cbb77eaf931b2aeeb8903fdaff324586a6c30.tar.gz
Mark BROKEN for OSVERSION < 500007.
Requires perl version 5.6.0.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/kdoc/Makefile7
-rw-r--r--textproc/kdoc/files/patch-findperl11
2 files changed, 6 insertions, 12 deletions
diff --git a/textproc/kdoc/Makefile b/textproc/kdoc/Makefile
index 810e731..abea9b5 100644
--- a/textproc/kdoc/Makefile
+++ b/textproc/kdoc/Makefile
@@ -13,6 +13,11 @@ MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src
MAINTAINER= demon@FreeBSD.org
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500007
+BROKEN= "Requires Perl version 5.6.0"
+.endif
+
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -21,4 +26,4 @@ MAN1= kdoc.1 qt2kdoc.1 makekdedoc.1
pre-configure:
${PERL} -pi -e "s#share/kdoc#lib/perl5/site_perl/${PERL_VER}#" ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/textproc/kdoc/files/patch-findperl b/textproc/kdoc/files/patch-findperl
deleted file mode 100644
index 4d9cff9..0000000
--- a/textproc/kdoc/files/patch-findperl
+++ /dev/null
@@ -1,11 +0,0 @@
---- findperl.orig Sun Mar 4 00:24:52 2001
-+++ findperl Sun Mar 4 00:25:00 2001
-@@ -6,7 +6,7 @@
- do
- if [ -x $p/perl ]
- then
-- if $p/perl -e 'require 5.6.0;'
-+ if $p/perl -e 'require 5.005;'
- then
- echo $p/perl > perlbin
- exit 0
OpenPOWER on IntegriCloud