summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Term-ANSIColor/Makefile5
-rw-r--r--devel/p5-Term-ANSIColor/files/patch-Makefile.PL11
2 files changed, 12 insertions, 4 deletions
diff --git a/devel/p5-Term-ANSIColor/Makefile b/devel/p5-Term-ANSIColor/Makefile
index 04d7981..983b4a8 100644
--- a/devel/p5-Term-ANSIColor/Makefile
+++ b/devel/p5-Term-ANSIColor/Makefile
@@ -16,12 +16,9 @@ DISTNAME= ANSIColor-${PORTVERSION}
MAINTAINER= dsh@vlink.ru
USE_PERL5= YES
-CONFIGURE_ARGS= PREFIX=${PREFIX}
+PERL_CONFIGURE= YES
MAN3= Term::ANSIColor.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
-
.include <bsd.port.mk>
diff --git a/devel/p5-Term-ANSIColor/files/patch-Makefile.PL b/devel/p5-Term-ANSIColor/files/patch-Makefile.PL
new file mode 100644
index 0000000..2830d0f
--- /dev/null
+++ b/devel/p5-Term-ANSIColor/files/patch-Makefile.PL
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Mon Feb 26 01:48:56 2001
++++ Makefile.PL Mon Feb 26 01:49:03 2001
+@@ -6,8 +6,6 @@
+ WriteMakefile (
+ NAME => 'Term::ANSIColor',
+ DISTNAME => 'ANSIColor',
+- ($] >= 5.006 ?
+- (INSTALLDIRS => 'perl') : ()),
+ ($] >= 5.005 ?
+ (ABSTRACT => 'Color output using ANSI escape sequences',
+ AUTHOR => 'Russ Allbery (rra@stanford.edu)') : ()),
OpenPOWER on IntegriCloud