audio/portmidi: fix patch that got screwed up on import to git

This commit is contained in:
Heinz Wiesinger 2010-05-17 23:27:29 +02:00
parent 8c19ff02ec
commit ce17ec2798
1 changed files with 12 additions and 12 deletions

View File

@ -54,15 +54,15 @@ diff -Naur portmidi-orig/pm_linux/Makefile portmidi/pm_linux/Makefile
--- portmidi-orig/pm_linux/Makefile 2009-01-20 04:01:54.000000000 +0000
+++ portmidi/pm_linux/Makefile 2010-02-27 00:42:47.000000000 +0000
@@ -147,10 +147,10 @@
cd pm_java; chmod +x pmdefaults/pmdefaults
install:
- cp pm_java/pmjni/libpmjni.so /usr/local/lib
+ cp pm_java/pmjni/libpmjni.so ${CMAKE_INSTALL_PREFIX}/lib
cp pm_java/pmdefaults.jar /usr/share/java
# do not chmod +x here since we are probably root
- cp pm_java/pmdefaults/pmdefaults /usr/local/bin
+ cp pm_java/pmdefaults/pmdefaults ${CMAKE_INSTALL_PREFIX}/bin
clean:
rm -f *.o *~ core* */*.o */*.so */*~ */core* pm_test/*/pm_dll.dll
cd pm_java; chmod +x pmdefaults/pmdefaults
install:
- cp pm_java/pmjni/libpmjni.so /usr/local/lib
+ cp pm_java/pmjni/libpmjni.so ${CMAKE_INSTALL_PREFIX}/lib
cp pm_java/pmdefaults.jar /usr/share/java
# do not chmod +x here since we are probably root
- cp pm_java/pmdefaults/pmdefaults /usr/local/bin
+ cp pm_java/pmdefaults/pmdefaults ${CMAKE_INSTALL_PREFIX}/bin
clean:
rm -f *.o *~ core* */*.o */*.so */*~ */core* pm_test/*/pm_dll.dll