SHARED_LIBS

This commit is contained in:
espie 2005-12-24 16:11:52 +00:00
parent ae778673c4
commit 0fa5562083
8 changed files with 52 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2005/12/21 14:43:58 espie Exp $
# $OpenBSD: Makefile,v 1.24 2005/12/24 16:11:52 espie Exp $
COMMENT= "character set conversion library"
@ -6,6 +6,10 @@ DISTNAME= libiconv-1.9.2
PKGNAME= ${DISTNAME}p3
CATEGORIES= converters devel
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
SHARED_LIBS= charset 1.0 \
iconv 4.0
MODGNU_SHARED_LIBS= charset '-no-undefined' \
iconv '-no-undefined'
HOMEPAGE= http://www.gnu.org/software/libiconv/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-lib_Makefile_in,v 1.8 2004/09/23 07:07:01 pvalchev Exp $
--- lib/Makefile.in.orig 2003-05-18 08:19:16.000000000 -0600
+++ lib/Makefile.in 2004-06-13 00:31:54.000000000 -0600
$OpenBSD: patch-lib_Makefile_in,v 1.9 2005/12/24 16:11:52 espie Exp $
--- lib/Makefile.in.orig Sun May 18 16:19:16 2003
+++ lib/Makefile.in Sat Dec 24 17:04:04 2005
@@ -26,7 +26,7 @@ LIBTOOL_COMPILE = $(LIBTOOL) --mode=comp
LIBTOOL_LINK = $(LIBTOOL) --mode=link
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
@ -10,7 +10,19 @@ $OpenBSD: patch-lib_Makefile_in,v 1.8 2004/09/23 07:07:01 pvalchev Exp $
MV = mv
LN = @LN@
LN_S = @LN_S@
@@ -89,19 +89,19 @@ libiconv_plug_osf.so : $(SOURCES)
@@ -55,8 +55,10 @@ OBJECTS = iconv.lo localcharset.lo reloc
all : @PLUGLIB@ libiconv.la
+libiconv_la_LDFLAGS=-version-info $(LIBICONV_VERSION_INFO) -no-undefined
+
libiconv.la : $(OBJECTS)
- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libiconv.la -rpath $(libdir) -version-info $(LIBICONV_VERSION_INFO) -no-undefined $(OBJECTS)
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libiconv.la -rpath $(libdir) $(libiconv_la_LDFLAGS) $(OBJECTS)
libiconv_plug.so : libiconv_plug_@OS@.so
$(RM) libiconv_plug.so
@@ -89,19 +91,19 @@ libiconv_plug_osf.so : $(SOURCES)
fi
iconv.lo : $(srcdir)/iconv.c $(srcdir)/converters.h $(srcdir)/encodings.def $(srcdir)/encodings_aix.def $(srcdir)/encodings_osf1.def $(srcdir)/encodings_dos.def $(srcdir)/encodings_local.def $(srcdir)/aliases.h $(srcdir)/aliases_aix.h $(srcdir)/aliases_osf1.h $(srcdir)/aliases_dos.h $(srcdir)/flags.h

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-libcharset_lib_Makefile_in,v 1.5 2003/12/24 00:08:02 brad Exp $
--- libcharset/lib/Makefile.in.orig 2003-04-14 09:51:06.000000000 -0400
+++ libcharset/lib/Makefile.in 2003-12-21 13:36:54.000000000 -0500
$OpenBSD: patch-libcharset_lib_Makefile_in,v 1.6 2005/12/24 16:11:52 espie Exp $
--- libcharset/lib/Makefile.in.orig Mon Apr 14 15:51:06 2003
+++ libcharset/lib/Makefile.in Sat Dec 24 17:03:18 2005
@@ -26,6 +26,7 @@ LIBTOOL_COMPILE = $(LIBTOOL) --mode=comp
LIBTOOL_LINK = $(LIBTOOL) --mode=link
LIBTOOL_INSTALL = $(LIBTOOL) --mode=install
@ -9,7 +9,19 @@ $OpenBSD: patch-libcharset_lib_Makefile_in,v 1.5 2003/12/24 00:08:02 brad Exp $
RM = rm -f
# Programs used by "make install":
@@ -78,11 +79,11 @@ ref-del.sed : $(srcdir)/ref-del.sin
@@ -53,8 +54,10 @@ OBJECTS = localcharset.lo relocatable.lo
all : libcharset.la charset.alias ref-add.sed ref-del.sed
+libcharset_la_LDFLAGS=-version-info $(LIBCHARSET_VERSION_INFO) -no-undefined
+
libcharset.la : $(OBJECTS)
- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) -no-undefined $(OBJECTS)
+ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libcharset.la -rpath $(libdir) $(libcharset_la_LDFLAGS) $(OBJECTS)
localcharset.lo : $(srcdir)/localcharset.c
$(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c $(srcdir)/localcharset.c
@@ -78,11 +81,11 @@ ref-del.sed : $(srcdir)/ref-del.sin
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
$(mkinstalldirs) $(libdir)

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.5 2004/08/06 16:06:03 espie Exp $
@lib lib/libcharset.so.1.0
@lib lib/libiconv.so.4.0
@comment $OpenBSD: PFRAG.shared,v 1.6 2005/12/24 16:11:52 espie Exp $
@lib lib/libcharset.so.${LIBcharset_VERSION}
@lib lib/libiconv.so.${LIBiconv_VERSION}

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2005/11/15 09:21:51 wilfried Exp $
# $OpenBSD: Makefile,v 1.10 2005/12/24 16:11:52 espie Exp $
COMMENT= "library providing routines to access Microsoft Word/Excel files"
DISTNAME= wv2-0.2.1
PKGNAME= ${DISTNAME}p1
SHARED_LIBS= wv2 1.6
MODGNU_SHARED_LIBS= wv2 '-export-dynamic'
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
EXTRACT_SUFX= .tar.bz2

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/14 23:25:51 espie Exp $
@lib lib/libwv2.so.1.6
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/24 16:11:52 espie Exp $
@lib lib/libwv2.so.${LIBwv2_VERSION}

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.3 2004/11/21 22:53:59 espie Exp $
# $OpenBSD: Makefile,v 1.4 2005/12/24 16:11:53 espie Exp $
COMMENT= "convert Excel and PowerPoint to HTML"
V= 0.2.9.8
DISTNAME= xlHtml-${V}
PKGNAME= xlhtml-${V}
PKGNAME= xlhtml-${V}p0
SHARED_LIBS= cole 2.1
MODGNU_SHARED_LIBS= cole ''
CATEGORIES= converters
MASTER_SITES= http://www.xlhtml.org/
@ -17,6 +19,7 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-static ${CONFIGURE_SHARED}

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/09/14 23:25:51 espie Exp $
@lib lib/libcole.so.2.1
@comment $OpenBSD: PFRAG.shared,v 1.3 2005/12/24 16:11:53 espie Exp $
@lib lib/libcole.so.${LIBcole_VERSION}