Make lang/p5-Tcl to actually link with libtcl.

While at it, fix the port build on -current.

PR:		27705
This commit is contained in:
Anton Berezin 2001-08-20 15:48:58 +00:00
parent b32a45a634
commit f8ea58f62b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46548
2 changed files with 3 additions and 1 deletions

View file

@ -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}

View file

@ -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"
);