Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 22:11:44 -0800 (PST)
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lev@FreeBSD.org
Subject:   ports/88307: devel/subversion looks for wrong LIB_DEPENDS during make
Message-ID:  <20051101061144.D1EE4130C22@ringworm.mechee.com>
Resent-Message-ID: <200511010620.jA16KHZh019632@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051101061144.D1EE4130C22>