SHARED_LIBS, USE_LIBTOOL

This commit is contained in:
sturm 2005-12-26 19:15:21 +00:00
parent e23c4dd432
commit 835df42314
20 changed files with 140 additions and 108 deletions

View File

@ -1,8 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2005/05/22 01:26:10 jolan Exp $
# $OpenBSD: Makefile,v 1.7 2005/12/26 19:15:21 sturm Exp $
COMMENT= "library to create disk based hashtables"
DISTNAME= dbh-1.0.24
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases
SHARED_LIBS= dbh 1.0
MODGNU_SHARED_LIBS=dbh '-export-dynamic'
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dbh/}
HOMEPAGE= http://dbh.sourceforge.net/
@ -15,6 +19,8 @@ PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-ltmain_sh,v 1.3 2005/02/19 23:56:18 jolan Exp $
--- ltmain.sh.orig Sun Jan 30 08:06:11 2005
+++ ltmain.sh Sat Feb 19 17:50:05 2005
@@ -5600,8 +5600,8 @@ relink_command=\"$relink_command\""
for linkname
do
if test "$linkname" != "$realname"; then
- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ $show "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
+ $run eval "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
fi
done
fi

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/08/10 08:36:46 espie Exp $
@lib lib/libdbh.so.1.0
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/26 19:15:21 sturm Exp $
@lib lib/libdbh.so.${LIBdbh_VERSION}

View File

@ -1,9 +1,28 @@
# $OpenBSD: Makefile,v 1.7 2005/09/08 04:46:25 marcm Exp $
# $OpenBSD: Makefile,v 1.8 2005/12/26 19:15:21 sturm Exp $
COMMENT= "data backends for the Evolution mail/PIM suite"
DISTNAME= evolution-data-server-1.2.3
R= 1.2
DISTNAME= evolution-data-server-$R.3
CATEGORIES= databases
SHARED_LIBS= camel-$R 0.0 \
camel-provider-$R 4.3 \
ebook-$R 4.2 \
ecal-$R 3.1 \
edata-book-$R 3.1 \
edata-cal-$R 3.2 \
edataserver-$R 4.1 \
edataserverui-$R 5.3 \
egroupwise-$R 5.1
MODGNU_SHARED_LIBS= camel-$R '' \
camel-provider-$R '' \
ebook-$R '' \
ecal-$R '' \
edata-book-$R '' \
edata-cal-$R '' \
edataserver-$R '' \
edataserverui-$R '' \
egroupwise-$R ''
HOMEPAGE= http://www.gnome.org

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.6 2005/09/08 04:46:25 marcm Exp $
@comment $OpenBSD: PFRAG.shared,v 1.7 2005/12/26 19:15:21 sturm Exp $
lib/evolution-data-server-1.2/camel-providers/libcamelgroupwise.so
lib/evolution-data-server-1.2/camel-providers/libcamelimap.so
lib/evolution-data-server-1.2/camel-providers/libcamelimap4.so
@ -9,18 +9,19 @@ lib/evolution-data-server-1.2/camel-providers/libcamelsendmail.so
lib/evolution-data-server-1.2/camel-providers/libcamelsmtp.so
lib/evolution-data-server-1.2/extensions/libebookbackendfile.so
lib/evolution-data-server-1.2/extensions/libebookbackendgroupwise.so
@comment lib/evolution-data-server-1.2/extensions/libebookbackendldap.so
lib/evolution-data-server-1.2/extensions/libebookbackendvcf.so
lib/evolution-data-server-1.2/extensions/libecalbackendcontacts.so
lib/evolution-data-server-1.2/extensions/libecalbackendfile.so
lib/evolution-data-server-1.2/extensions/libecalbackendgroupwise.so
lib/evolution-data-server-1.2/extensions/libecalbackendhttp.so
lib/evolution-data-server-1.2/extensions/libecalbackendweather.so
@lib lib/libcamel-1.2.so.0.0
@lib lib/libcamel-provider-1.2.so.4.3
@lib lib/libebook-1.2.so.4.2
@lib lib/libecal-1.2.so.3.1
@lib lib/libedata-book-1.2.so.3.1
@lib lib/libedata-cal-1.2.so.3.2
@lib lib/libedataserver-1.2.so.4.1
@lib lib/libedataserverui-1.2.so.5.3
@lib lib/libegroupwise-1.2.so.5.1
@lib lib/libcamel-1.2.so.${LIBcamel-1.2_VERSION}
@lib lib/libcamel-provider-1.2.so.${LIBcamel-provider-1.2_VERSION}
@lib lib/libebook-1.2.so.${LIBebook-1.2_VERSION}
@lib lib/libecal-1.2.so.${LIBecal-1.2_VERSION}
@lib lib/libedata-book-1.2.so.${LIBedata-book-1.2_VERSION}
@lib lib/libedata-cal-1.2.so.${LIBedata-cal-1.2_VERSION}
@lib lib/libedataserver-1.2.so.${LIBedataserver-1.2_VERSION}
@lib lib/libedataserverui-1.2.so.${LIBedataserverui-1.2_VERSION}
@lib lib/libegroupwise-1.2.so.${LIBegroupwise-1.2_VERSION}

View File

@ -1,8 +1,20 @@
# $OpenBSD: Makefile,v 1.25 2005/06/21 15:50:51 jcs Exp $
# $OpenBSD: Makefile,v 1.26 2005/12/26 19:15:22 sturm Exp $
V= 0.63
DISTNAME= freetds-$V
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases
SHARED_LIBS= ct 3.0 \
sybdb 5.0 \
tds 4.0 \
tdssrv 2.0
MODGNU_SHARED_LIBS=ct '' \
sybdb '' \
tds '' \
tdssrv ''
LIBct_ALIAS= realct
LIBsybdb_ALIAS= realsybdb
LIBtds_ALIAS= realtds
# GPL
PERMIT_PACKAGE_CDROM= Yes
@ -21,6 +33,8 @@ MAINTAINER= joshua stein <jcs@openbsd.org>
FLAVORS= msdblib
FLAVOR?=
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.4 2003/05/18 16:57:18 jcs Exp $
--- Makefile.in.orig Sun May 18 11:18:36 2003
+++ Makefile.in Sun May 18 11:18:45 2003
@@ -538,13 +538,6 @@
$OpenBSD: patch-Makefile_in,v 1.5 2005/12/26 19:15:22 sturm Exp $
--- Makefile.in.orig Wed Mar 30 02:51:55 2005
+++ Makefile.in Mon Dec 26 13:16:21 2005
@@ -576,13 +576,6 @@ uninstall-info: uninstall-info-recursive
install-data-local:
@ -13,5 +13,5 @@ $OpenBSD: patch-Makefile_in,v 1.4 2003/05/18 16:57:18 jcs Exp $
- $(INSTALL_DATA) $(srcdir)/locales.conf $(ETC)/locales.conf; \
- fi
# for default we do not uninstall configuration (they can be changed)
# do not uninstall configuration files (they may have been changed)
@DISTCHECK_BUILD_TRUE@uninstall-local:

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-odbc_unittests_Makefile_in,v 1.2 2003/05/18 16:57:18 jcs Exp $
--- src/odbc/unittests/Makefile.in.orig Sun May 18 11:24:19 2003
+++ src/odbc/unittests/Makefile.in Sun May 18 11:24:21 2003
@@ -472,7 +472,7 @@
$OpenBSD: patch-odbc_unittests_Makefile_in,v 1.3 2005/12/26 19:15:22 sturm Exp $
--- src/odbc/unittests/Makefile.in.orig Wed Mar 30 02:51:58 2005
+++ src/odbc/unittests/Makefile.in Mon Dec 26 13:16:21 2005
@@ -784,7 +784,7 @@ all-am: Makefile
installdirs:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_ctlib_Makefile_in,v 1.1 2005/12/26 19:15:22 sturm Exp $
--- src/ctlib/Makefile.in.orig Mon Dec 26 13:17:34 2005
+++ src/ctlib/Makefile.in Mon Dec 26 13:18:00 2005
@@ -177,7 +177,7 @@ lib_LTLIBRARIES = libct.la
libct_la_SOURCES = ct.c cs.c blk.c ctutil.c
# version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
-libct_la_LDFLAGS = -version-info 3:0:0 -export-symbols-regex '^(cs_|ct_|blk_).*' $(FREETDS_SYMBOLIC)
+libct_la_LDFLAGS = ${librealct_la_LDFLAGS} -export-symbols-regex '^(cs_|ct_|blk_).*' $(FREETDS_SYMBOLIC)
libct_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_ctlib_unittests_Makefile_in,v 1.2 2003/05/18 16:57:18 jcs Exp $
--- src/ctlib/unittests/Makefile.in.orig Sun May 18 11:25:04 2003
+++ src/ctlib/unittests/Makefile.in Sun May 18 11:25:14 2003
@@ -509,7 +509,7 @@
$OpenBSD: patch-src_ctlib_unittests_Makefile_in,v 1.3 2005/12/26 19:15:22 sturm Exp $
--- src/ctlib/unittests/Makefile.in.orig Wed Mar 30 02:51:57 2005
+++ src/ctlib/unittests/Makefile.in Mon Dec 26 13:16:21 2005
@@ -735,7 +735,7 @@ all-am: Makefile
installdirs:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_dblib_Makefile_in,v 1.1 2005/12/26 19:15:22 sturm Exp $
--- src/dblib/Makefile.in.orig Mon Dec 26 13:18:11 2005
+++ src/dblib/Makefile.in Mon Dec 26 13:18:32 2005
@@ -178,7 +178,7 @@ lib_LTLIBRARIES = libsybdb.la
EXTRA_DIST = dbopen.c
libsybdb_la_SOURCES = dblib.c dbutil.c rpc.c bcp.c xact.c $(DBOPEN)
# version bumped for 0.63, I hope we'll bump it less in the future -- freddy77
-libsybdb_la_LDFLAGS = -version-info 5:0:0 -export-symbols-regex '^(db|bcp_|tdsdump_open|tdsdbopen|.*_xact|close_commit|open_commit|.?asprintf).*' $(FREETDS_SYMBOLIC)
+libsybdb_la_LDFLAGS = ${librealsybdb_la_LDFLAGS} -export-symbols-regex '^(db|bcp_|tdsdump_open|tdsdbopen|.*_xact|close_commit|open_commit|.?asprintf).*' $(FREETDS_SYMBOLIC)
libsybdb_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
INCLUDES = -I$(top_srcdir)/include

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_dblib_unittests_Makefile_in,v 1.2 2003/05/18 16:57:18 jcs Exp $
--- src/dblib/unittests/Makefile.in.orig Sun May 18 11:28:07 2003
+++ src/dblib/unittests/Makefile.in Sun May 18 11:28:13 2003
@@ -672,7 +672,7 @@
$OpenBSD: patch-src_dblib_unittests_Makefile_in,v 1.3 2005/12/26 19:15:22 sturm Exp $
--- src/dblib/unittests/Makefile.in.orig Wed Mar 30 02:51:57 2005
+++ src/dblib/unittests/Makefile.in Mon Dec 26 13:16:21 2005
@@ -735,7 +735,7 @@ all-am: Makefile
installdirs:

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_pool_Makefile_in,v 1.1 2004/01/12 02:46:12 jcs Exp $
--- src/pool/Makefile.in.orig Sun Jan 11 20:18:21 2004
+++ src/pool/Makefile.in Sun Jan 11 20:18:48 2004
@@ -466,10 +466,7 @@
$OpenBSD: patch-src_pool_Makefile_in,v 1.2 2005/12/26 19:15:22 sturm Exp $
--- src/pool/Makefile.in.orig Wed Mar 30 02:51:58 2005
+++ src/pool/Makefile.in Mon Dec 26 13:16:21 2005
@@ -488,10 +488,7 @@ uninstall-am: uninstall-binPROGRAMS unin
install-data-local:

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_tds_Makefile_in,v 1.1 2005/12/26 19:15:22 sturm Exp $
--- src/tds/Makefile.in.orig Mon Dec 26 13:18:43 2005
+++ src/tds/Makefile.in Mon Dec 26 13:19:14 2005
@@ -187,7 +187,7 @@ libtds_objects_la_LIBADD =
lib_LTLIBRARIES = libtds.la
libtds_la_SOURCES =
# Release 0.63 is version 4, cf. ML 30 Nov 2004 11:08:28 -0600
-libtds_la_LDFLAGS = -version-info 4:0:0 -export-symbols-regex '^(tds_|tdsdump_|tds5_|tds7_).*'
+libtds_la_LDFLAGS = ${librealtds_la_LDFLAGS} -export-symbols-regex '^(tds_|tdsdump_|tds5_|tds7_).*'
# bump server version whenever bumping libtds version
libtds_la_LIBADD = libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)
noinst_HEADERS = tds_willconvert.h character_sets.h \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_tds_unittests_Makefile_in,v 1.2 2003/05/18 16:57:18 jcs Exp $
--- src/tds/unittests/Makefile.in.orig Sun May 18 11:29:00 2003
+++ src/tds/unittests/Makefile.in Sun May 18 11:29:05 2003
@@ -497,7 +497,7 @@
$OpenBSD: patch-src_tds_unittests_Makefile_in,v 1.3 2005/12/26 19:15:22 sturm Exp $
--- src/tds/unittests/Makefile.in.orig Wed Mar 30 02:51:59 2005
+++ src/tds/unittests/Makefile.in Mon Dec 26 13:16:21 2005
@@ -588,7 +588,7 @@ all-am: Makefile
installdirs:

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.7 2005/03/30 03:39:01 jcs Exp $
@lib lib/libct.so.3.0
@lib lib/libsybdb.so.5.0
@lib lib/libtds.so.4.0
@lib lib/libtdssrv.so.2.0
@comment $OpenBSD: PFRAG.shared,v 1.8 2005/12/26 19:15:22 sturm Exp $
@lib lib/libct.so.${LIBct_VERSION}
@lib lib/libsybdb.so.${LIBsybdb_VERSION}
@lib lib/libtds.so.${LIBtds_VERSION}
@lib lib/libtdssrv.so.${LIBtdssrv_VERSION}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2005/05/18 20:08:35 sturm Exp $
# $OpenBSD: Makefile,v 1.24 2005/12/26 19:15:22 sturm Exp $
COMMENT= "GNU dbm"
@ -6,6 +6,8 @@ VERSION= 1.8.3
DISTNAME= gdbm-${VERSION}
PKGNAME= ${DISTNAME}p0
CATEGORIES= databases
SHARED_LIBS= gdbm 3.0
MODGNU_SHARED_LIBS= gdbm ''
HOMEPAGE= http://www.gnu.org/software/gdbm/
@ -17,6 +19,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.3 2005/01/27 02:09:52 naddy Exp $
$OpenBSD: patch-Makefile_in,v 1.4 2005/12/26 19:15:22 sturm Exp $
--- Makefile.in.orig Tue Oct 8 18:09:12 2002
+++ Makefile.in Thu Jan 27 02:32:30 2005
+++ Makefile.in Mon Dec 26 20:04:36 2005
@@ -24,7 +24,7 @@ TEXI2DVI = texi2dvi
DEFS =
@ -19,3 +19,12 @@ $OpenBSD: patch-Makefile_in,v 1.3 2005/01/27 02:09:52 naddy Exp $
progs: $(PROGS)
@@ -156,7 +156,7 @@ install-compat:
libgdbm.la: $(LOBJS) gdbm.h
rm -f libgdbm.la
$(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \
- -version-info $(SHLIB_VER) $(LOBJS)
+ ${libgdbm_la_LDFLAGS} $(LOBJS)
libgdbm_compat.la: $(C_LOBJS) gdbm.h
rm -f libgdbm_compat.la

View File

@ -1,43 +0,0 @@
--- ltmain.sh.orig Mon Nov 4 12:33:02 2002
+++ ltmain.sh Mon Nov 4 12:33:14 2002
@@ -4446,40 +4446,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2004/08/08 16:50:45 espie Exp $
@lib lib/libgdbm.so.3.0
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/12/26 19:15:22 sturm Exp $
@lib lib/libgdbm.so.${LIBgdbm_VERSION}