From 8c70ccb85d8872ff41b1a471f3f91a7fa737802d Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 1 Sep 2013 15:49:52 +0000 Subject: [PATCH] - 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: --- www/httrack/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/httrack/Makefile b/www/httrack/Makefile index 5c37b02dd506..4bb6b8bdaf72 100644 --- a/www/httrack/Makefile +++ b/www/httrack/Makefile @@ -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