libode/libode-0.9-makefileso.patch

47 lines
2.0 KiB
Diff
Raw Permalink Normal View History

diff -ru ode-0.9/Makefile.am ode-0.9-makeso/Makefile.am
--- ode-0.9/Makefile.am 2007-02-21 15:54:54.000000000 +0100
+++ ode-0.9-makeso/Makefile.am 2007-12-28 11:51:25.000000000 +0100
@@ -25,13 +25,12 @@
if USE_SONAME
install-exec-hook:
- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
- $(libdir)/libode.so
- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
- $(libdir)/@ODE_SONAME@
- ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
- $(libdir)/@ODE_SONAME@.@ODE_REVISION@
- /sbin/ldconfig
+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+ $(DESTDIR)/$(libdir)/libode.so
+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+ $(DESTDIR)/$(libdir)/@ODE_SONAME@
+ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+ $(DESTDIR)/$(libdir)/@ODE_SONAME@.@ODE_REVISION@
else
install-exec-hook:
endif
diff -ru ode-0.9/Makefile.in ode-0.9-makeso/Makefile.in
--- ode-0.9/Makefile.in 2007-10-12 14:36:49.000000000 +0200
+++ ode-0.9-makeso/Makefile.in 2007-12-28 11:52:39.000000000 +0100
@@ -652,13 +652,12 @@
rm -rf ${PACKAGE}-${VERSION}
@USE_SONAME_TRUE@install-exec-hook:
-@USE_SONAME_TRUE@ ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
-@USE_SONAME_TRUE@ $(libdir)/libode.so
-@USE_SONAME_TRUE@ ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
-@USE_SONAME_TRUE@ $(libdir)/@ODE_SONAME@
-@USE_SONAME_TRUE@ ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
-@USE_SONAME_TRUE@ $(libdir)/@ODE_SONAME@.@ODE_REVISION@
-@USE_SONAME_TRUE@ /sbin/ldconfig
+@USE_SONAME_TRUE@ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+@USE_SONAME_TRUE@ $(DESTDIR)/$(libdir)/libode.so
+@USE_SONAME_TRUE@ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+@USE_SONAME_TRUE@ $(DESTDIR)/$(libdir)/@ODE_SONAME@
+@USE_SONAME_TRUE@ ln -s @ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
+@USE_SONAME_TRUE@ $(DESTDIR)/$(libdir)/@ODE_SONAME@.@ODE_REVISION@
@USE_SONAME_FALSE@install-exec-hook:
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.