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