1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

- Fix USE_LDCONFIG: remove unnecessary ${PREFIX}/lib which affects lib-depends: output for ports with new LIB_DEPENDS format

Here is an example
% cd /usr/ports/science/udunits
% make build
===>   udunits-2.1.24_1 depends on package: libtool>=2.4 - found
===>   udunits-2.1.24_1 depends on shared library: libexpat.so - found
 - found

It was caused by duplicate /usr/local/lib entry in $$dirs in bsd.port.mk lib-depends:
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-09-01 15:49:52 +00:00
parent f1bf97d360
commit 8c70ccb85d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325868

View File

@ -20,7 +20,7 @@ CONFIGURE_ARGS= --docdir="${DOCSDIR}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_AUTOTOOLS= libtool
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
USES= gmake iconv
MAN1= htsserver.1 httrack.1 proxytrack.1 webhttrack.1