SHARED_LIBS and USE_LIBTOOL

some tips from naddy@
This commit is contained in:
steven 2005-12-30 21:48:20 +00:00
parent 93e6e8d0e3
commit 94299b33dc
3 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.15 2004/11/28 13:52:53 alek Exp $ # $OpenBSD: Makefile,v 1.16 2005/12/30 21:48:20 steven Exp $
COMMENT= "HTTP and WebDAV client library, with C interface" COMMENT= "HTTP and WebDAV client library, with C interface"
VERSION= 0.24.7 VERSION= 0.24.7
DISTNAME= neon-${VERSION} DISTNAME= neon-${VERSION}
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= neon 24.7
CATEGORIES= net www devel CATEGORIES= net www devel
HOMEPAGE= http://www.webdav.org/neon/ HOMEPAGE= http://www.webdav.org/neon/
@ -20,6 +22,7 @@ WANTLIB= crypto m ssl z
MASTER_SITES= ${HOMEPAGE} MASTER_SITES= ${HOMEPAGE}
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --with-ssl --with-xml2 CONFIGURE_ARGS+= ${CONFIGURE_SHARED} --with-ssl --with-xml2

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2005/12/30 21:48:20 steven Exp $
--- configure.orig Mon Jul 5 20:35:21 2004
+++ configure Fri Dec 30 22:37:35 2005
@@ -8226,7 +8226,7 @@ _ACEOF
# Pass the interface version on to libtool when linking libneon.la
-NEON_LINK_FLAGS="-version-info ${NEON_INTERFACE_VERSION}"
+NEON_LINK_FLAGS=${LIBneon_LTVERSION}
# Checks to compile test suite

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.13 2004/11/28 13:52:53 alek Exp $ @comment $OpenBSD: PFRAG.shared,v 1.14 2005/12/30 21:48:20 steven Exp $
@lib lib/libneon.so.24.7 @lib lib/libneon.so.${LIBneon_VERSION}