SHARED_LIBS

ok marcm@, "go ahead" pvalchev@
This commit is contained in:
bernd 2006-01-03 10:40:09 +00:00
parent 55c6fc4a67
commit cf31304a70
4 changed files with 74 additions and 7 deletions

View File

@ -1,8 +1,15 @@
# $OpenBSD: Makefile,v 1.15 2005/12/01 15:41:09 bernd Exp $
# $OpenBSD: Makefile,v 1.16 2006/01/03 10:40:09 bernd Exp $
COMMENT= "library for layout and rendering of text"
DISTNAME= pango-1.10.2
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= pango-1.0 1001.1 \
pangocairo-1.0 1001.1 \
pangoft2-1.0 1001.1 \
pangox-1.0 1001.1 \
pangoxft-1.0 1001.1
CATEGORIES= devel x11
HOMEPAGE= http://www.gtk.org

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.9 2006/01/03 10:40:09 bernd Exp $
--- configure.orig Mon Jan 2 22:19:22 2006
+++ configure Mon Jan 2 22:20:14 2006
@@ -23198,7 +23198,7 @@ fi
if test "$pango_os_win32" != yes; then
# libtool option to control which symbols are exported
# right now, symbols starting with _ are not exported
- LIBRARY_LIBTOOL_OPTIONS="-version-info $LT_VERSION_INFO "'-export-symbols-regex "^pango_.*"'
+ LIBRARY_LIBTOOL_OPTIONS='-export-symbols-regex "^pango_.*"'
MODULE_LIBTOOL_OPTIONS="-export-dynamic -avoid-version "'-export-symbols-regex "^script_engine_.*"'
else
# We currently use .def files on Windows

View File

@ -0,0 +1,48 @@
$OpenBSD: patch-pango_Makefile_in,v 1.6 2006/01/03 10:40:09 bernd Exp $
--- pango/Makefile.in.orig Mon Jan 2 22:17:56 2006
+++ pango/Makefile.in Mon Jan 2 22:24:49 2006
@@ -313,7 +313,7 @@ pangoincludedir = $(includedir)/pango-1.
# ------------------- libpango -------------------
lib_LTLIBRARIES = libpango-1.0.la $(am__append_4) $(am__append_6) $(am__append_10) $(am__append_12) $(am__append_21)
-libpango_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_1)
+libpango_1_0_la_LDFLAGS = $(LIBpango-1.0_LTVERSION) $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_1)
libpango_1_0_la_LIBADD = $(GLIB_LIBS) mini-fribidi/libmini-fribidi.la $(libm)
libpango_1_0_la_DEPENDENCIES = mini-fribidi/libmini-fribidi.la $(am__append_2)
@@ -380,7 +380,7 @@ pangoinclude_HEADERS = \
pango-enum-types.h\
$(am__append_3) $(am__append_5) $(am__append_9) $(am__append_11) $(am__append_20)
-libpangox_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS)
+libpangox_1_0_la_LDFLAGS = $(LIBpangox-1.0_LTVERSION) $(LIBRARY_LIBTOOL_OPTIONS)
libpangox_1_0_la_LIBADD = libpango-$(PANGO_API_VERSION).la $(INCLUDED_X_MODULES) $(X_LIBS) $(X_EXTRA_LIBS) $(GLIB_LIBS)
libpangox_1_0_la_DEPENDENCIES = libpango-$(PANGO_API_VERSION).la $(INCLUDED_X_MODULES)
@@ -393,7 +393,7 @@ libpangox_1_0_la_SOURCES = \
pangox-fontmap.c
-libpangoft2_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_7)
+libpangoft2_1_0_la_LDFLAGS = $(LIBpangoft2-1.0_LTVERSION) $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_7)
libpangoft2_1_0_la_LIBADD = opentype/libpango-ot.la libpango-$(PANGO_API_VERSION).la $(INCLUDED_FC_MODULES) $(FREETYPE_LIBS) $(GLIB_LIBS) $(libm)
libpangoft2_1_0_la_DEPENDENCIES = opentype/libpango-ot.la libpango-$(PANGO_API_VERSION).la $(INCLUDED_FC_MODULES) $(am__append_8)
@@ -410,7 +410,7 @@ libpangoft2_1_0_la_SOURCES = \
module-defs-fc.c
-libpangoxft_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS)
+libpangoxft_1_0_la_LDFLAGS = $(LIBpangoxft-1.0_LTVERSION) $(LIBRARY_LIBTOOL_OPTIONS)
libpangoxft_1_0_la_LIBADD = libpangoft2-$(PANGO_API_VERSION).la libpango-$(PANGO_API_VERSION).la $(XFT_LIBS) $(GLIB_LIBS) $(libm)
libpangoxft_1_0_la_DEPENDENCIES = libpangoft2-$(PANGO_API_VERSION).la libpango-$(PANGO_API_VERSION).la
@@ -421,7 +421,7 @@ libpangoxft_1_0_la_SOURCES = \
pangoxft-render.c
-libpangocairo_1_0_la_LDFLAGS = $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_13)
+libpangocairo_1_0_la_LDFLAGS = $(LIBpangocairo-1.0_LTVERSION) $(LIBRARY_LIBTOOL_OPTIONS) $(am__append_13)
libpangocairo_1_0_la_LIBADD = libpango-$(PANGO_API_VERSION).la $(CAIRO_LIBS) $(GLIB_LIBS) $(am__append_15) $(am__append_17)
libpangocairo_1_0_la_DEPENDENCIES = libpango-$(PANGO_API_VERSION).la $(am__append_14) $(am__append_18)

View File

@ -1,9 +1,9 @@
@comment $OpenBSD: PFRAG.shared,v 1.11 2005/12/01 15:41:09 bernd Exp $
@lib lib/libpango-1.0.so.1001.1
@lib lib/libpangocairo-1.0.so.1001.1
@lib lib/libpangoft2-1.0.so.1001.1
@lib lib/libpangox-1.0.so.1001.1
@lib lib/libpangoxft-1.0.so.1001.1
@comment $OpenBSD: PFRAG.shared,v 1.12 2006/01/03 10:40:10 bernd Exp $
@lib lib/libpango-1.0.so.${LIBpango-1.0_VERSION}
@lib lib/libpangocairo-1.0.so.${LIBpangocairo-1.0_VERSION}
@lib lib/libpangoft2-1.0.so.${LIBpangoft2-1.0_VERSION}
@lib lib/libpangox-1.0.so.${LIBpangox-1.0_VERSION}
@lib lib/libpangoxft-1.0.so.${LIBpangoxft-1.0_VERSION}
lib/pango/1.4.0/modules/pango-arabic-fc.so
lib/pango/1.4.0/modules/pango-basic-fc.so
lib/pango/1.4.0/modules/pango-basic-x.so