SOURCES: OpenIPMI-lt.patch (NEW) - libtool 2.2 compatibility
qboosh
qboosh at pld-linux.org
Thu Jul 10 17:12:55 CEST 2008
Author: qboosh Date: Thu Jul 10 15:12:55 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- libtool 2.2 compatibility
---- Files affected:
SOURCES:
OpenIPMI-lt.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/OpenIPMI-lt.patch
diff -u /dev/null SOURCES/OpenIPMI-lt.patch:1.1
--- /dev/null Thu Jul 10 17:12:56 2008
+++ SOURCES/OpenIPMI-lt.patch Thu Jul 10 17:12:50 2008
@@ -0,0 +1,29 @@
+--- OpenIPMI-2.0.14/swig/perl/Makefile.am.orig 2007-10-02 16:34:34.000000000 +0200
++++ OpenIPMI-2.0.14/swig/perl/Makefile.am 2008-07-10 07:29:13.967027928 +0200
+@@ -16,19 +16,19 @@
+ all: OpenIPMI.so
+
+ OpenIPMI_SRC = OpenIPMI_wrap.c OpenIPMI_perl.c
+-OpenIPMI_OBJ = OpenIPMI_wrap.o OpenIPMI_perl.o
++OpenIPMI_OBJ = OpenIPMI_wrap.lo OpenIPMI_perl.lo
+
+ OpenIPMI.so: $(OpenIPMI_OBJ)
+- $(LIBTOOL) --mode=link $(CC) -shared -o $@ $^ $(OPENIPMI_SWIG_LIBS)
+- rm OpenIPMI.so
++ $(LIBTOOL) --mode=link $(CC) -shared -module -avoid-version -o $(@:.so=.la) $^ $(OPENIPMI_SWIG_LIBS) -rpath $(PERL_INSTALL_DIR)/auto/OpenIPMI
++ rm -f OpenIPMI.so
+ mv .libs/OpenIPMI.so .
+ rm -rf .libs
+
+-OpenIPMI_wrap.o: OpenIPMI_wrap.c OpenIPMI.h
+- $(COMPILE) -c $<
++OpenIPMI_wrap.lo: OpenIPMI_wrap.c OpenIPMI.h
++ $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+-OpenIPMI_perl.o: OpenIPMI_perl.c OpenIPMI.h
+- $(COMPILE) -c $<
++OpenIPMI_perl.lo: OpenIPMI_perl.c OpenIPMI.h
++ $(LIBTOOL) --mode=compile $(COMPILE) -c $<
+
+ OpenIPMI_wrap.c OpenIPMI.pm: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
+ $(SWIG) $(DEFS) -perl5 -o $@ -I$(top_srcdir)/swig/perl $<
================================================================
More information about the pld-cvs-commit
mailing list