ports/88307: devel/subversion looks for wrong LIB_DEPENDS during make
Michael C. Shultz
ringworm01 at gmail.com
Tue Nov 1 06:20:18 UTC 2005
>Number: 88307
>Category: ports
>Synopsis: devel/subversion looks for wrong LIB_DEPENDS during make
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 01 06:20:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Michael C. Shultz
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD ringworm.mechee.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Oct 17 13:51:14 PDT 2005 root at ringworm.mechee.com:/usr5/obj/usr5/src/sys/RINGWORM5 i386
>Description:
devel/subversion looks for wrong LIB_DEPENDS during make
here is the error:
===> subversion-1.2.3_1 depends on file: /usr/local/bin/libtool15 - found
===> subversion-1.2.3_1 depends on shared library: expat.5 - found
===> subversion-1.2.3_1 depends on shared library: neon.24 - found
===> subversion-1.2.3_1 depends on shared library: apr-1.0 - not found
and here is after appling the attached patch
===> subversion-1.2.3_1 depends on file: /usr/local/bin/libtool15 - found
===> subversion-1.2.3_1 depends on shared library: expat.5 - found
===> subversion-1.2.3_1 depends on shared library: neon.24 - found
===> subversion-1.2.3_1 depends on shared library: apr-1 - found
===> subversion-1.2.3_1 depends on shared library: intl - found
>How-To-Repeat:
Try to build subversion with and up to date devel/apr-svn installed,
it will try to build and install devel/apr-svn again wich will fail
because it is installed, so subversion's build also fails.
>Fix:
Have subversion look for the correct devel/apr-svn library
--- subversion.diff begins here ---
diff -ruN subversion/Makefile subversion-zz/Makefile
--- subversion/Makefile Mon Oct 31 21:59:43 2005
+++ subversion-zz/Makefile Mon Oct 31 22:00:16 2005
@@ -177,11 +177,11 @@
APR_CONFIG= apr-1-config
APU_CONFIG= apu-1-config
.if !defined(WITHOUT_BDB)
-LIB_DEPENDS+= apr-1.0:${PORTSDIR}/devel/apr-svn
+LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr-svn
APR_PORT= devel/apr-svn
OPT_NAME= APR_UTIL_WITH_BERKELEY_DB=yes
.else
-LIB_DEPENDS+= apr-1.0:${PORTSDIR}/devel/apr
+LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr
APR_PORT= devel/apr
.endif
.endif
--- subversion.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list