diff --git a/textproc/kdoc/Makefile b/textproc/kdoc/Makefile index 810e7316bf4f..abea9b5e1458 100644 --- a/textproc/kdoc/Makefile +++ b/textproc/kdoc/Makefile @@ -1,24 +1,29 @@ # New ports collection makefile for: kdoc # Date created: 4 March 2001 # Whom: Dmitry Sivachenko # # $FreeBSD$ # PORTNAME= kdoc PORTVERSION= 2.1 CATEGORIES= textproc kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src MAINTAINER= demon@FreeBSD.org +.include +.if ${OSVERSION} < 500007 +BROKEN= "Requires Perl version 5.6.0" +.endif + USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes 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 +.include diff --git a/textproc/kdoc/files/patch-findperl b/textproc/kdoc/files/patch-findperl deleted file mode 100644 index 4d9cff936faf..000000000000 --- 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