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:
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
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue