aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Tcl
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-08-20 15:48:58 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-08-20 15:48:58 +0000
commitf8ea58f62b817fdb669ce9cdbf95f12365deac08 (patch)
treef0d84afeac57aff3cd1aa8c0ab29e448f37b2698 /lang/p5-Tcl
parentb32a45a63425c498466d4d226000be2300978c3c (diff)
downloadports-f8ea58f62b817fdb669ce9cdbf95f12365deac08.tar.gz
ports-f8ea58f62b817fdb669ce9cdbf95f12365deac08.zip
Make lang/p5-Tcl to actually link with libtcl.
While at it, fix the port build on -current. PR: 27705
Notes
Notes: svn path=/head/; revision=46548
Diffstat (limited to 'lang/p5-Tcl')
-rw-r--r--lang/p5-Tcl/Makefile2
-rw-r--r--lang/p5-Tcl/files/patch-aa2
2 files changed, 3 insertions, 1 deletions
diff --git a/lang/p5-Tcl/Makefile b/lang/p5-Tcl/Makefile
index fc2e25fd79d3..3d3a2dc32974 100644
--- a/lang/p5-Tcl/Makefile
+++ b/lang/p5-Tcl/Makefile
@@ -17,6 +17,8 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tcl82.1:${PORTSDIR}/lang/tcl82
PERL_CONFIGURE= yes
+CONFIGURE_ARGS+= POLLUTE=1
+CONFIGURE_ENV+= PREFIX=${PREFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
diff --git a/lang/p5-Tcl/files/patch-aa b/lang/p5-Tcl/files/patch-aa
index 8a764581870e..5707b5de5145 100644
--- a/lang/p5-Tcl/files/patch-aa
+++ b/lang/p5-Tcl/files/patch-aa
@@ -6,6 +6,6 @@
VERSION => "b2",
- LIBS => ["-ltcl -lm"],
- INC => "-I/usr/local/include -I/usr/include/tcl"
-+ LIBS => ["-L\${PREFIX}/lib -ltcl82 -lm"],
++ LIBS => ["-L$ENV{PREFIX}/lib -ltcl82 -lm"],
+ INC => "-I\${PREFIX}/include -I\${PREFIX}/include/tcl8.2"
);