summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-BSD-Resource/Makefile5
-rw-r--r--devel/p5-Curses/Makefile8
-rw-r--r--devel/p5-Data-ShowTable/Makefile6
-rw-r--r--devel/p5-Date-Calc/Makefile5
-rw-r--r--devel/p5-Devel-DProf/Makefile6
-rw-r--r--devel/p5-Devel-Peek/Makefile5
-rw-r--r--devel/p5-File-Lock/Makefile5
-rw-r--r--devel/p5-File-Sync/Makefile6
-rw-r--r--devel/p5-Filter/Makefile9
-rw-r--r--devel/p5-IO-Stty/Makefile4
-rw-r--r--devel/p5-IO-Tty/Makefile4
-rw-r--r--devel/p5-Locale-gettext/Makefile5
-rw-r--r--devel/p5-ReadLine-Gnu/Makefile8
-rw-r--r--devel/p5-ReadLine-Gnu/files/patch-aa11
-rw-r--r--devel/p5-Storable/Makefile5
-rw-r--r--devel/p5-Term-ReadKey/Makefile5
-rw-r--r--devel/p5-Time-HiRes/Makefile4
17 files changed, 65 insertions, 36 deletions
diff --git a/devel/p5-BSD-Resource/Makefile b/devel/p5-BSD-Resource/Makefile
index 8e82d9b8506a..e1dfbbb93512 100644
--- a/devel/p5-BSD-Resource/Makefile
+++ b/devel/p5-BSD-Resource/Makefile
@@ -14,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= BSD::Resource.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Curses/Makefile b/devel/p5-Curses/Makefile
index d60905ed271c..93287a14be12 100644
--- a/devel/p5-Curses/Makefile
+++ b/devel/p5-Curses/Makefile
@@ -14,15 +14,17 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= Curses.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
pre-configure:
- @ ${LN} -s ${WRKSRC}/hints/c-freebsd.ncurses.h ${WRKSRC}/c-config.h
+ @${LN} -s ${WRKSRC}/hints/c-freebsd.ncurses.h \
+ ${WRKSRC}/c-config.h
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Data-ShowTable/Makefile b/devel/p5-Data-ShowTable/Makefile
index a1e9ce984346..b52fe51e64ac 100644
--- a/devel/p5-Data-ShowTable/Makefile
+++ b/devel/p5-Data-ShowTable/Makefile
@@ -14,14 +14,14 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
-CONFIGURE_ARGS= PREFIX=${PREFIX} INSTALLSCRIPT=${PREFIX}/bin INSTALLMAN1DIR=${PREFIX}/man/man1
+USE_PERL5= yes
MAN1= showtable.1
MAN3= Data::ShowTable.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ PREFIX="${PREFIX}"
.include <bsd.port.mk>
diff --git a/devel/p5-Date-Calc/Makefile b/devel/p5-Date-Calc/Makefile
index d599db5d9299..fb5b75ebdb00 100644
--- a/devel/p5-Date-Calc/Makefile
+++ b/devel/p5-Date-Calc/Makefile
@@ -14,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= bradh@uunet.co.za
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= Date::Calc.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Devel-DProf/Makefile b/devel/p5-Devel-DProf/Makefile
index 058dd1036b8c..50d96894f785 100644
--- a/devel/p5-Devel-DProf/Makefile
+++ b/devel/p5-Devel-DProf/Makefile
@@ -14,8 +14,7 @@ PKGNAMEPREFIX= p5-Devel-
MAINTAINER= jfitz@FreeBSD.org
-CONFIGURE_ARGS= PREFIX=${PREFIX}
-USE_PERL5= YES
+USE_PERL5= yes
MAN1PREFIX= ${PREFIX}
MAN1= dprofpp.1
@@ -23,6 +22,7 @@ MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Devel::DProf.3
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIGURE_ARGS}
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ PREFIX="${PREFIX}" CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Devel-Peek/Makefile b/devel/p5-Devel-Peek/Makefile
index 6456bc70378f..2b5b95649246 100644
--- a/devel/p5-Devel-Peek/Makefile
+++ b/devel/p5-Devel-Peek/Makefile
@@ -14,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Devel::Peek.3
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-File-Lock/Makefile b/devel/p5-File-Lock/Makefile
index 937b10b87b53..6d4b94809832 100644
--- a/devel/p5-File-Lock/Makefile
+++ b/devel/p5-File-Lock/Makefile
@@ -14,9 +14,10 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-File-Sync/Makefile b/devel/p5-File-Sync/Makefile
index abd8c7d5810e..b890cfa00bd7 100644
--- a/devel/p5-File-Sync/Makefile
+++ b/devel/p5-File-Sync/Makefile
@@ -14,13 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= File::Sync.3
-
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Filter/Makefile b/devel/p5-Filter/Makefile
index 83e25ccbd440..7c94c396b5af 100644
--- a/devel/p5-Filter/Makefile
+++ b/devel/p5-Filter/Makefile
@@ -14,7 +14,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Filter::Util::Call.3 Filter::Util::Exec.3 Filter::cpp.3 \
@@ -22,6 +22,11 @@ MAN3= Filter::Util::Call.3 Filter::Util::Exec.3 Filter::cpp.3 \
perlfilter.3
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+ @${PERL} -i -p \
+ -e 's/^(CC = ).*/$$1 ${CC}/;' \
+ -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \
+ `find ${WRKSRC} -name Makefile`
.include <bsd.port.mk>
diff --git a/devel/p5-IO-Stty/Makefile b/devel/p5-IO-Stty/Makefile
index 201be84b1cd2..4408037e348f 100644
--- a/devel/p5-IO-Stty/Makefile
+++ b/devel/p5-IO-Stty/Makefile
@@ -11,13 +11,13 @@ CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-.02
+DISTNAME= ${PORTNAME}-.${PORTVERSION:E}
MAINTAINER= will@FreeBSD.org
USE_PERL5= yes
do-configure:
- @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib)
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include <bsd.port.mk>
diff --git a/devel/p5-IO-Tty/Makefile b/devel/p5-IO-Tty/Makefile
index 852f818191c8..4521947f2310 100644
--- a/devel/p5-IO-Tty/Makefile
+++ b/devel/p5-IO-Tty/Makefile
@@ -20,6 +20,8 @@ MAN3= IO::Pty.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib)
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}" \
+ LDDLFLAGS=-shared LDFLAGS=-L/usr/lib
.include <bsd.port.mk>
diff --git a/devel/p5-Locale-gettext/Makefile b/devel/p5-Locale-gettext/Makefile
index 627fa05ab6c8..d6512cbaac36 100644
--- a/devel/p5-Locale-gettext/Makefile
+++ b/devel/p5-Locale-gettext/Makefile
@@ -14,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= dima@Chg.RU
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= Locale::gettext.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-ReadLine-Gnu/Makefile b/devel/p5-ReadLine-Gnu/Makefile
index 4b6e756c63f1..22346eb83dc3 100644
--- a/devel/p5-ReadLine-Gnu/Makefile
+++ b/devel/p5-ReadLine-Gnu/Makefile
@@ -11,11 +11,11 @@ CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Term
PKGNAMEPREFIX= p5-
-DISTNAME= Term-ReadLine-Gnu-${PORTVERSION}
+DISTNAME= Term-${PORTNAME}-${PORTVERSION}
MAINTAINER= mph@freebsd.org
-USE_PERL5= YES
+USE_PERL5= yes
MAN3= Term::ReadLine::Gnu.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
@@ -24,6 +24,8 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
# automatically. There is sometimes an old libreadline in /usr/local/lib
# and this module won't work with it.
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL LDDLFLAGS=-shared LDFLAGS=-L/usr/lib
+ @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}" \
+ LDDLFLAGS=-shared LDFLAGS=-L/usr/lib
.include <bsd.port.mk>
diff --git a/devel/p5-ReadLine-Gnu/files/patch-aa b/devel/p5-ReadLine-Gnu/files/patch-aa
new file mode 100644
index 000000000000..e117ab71ec84
--- /dev/null
+++ b/devel/p5-ReadLine-Gnu/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Mon Jun 12 23:43:42 2000
++++ Makefile.PL Mon Jun 12 23:45:21 2000
+@@ -76,7 +76,7 @@
+ close(F);
+
+ # compile it
+-$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $Config{ldflags} $libs";
++$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $libs";
+ print $comp_cmd, "\n";
+ system($comp_cmd);
+ if ($?) {
diff --git a/devel/p5-Storable/Makefile b/devel/p5-Storable/Makefile
index 08dc460067b8..7aeae15ff8d8 100644
--- a/devel/p5-Storable/Makefile
+++ b/devel/p5-Storable/Makefile
@@ -14,12 +14,13 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Storable.3
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Term-ReadKey/Makefile b/devel/p5-Term-ReadKey/Makefile
index 0a651a088356..9e0430fa6ce2 100644
--- a/devel/p5-Term-ReadKey/Makefile
+++ b/devel/p5-Term-ReadKey/Makefile
@@ -15,12 +15,13 @@ DISTNAME= TermReadKey-${PORTVERSION}
MAINTAINER= jfitz@FreeBSD.org
-USE_PERL5= YES
+USE_PERL5= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Term::ReadKey.3
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>
diff --git a/devel/p5-Time-HiRes/Makefile b/devel/p5-Time-HiRes/Makefile
index 334b1b3f50bf..0dd7bec1a46b 100644
--- a/devel/p5-Time-HiRes/Makefile
+++ b/devel/p5-Time-HiRes/Makefile
@@ -17,10 +17,10 @@ MAINTAINER= ports@FreeBSD.org
USE_PERL5= yes
MAN3= Time::HiRes.3
-
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
do-configure:
- @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
.include <bsd.port.mk>