ports/178688: Generalize c-ares library dependency in ftp/curl port's Makefile
Matthew X. Economou
xenophon+freebsd at irtnog.org
Thu May 16 14:00:02 UTC 2013
>Number: 178688
>Category: ports
>Synopsis: Generalize c-ares library dependency in ftp/curl port's Makefile
>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: Thu May 16 14:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Matthew X. Economou
>Release: 9.1-RELEASE
>Organization:
IRTNOG
>Environment:
FreeBSD masip123bsddev.irtnog.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The ftp/curl port can be configured to use the c-ares asynchronous name resolution library. If this library dependency is enabled, the ftp/curl port currently looks for a specific version of the c-ares shared library, version 2. However, the current shared library version is 3 (/usr/local/lib/libcares.so.3). curl builds against the new library without any issues, and the resulting binary works in my limited testing. I suggest removing the library version requirement (see attached patch).
>How-To-Repeat:
cd /usr/ports/ftp/curl
make BATCH=yes WITH_CARES=yes
>Fix:
Patch attached with submission follows:
Index: ftp/curl/Makefile
===================================================================
--- ftp/curl/Makefile (revision 318312)
+++ ftp/curl/Makefile (working copy)
@@ -106,7 +106,7 @@
.endif
.if ${PORT_OPTIONS:MCARES}
-LIB_DEPENDS+= cares.2:${PORTSDIR}/dns/c-ares
+LIB_DEPENDS+= cares:${PORTSDIR}/dns/c-ares
CONFIGURE_ARGS+= --enable-ares=${LOCALBASE}
.else
CONFIGURE_ARGS+= --disable-ares
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list