SOURCES: vamp-install.patch - fix libdirs in install and .pc (x86-...

pluto pluto at pld-linux.org
Sat Jun 16 22:04:59 CEST 2007


Author: pluto                        Date: Sat Jun 16 20:04:59 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix libdirs in install and .pc (x86-64 related).

---- Files affected:
SOURCES:
   vamp-install.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/vamp-install.patch
diff -u SOURCES/vamp-install.patch:1.2 SOURCES/vamp-install.patch:1.3
--- SOURCES/vamp-install.patch:1.2	Sat Mar 31 04:27:32 2007
+++ SOURCES/vamp-install.patch	Sat Jun 16 22:04:54 2007
@@ -1,45 +1,52 @@
---- vamp-plugin-sdk-1.0/Makefile.orig	2007-03-30 15:53:04.000000000 +0000
-+++ vamp-plugin-sdk-1.0/Makefile	2007-03-30 15:57:18.000000000 +0000
-@@ -15,10 +15,12 @@
+--- vamp-plugin-sdk-1.0/Makefile.orig	2007-03-02 09:16:12.000000000 -0500
++++ vamp-plugin-sdk-1.0/Makefile	2007-06-16 15:48:40.238706429 -0400
+@@ -15,10 +15,10 @@
  # editing for non-Linux platforms.  Of course you don't necessarily
  # have to use "make install".
  #
 -INSTALL_PREFIX	 	  := /usr/local
-+PREFIX			  := /usr
 +INSTALL_PREFIX	 	  := $(DESTDIR)$(PREFIX)
  INSTALL_API_HEADERS	  := $(INSTALL_PREFIX)/include/vamp
  INSTALL_SDK_HEADERS	  := $(INSTALL_PREFIX)/include/vamp-sdk
 -INSTALL_SDK_LIBS	  := $(INSTALL_PREFIX)/lib
-+LIBDIR			  := /usr/lib
-+INSTALL_SDK_LIBS	  := $(DESTDIR)$(LIBDIR)
++INSTALL_SDK_LIBS	  := $(INSTALL_PREFIX)/$(LIB)
  
  INSTALL_SDK_LIBNAME	  := libvamp-sdk.so.1.0.0
  INSTALL_SDK_LINK_ABI	  := libvamp-sdk.so.1
-@@ -176,22 +178,22 @@
+@@ -32,7 +32,7 @@
+ INSTALL_HOSTSDK_STATIC    := libvamp-hostsdk.a
+ INSTALL_HOSTSDK_LA        := libvamp-hostsdk.la
+ 
+-INSTALL_PKGCONFIG	  := $(INSTALL_PREFIX)/lib/pkgconfig
++INSTALL_PKGCONFIG	  := $(INSTALL_PREFIX)/$(LIB)/pkgconfig
+ 
+ # Compile flags
+ #
+@@ -176,22 +176,22 @@
  		ln -s $(INSTALL_SDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LINK_DEV)
  		rm -f $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV)
  		ln -s $(INSTALL_HOSTSDK_LIBNAME) $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LINK_DEV)
 -		sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(APIDIR)/vamp.pc.in \
-+		sed "s,%PREFIX%,$(PREFIX)," $(APIDIR)/vamp.pc.in \
++		sed -e "s,%PREFIX%,$(PREFIX)," -e "s,/lib,/$(LIB),g" \$(APIDIR)/vamp.pc.in \
  		> $(INSTALL_PKGCONFIG)/vamp.pc
 -		sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(SDKDIR)/vamp-sdk.pc.in \
-+		sed "s,%PREFIX%,$(PREFIX)," $(SDKDIR)/vamp-sdk.pc.in \
++		sed -e "s,%PREFIX%,$(PREFIX)," -e "s,/lib,/$(LIB),g" $(SDKDIR)/vamp-sdk.pc.in \
  		> $(INSTALL_PKGCONFIG)/vamp-sdk.pc
 -		sed "s,%PREFIX%,$(INSTALL_PREFIX)," $(SDKDIR)/vamp-hostsdk.pc.in \
-+		sed "s,%PREFIX%,$(PREFIX)," $(SDKDIR)/vamp-hostsdk.pc.in \
++		sed -e "s,%PREFIX%,$(PREFIX)," -e "s,/lib,/$(LIB),g" $(SDKDIR)/vamp-hostsdk.pc.in \
  		> $(INSTALL_PKGCONFIG)/vamp-hostsdk.pc
  		sed -e "s,%LIBNAME%,$(INSTALL_SDK_LIBNAME),g" \
  		    -e "s,%LINK_ABI%,$(INSTALL_SDK_LINK_ABI),g" \
  		    -e "s,%LINK_DEV%,$(INSTALL_SDK_LINK_DEV),g" \
  		    -e "s,%STATIC%,$(INSTALL_SDK_STATIC),g" \
 -		    -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \
-+		    -e "s,%LIBS%,$(LIBDIR),g" $(SDK_LA).in \
++		    -e "s,%LIBS%,$(PREFIX)/$(LIB),g" $(SDK_LA).in \
  		> $(INSTALL_SDK_LIBS)/$(INSTALL_SDK_LA)
  		sed -e "s,%LIBNAME%,$(INSTALL_HOSTSDK_LIBNAME),g" \
  		    -e "s,%LINK_ABI%,$(INSTALL_HOSTSDK_LINK_ABI),g" \
  		    -e "s,%LINK_DEV%,$(INSTALL_HOSTSDK_LINK_DEV),g" \
  		    -e "s,%STATIC%,$(INSTALL_HOSTSDK_STATIC),g" \
 -		    -e "s,%LIBS%,$(INSTALL_SDK_LIBS),g" $(SDK_LA).in \
-+		    -e "s,%LIBS%,$(LIBDIR),g" $(SDK_LA).in \
++		    -e "s,%LIBS%,$(PREFIX)/$(LIB),g" $(SDK_LA).in \
  		> $(INSTALL_SDK_LIBS)/$(INSTALL_HOSTSDK_LA)
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vamp-install.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list