diff options
Diffstat (limited to 'x11-toolkits/p5-Tk/Makefile')
-rw-r--r-- | x11-toolkits/p5-Tk/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile index c250a3cff793..412318e25e1d 100644 --- a/x11-toolkits/p5-Tk/Makefile +++ b/x11-toolkits/p5-Tk/Makefile @@ -16,7 +16,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org USE_XLIB= yes -USE_PERL5= yes +PERL_CONFIGURE= yes MAN1= ptked.1 \ ptksh.1 \ @@ -124,9 +124,7 @@ MAN3= Tk.3 \ Tk::widgets.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} -do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ - PREFIX=${PREFIX} CC="${CC}" CCFLAGS="${CFLAGS}" +post-configure: @${PERL} -i -p \ -e 's/^(CC = ).*/$$1 ${CC}/;' \ -e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \ |