summaryrefslogtreecommitdiff
path: root/devel/p5-ReadLine-Gnu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-ReadLine-Gnu/Makefile')
-rw-r--r--devel/p5-ReadLine-Gnu/Makefile8
1 files changed, 5 insertions, 3 deletions
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>