aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tk
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2001-03-01 06:39:18 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2001-03-01 06:39:18 +0000
commit68c2f99c6300bc38a37eb3a8292b562cc2d8952b (patch)
tree0898749bb767b388765958548da12c5b50b3825d /x11-toolkits/p5-Tk
parent031bd55ed2b892d722ffdba72b339be33879e047 (diff)
downloadports-68c2f99c6300bc38a37eb3a8292b562cc2d8952b.tar.gz
ports-68c2f99c6300bc38a37eb3a8292b562cc2d8952b.zip
Notes
Diffstat (limited to 'x11-toolkits/p5-Tk')
-rw-r--r--x11-toolkits/p5-Tk/Makefile6
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}/' \