aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-02-26 02:00:44 +0800
committerijliao <ijliao@FreeBSD.org>2001-02-26 02:00:44 +0800
commit81e9f0e86c0165dfac2430d3202c00fea7c03126 (patch)
treecf12376a5ee6c5ec315817f0ac2e008fa0889f8e
parent1f3b7ee8818cc0a99123f9a0bcb990bb20466d46 (diff)
downloadfreebsd-ports-gnome-81e9f0e86c0165dfac2430d3202c00fea7c03126.tar.gz
freebsd-ports-gnome-81e9f0e86c0165dfac2430d3202c00fea7c03126.tar.zst
freebsd-ports-gnome-81e9f0e86c0165dfac2430d3202c00fea7c03126.zip
fix install path on current
use system build-in PERL_CONFIGURE Submitted by: gugod@gugod.org
-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 04d79810b6db..983b4a85c643 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 000000000000..2830d0ff6d48
--- /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)') : ()),