diff options
author | tobez <tobez@FreeBSD.org> | 2001-08-20 23:48:58 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-08-20 23:48:58 +0800 |
commit | c4800f8a41accae5560619bb8c70ab8aaf5019e2 (patch) | |
tree | 938fd9716445c8cddcf93f19d60e81bf2447cade /lang | |
parent | 02ca82fb98fdc586c96d8bc7e87212b713b6b164 (diff) | |
download | freebsd-ports-gnome-c4800f8a41accae5560619bb8c70ab8aaf5019e2.tar.gz freebsd-ports-gnome-c4800f8a41accae5560619bb8c70ab8aaf5019e2.tar.zst freebsd-ports-gnome-c4800f8a41accae5560619bb8c70ab8aaf5019e2.zip |
Make lang/p5-Tcl to actually link with libtcl.
While at it, fix the port build on -current.
PR: 27705
Diffstat (limited to 'lang')
-rw-r--r-- | lang/p5-Tcl/Makefile | 2 | ||||
-rw-r--r-- | lang/p5-Tcl/files/patch-aa | 2 |
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" ); |