- build shared lib too

"sure" fgsch@, "fine with me" sthen@
This commit is contained in:
ajacoutot 2008-04-23 09:57:04 +00:00
parent 03a107191f
commit bf502b46ed
3 changed files with 11 additions and 3 deletions

View File

@ -1,12 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/22 12:19:58 fgsch Exp $
# $OpenBSD: Makefile,v 1.2 2008/04/23 09:57:04 ajacoutot Exp $
COMMENT = asynchronous resolver library
V = 1.5.1
DISTNAME = c-ares-${V}
PKGNAME = libcares-${V}
PKGNAME = libcares-${V}p0
CATEGORIES = net devel
SHARED_LIBS = cares 0.0 # .2.0
HOMEPAGE = http://daniel.haxx.se/projects/c-ares/
# MIT
@ -17,6 +19,9 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = ${CONFIGURE_SHARED}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2008/04/23 09:57:04 ajacoutot Exp $
@lib lib/libcares.so.${LIBcares_VERSION}

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/22 12:19:58 fgsch Exp $
@comment $OpenBSD: PLIST,v 1.2 2008/04/23 09:57:04 ajacoutot Exp $
%%SHARED%%
include/ares.h
include/ares_dns.h
include/ares_version.h