SHARED_LIBS and USE_LIBTOOL

This commit is contained in:
steven 2006-01-03 17:16:18 +00:00
parent 45781ae737
commit 6e6a0d9cb9
4 changed files with 30 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.5 2005/08/17 16:10:03 espie Exp $
# $OpenBSD: Makefile,v 1.6 2006/01/03 17:16:18 steven Exp $
COMMENT= "BIND 8 compatible stub resolver library"
VERSION= 9.2.3
DISTNAME= bind-${VERSION}
PKGNAME= libbind-${VERSION}p0
PKGNAME= libbind-${VERSION}p1
SHARED_LIBS= bind 2.0
CATEGORIES= net
MASTER_SITES+= ftp://ftp.isc.org/isc/bind9/${VERSION}/ \
@ -30,6 +31,7 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-libtool \
${CONFIGURE_SHARED} \
--with-randomdev=/dev/arandom
USE_LIBTOOL= Yes
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_bind_Makefile_in,v 1.1 2006/01/03 17:16:18 steven Exp $
--- lib/bind/Makefile.in.orig Thu Oct 9 08:47:52 2003
+++ lib/bind/Makefile.in Tue Jan 3 18:05:57 2006
@@ -101,7 +101,7 @@ libbind.@SA@: ${OBJS}
libbind.la: ${OBJS}
${LIBTOOL} --mode=link \
${CC} ${ALL_CFLAGS} -o libbind.la -rpath ${libdir} \
- -version-info ${LIBINTERFACE}:${LIBREVISION}:${LIBAGE} \
+ $(LIBbind_LTVERSION) \
${OBJS} ${LIBS}
timestamp: libbind.@A@

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_bind_make_rules_in,v 1.1 2006/01/03 17:16:18 steven Exp $
--- lib/bind/make/rules.in.orig Tue Jan 3 18:00:30 2006
+++ lib/bind/make/rules.in Tue Jan 3 18:00:50 2006
@@ -115,7 +115,7 @@ ALL_CFLAGS = ${EXT_CFLAGS} ${CFLAGS} \
${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
.c.@O@:
- ${LIBTOOL} ${CC} ${ALL_CFLAGS} -c $<
+ ${LIBTOOL} --mode=compile ${CC} ${ALL_CFLAGS} -c $<
SHELL = @SHELL@
LIBTOOL = @LIBTOOL@

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/09/15 18:17:41 espie Exp $
@lib lib/libbind.so.2.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2006/01/03 17:16:18 steven Exp $
@lib lib/libbind.so.${LIBbind_VERSION}