1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/devel/glib12/files/patch-ab
Vanilla I. Shu c89baaf310 Add some patch for gthread.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1999-01-21 19:18:21 +00:00

332 lines
12 KiB
Plaintext

--- Makefile.in.orig Mon Jan 18 07:30:09 1999
+++ Makefile.in Fri Jan 22 02:53:32 1999
@@ -89,14 +89,14 @@
RANLIB = @RANLIB@
VERSION = @VERSION@
-SUBDIRS = gmodule gthread docs tests
+SUBDIRS = gmodule gthread docs
# alpha `automake' supports this better
#SUBDIRS = . gmodule gthread docs tests
-configincludedir = $(pkglibdir)/include
+configincludedir = $(includedir)
-bin_SCRIPTS=glib-config
-BUILT_SOURCES=glib-config
+bin_SCRIPTS=glib11d-config
+BUILT_SOURCES=glib11d-config
INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
@@ -111,9 +111,9 @@
makefile.msc \
glibconfig.h.win32
-lib_LTLIBRARIES = libglib.la
+lib_LTLIBRARIES = libglib11d.la
-libglib_la_SOURCES = \
+libglib11d_la_SOURCES = \
garray.c \
gcache.c \
gcompletion.c \
@@ -148,21 +148,20 @@
BUILT_SOURCES = stamp-gc-h #note: not glibconfig.h
-libglib_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -release $(LT_RELEASE)
+libglib11d_la_LDFLAGS = \
+ -version-info 2:1:0
noinst_PROGRAMS = testglib testgdate testgdateparser
-testglib_LDADD = libglib.la
-testgdate_LDADD = libglib.la
-testgdateparser_LDADD = libglib.la
+testglib_LDADD = libglib11d.la
+testgdate_LDADD = libglib11d.la
+testgdateparser_LDADD = libglib11d.la
m4datadir = $(datadir)/aclocal
m4data_DATA = glib.m4
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = glib-config
+CONFIG_CLEAN_FILES = glib11d-config
LTLIBRARIES = $(lib_LTLIBRARIES)
@@ -170,8 +169,8 @@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-libglib_la_LIBADD =
-libglib_la_OBJECTS = garray.lo gcache.lo gcompletion.lo gdataset.lo \
+libglib11d_la_LIBADD =
+libglib11d_la_OBJECTS = garray.lo gcache.lo gcompletion.lo gdataset.lo \
gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo \
gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo \
gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo \
@@ -180,15 +179,15 @@
testglib_SOURCES = testglib.c
testglib_OBJECTS = testglib.o
-testglib_DEPENDENCIES = libglib.la
+testglib_DEPENDENCIES = libglib11d.la
testglib_LDFLAGS =
testgdate_SOURCES = testgdate.c
testgdate_OBJECTS = testgdate.o
-testgdate_DEPENDENCIES = libglib.la
+testgdate_DEPENDENCIES = libglib11d.la
testgdate_LDFLAGS =
testgdateparser_SOURCES = testgdateparser.c
testgdateparser_OBJECTS = testgdateparser.o
-testgdateparser_DEPENDENCIES = libglib.la
+testgdateparser_DEPENDENCIES = libglib11d.la
testgdateparser_LDFLAGS =
SCRIPTS = $(bin_SCRIPTS)
@@ -210,8 +209,8 @@
TAR = tar
GZIP = --best
-SOURCES = $(libglib_la_SOURCES) testglib.c testgdate.c testgdateparser.c
-OBJECTS = $(libglib_la_OBJECTS) testglib.o testgdate.o testgdateparser.o
+SOURCES = $(libglib11d_la_SOURCES) testglib.c testgdate.c testgdateparser.c
+OBJECTS = $(libglib11d_la_OBJECTS) testglib.o testgdate.o testgdateparser.o
all: all-recursive-am all-am
@@ -252,7 +251,10 @@
-rm -f config.h
maintainer-clean-hdr:
-glib-config: $(top_builddir)/config.status glib-config.in
+glib11d-config.in: glib-config.in
+ cp glib-config.in glib11d-config.in
+
+glib11d-config: $(top_builddir)/config.status glib11d-config.in
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
mostlyclean-libLTLIBRARIES:
@@ -318,8 +320,8 @@
maintainer-clean-libtool:
-libglib.la: $(libglib_la_OBJECTS) $(libglib_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libglib_la_LDFLAGS) $(libglib_la_OBJECTS) $(libglib_la_LIBADD) $(LIBS)
+libglib11d.la: $(libglib11d_la_OBJECTS) $(libglib11d_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libglib11d_la_LDFLAGS) $(libglib11d_la_OBJECTS) $(libglib11d_la_LIBADD) $(LIBS)
mostlyclean-noinstPROGRAMS:
@@ -538,7 +540,7 @@
all-recursive-am: config.h
$(MAKE) all-recursive
-all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) $(HEADERS) config.h
+all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS) config.h
install-exec-am: install-libLTLIBRARIES install-binSCRIPTS
--- gmodule/Makefile.in.orig Mon Jan 18 07:30:13 1999
+++ gmodule/Makefile.in Fri Jan 22 02:55:56 1999
@@ -103,30 +103,29 @@
include_HEADERS = \
gmodule.h
-libglib = $(top_builddir)/libglib.la # -lglib
+libglib = $(top_builddir)/libglib11d.la # -lglib
-lib_LTLIBRARIES = libgmodule.la libgplugin_a.la libgplugin_b.la
+lib_LTLIBRARIES = libgmodule11d.la libgplugin11d_a.la libgplugin11d_b.la
-libgmodule_la_SOURCES = gmodule.c
-libgmodule_la_LDFLAGS = \
+libgmodule11d_la_SOURCES = gmodule.c
+libgmodule11d_la_LDFLAGS = \
@G_MODULE_LDFLAGS@ \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -release $(LT_RELEASE)
+ -version-info 2:1:0
-libgmodule_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
+libgmodule11d_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
# we should really depend on $(libglib) for libgmodule.la, but libtool has a
# problem with this ;(
-libgplugin_a_la_SOURCES = libgplugin_a.c
-libgplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@
-libgplugin_a_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
-
-libgplugin_b_la_SOURCES = libgplugin_b.c
-libgplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@
-libgplugin_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
+libgplugin11d_a_la_SOURCES = libgplugin_a.c
+libgplugin11d_a_la_LDFLAGS = @G_MODULE_LDFLAGS@
+libgplugin11d_a_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
+
+libgplugin11d_b_la_SOURCES = libgplugin_b.c
+libgplugin11d_b_la_LDFLAGS = @G_MODULE_LDFLAGS@
+libgplugin11d_b_la_LIBADD = @G_MODULE_LIBS@ # $(libglib)
noinst_PROGRAMS = testgmodule
-testgmodule_LDADD = libgmodule.la $(libglib) @G_MODULE_LIBS@
+testgmodule_LDADD = libgmodule11d.la $(libglib) @G_MODULE_LIBS@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES = gmoduleconf.h
@@ -137,22 +136,22 @@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-libgmodule_la_DEPENDENCIES =
-libgmodule_la_OBJECTS = gmodule.lo
-libgplugin_a_la_DEPENDENCIES =
-libgplugin_a_la_OBJECTS = libgplugin_a.lo
-libgplugin_b_la_DEPENDENCIES =
-libgplugin_b_la_OBJECTS = libgplugin_b.lo
+libgmodule11d_la_DEPENDENCIES =
+libgmodule11d_la_OBJECTS = gmodule.lo
+libgplugin11d_a_la_DEPENDENCIES =
+libgplugin11d_a_la_OBJECTS = libgplugin_a.lo
+libgplugin11d_b_la_DEPENDENCIES =
+libgplugin11d_b_la_OBJECTS = libgplugin_b.lo
PROGRAMS = $(noinst_PROGRAMS)
testgmodule_SOURCES = testgmodule.c
testgmodule_OBJECTS = testgmodule.o
-testgmodule_DEPENDENCIES = libgmodule.la $(top_builddir)/libglib.la
+testgmodule_DEPENDENCIES = libgmodule11d.la $(top_builddir)/libglib11d.la
testgmodule_LDFLAGS =
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
-LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
+LINK = $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CFLAGS) $(LDFLAGS) -o $@
HEADERS = $(include_HEADERS)
DIST_COMMON = AUTHORS COPYING ChangeLog Makefile.am Makefile.in \
@@ -163,10 +162,10 @@
TAR = tar
GZIP = --best
-SOURCES = $(libgmodule_la_SOURCES) $(libgplugin_a_la_SOURCES) $(libgplugin_b_la_SOURCES) testgmodule.c
-OBJECTS = $(libgmodule_la_OBJECTS) $(libgplugin_a_la_OBJECTS) $(libgplugin_b_la_OBJECTS) testgmodule.o
+SOURCES = $(libgmodule11d_la_SOURCES) $(libgplugin11d_a_la_SOURCES) $(libgplugin11d_b_la_SOURCES) testgmodule.c
+OBJECTS = $(libgmodule11d_la_OBJECTS) $(libgplugin11d_a_la_OBJECTS) $(libgplugin11d_b_la_OBJECTS) testgmodule.o
-all: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
+all: Makefile $(LTLIBRARIES) $(HEADERS)
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
@@ -233,14 +232,14 @@
maintainer-clean-libtool:
-libgmodule.la: $(libgmodule_la_OBJECTS) $(libgmodule_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libgmodule_la_LDFLAGS) $(libgmodule_la_OBJECTS) $(libgmodule_la_LIBADD) $(LIBS)
+libgmodule11d.la: $(libgmodule11d_la_OBJECTS) $(libgmodule11d_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libgmodule11d_la_LDFLAGS) $(libgmodule11d_la_OBJECTS) $(libgmodule11d_la_LIBADD) $(LIBS)
-libgplugin_a.la: $(libgplugin_a_la_OBJECTS) $(libgplugin_a_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libgplugin_a_la_LDFLAGS) $(libgplugin_a_la_OBJECTS) $(libgplugin_a_la_LIBADD) $(LIBS)
+libgplugin11d_a.la: $(libgplugin11d_a_la_OBJECTS) $(libgplugin11d_a_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libgplugin11d_a_la_LDFLAGS) $(libgplugin11d_a_la_OBJECTS) $(libgplugin11d_a_la_LIBADD) $(LIBS)
-libgplugin_b.la: $(libgplugin_b_la_OBJECTS) $(libgplugin_b_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libgplugin_b_la_LDFLAGS) $(libgplugin_b_la_OBJECTS) $(libgplugin_b_la_LIBADD) $(LIBS)
+libgplugin11d_b.la: $(libgplugin11d_b_la_OBJECTS) $(libgplugin11d_b_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libgplugin11d_b_la_LDFLAGS) $(libgplugin11d_b_la_OBJECTS) $(libgplugin11d_b_la_LIBADD) $(LIBS)
mostlyclean-noinstPROGRAMS:
@@ -388,10 +387,10 @@
echo $$p; \
done
-install-libLTLIBRARIES: libgmodule.la
+install-libLTLIBRARIES: libgmodule11d.la
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libdir)
- @list='libgmodule.la'; for p in $$list; do \
+ @list='libgmodule11d.la'; for p in $$list; do \
if test -f $$p; then \
echo "$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
$(LIBTOOL) --mode=install $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
--- gthread/Makefile.in.orig Mon Jan 18 07:30:16 1999
+++ gthread/Makefile.in Fri Jan 22 02:46:01 1999
@@ -95,19 +95,18 @@
gthread-nspr.c \
gthread-none.c
-libglib = $(top_builddir)/libglib.la # -lglib
+libglib = $(top_builddir)/libglib11d.la # -lglib
-lib_LTLIBRARIES = libgthread.la
+lib_LTLIBRARIES = libgthread11d.la
-libgthread_la_SOURCES = gthread.c
-libgthread_la_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
- -release $(LT_RELEASE)
+libgthread11d_la_SOURCES = gthread.c
+libgthread11d_la_LDFLAGS = \
+ -version-info 2:1:0
-libgthread_la_LIBADD = @G_THREAD_LIBS@
+libgthread11d_la_LIBADD = @G_THREAD_LIBS@
noinst_PROGRAMS = testgthread
-testgthread_LDADD = ../libglib.la libgthread.la
+testgthread_LDADD = ../libglib11d.la libgthread11d.la
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
@@ -118,13 +117,13 @@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
-libgthread_la_DEPENDENCIES =
-libgthread_la_OBJECTS = gthread.lo
+libgthread11d_la_DEPENDENCIES =
+libgthread11d_la_OBJECTS = gthread.lo
PROGRAMS = $(noinst_PROGRAMS)
testgthread_SOURCES = testgthread.c
testgthread_OBJECTS = testgthread.o
-testgthread_DEPENDENCIES = ../libglib.la libgthread.la
+testgthread_DEPENDENCIES = ../libglib11d.la libgthread11d.la
testgthread_LDFLAGS =
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
@@ -137,10 +136,10 @@
TAR = tar
GZIP = --best
-SOURCES = $(libgthread_la_SOURCES) testgthread.c
-OBJECTS = $(libgthread_la_OBJECTS) testgthread.o
+SOURCES = $(libgthread11d_la_SOURCES) testgthread.c
+OBJECTS = $(libgthread11d_la_OBJECTS) testgthread.o
-all: Makefile $(LTLIBRARIES) $(PROGRAMS)
+all: Makefile $(LTLIBRARIES)
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
@@ -215,8 +214,8 @@
maintainer-clean-libtool:
-libgthread.la: $(libgthread_la_OBJECTS) $(libgthread_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libgthread_la_LDFLAGS) $(libgthread_la_OBJECTS) $(libgthread_la_LIBADD) $(LIBS)
+libgthread11d.la: $(libgthread11d_la_OBJECTS) $(libgthread11d_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libgthread11d_la_LDFLAGS) $(libgthread11d_la_OBJECTS) $(libgthread11d_la_LIBADD) $(LIBS)
mostlyclean-noinstPROGRAMS: