Build and install the shared c-ares library too, not just the static one.

This should help the build of libcurl on amd64, what with -fPIC and such.

Reported by:	girgen
This commit is contained in:
Peter Pentchev 2006-11-07 17:05:51 +00:00
parent 10254a2d7c
commit 251a42417a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176727
2 changed files with 10 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= c-ares
PORTVERSION= 1.3.1
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://daniel.haxx.se/projects/c-ares/
@ -15,10 +16,15 @@ COMMENT= An asynchronous DNS resolver library
CONFLICTS= ares-1.*
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
SHLIB_VER= 1
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --mandir=${PREFIX}/man
CONFIGURE_ARGS= --mandir=${PREFIX}/man --enable-shared
MAN3= ares_cancel.3 \
ares_destroy.3 \

View File

@ -2,3 +2,5 @@ include/ares.h
include/ares_version.h
lib/libcares.a
lib/libcares.la
lib/libcares.so
lib/libcares.so.%%SHLIB_VER%%