diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2005-09-19 21:28:28 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2005-09-19 21:28:28 +0000 |
commit | d8219bf5fcef2bae830ec0c3ad5d529831a4aa0e (patch) | |
tree | 1da1c87866e8bc3c7ee9a03552e550e9068f53cd /dev-libs/librep/files | |
parent | add missing eutils inheritance (diff) | |
download | gentoo-2-d8219bf5fcef2bae830ec0c3ad5d529831a4aa0e.tar.gz gentoo-2-d8219bf5fcef2bae830ec0c3ad5d529831a4aa0e.tar.bz2 gentoo-2-d8219bf5fcef2bae830ec0c3ad5d529831a4aa0e.zip |
Fix librep libtool mess instead of continuing to try to work around it
(Portage version: 1.589-cvs)
Diffstat (limited to 'dev-libs/librep/files')
-rw-r--r-- | dev-libs/librep/files/libtool.patch | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/dev-libs/librep/files/libtool.patch b/dev-libs/librep/files/libtool.patch new file mode 100644 index 000000000000..06f8ae834338 --- /dev/null +++ b/dev-libs/librep/files/libtool.patch @@ -0,0 +1,86 @@ +--- librep-0.17.orig/intl/Makefile.in ++++ librep-0.17/intl/Makefile.in +@@ -77,7 +77,7 @@ + .c.o: + $(COMPILE) $< + .c.lo: +- $(LIBTOOL) --mode=compile $(COMPILE) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(COMPILE) $< + + INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib + +@@ -92,7 +92,7 @@ + $(RANLIB) $@ + + libintl.la: $(OBJECTS) +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ + -version-info 1:0 -rpath $(libdir) + + ../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot +--- librep-0.17.orig/Makedefs.in ++++ librep-0.17/Makedefs.in +@@ -96,11 +96,11 @@ + + # Rule for libtool controlled C objects + %.lo : %.c +- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + + # Rule for dlopen'able C objects + %.la : %.c +- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo + + # Build dependancy files from C source files. +--- librep-0.17.orig/rules.mk.sh ++++ librep-0.17/rules.mk.sh +@@ -19,7 +19,7 @@ + # foo.la : foo.lo bar.lo + # \$(rep_DL_LD) link-opts... + +-rep_DL_LD=\$(rep_LIBTOOL) --mode=link \$(CC) -avoid-version -module \ ++rep_DL_LD=\$(rep_LIBTOOL) --mode=link --tag=CC \$(CC) -avoid-version -module \ + -rpath \$(rpath_repcommonexecdir) + + rep_DL_INSTALL=\$(rep_LIBTOOL) --mode=install \$(INSTALL) +@@ -27,6 +27,6 @@ + + # Rule for libtool controlled C objects + %.lo : %.c +- \$(rep_LIBTOOL) --mode=compile \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$< ++ \$(rep_LIBTOOL) --mode=compile --tag=CC \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$< + + EOF +--- librep-0.17.orig/src/Makefile.in ++++ librep-0.17/src/Makefile.in +@@ -56,16 +56,16 @@ + all : librep.la $(DL_OBJS) check-dl rep rep-config rep-remote rep-xgettext .libexec + + librep.la : $(OBJS) $(LIBOBJS) $(ALLOCA) +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) \ + -version-info $(libversion) -export-symbols librep.sym \ + -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS) + + rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + rep-remote : rep-remote.c +@@ -132,7 +132,7 @@ + chmod +x $@ + + repdoc : repdoc.o +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS) ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS) + + sdbm.la : $(SDBM_LOBJS) repsdbm.lo + $(rep_DL_LD) $(LDFLAGS) -o $@ $^ |