Package: pdp / 1:0.14.1+darcs20180201-6

skip_pd_check.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Description: skip checks whether Pd is installed
 PDP tries to be extra smart and refuses to install if it cannot find pd
 installed. on Debian we have other means to ensure consistency...
Author: Debian
Last-Update: 2013-12-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-pdp.orig/Makefile
+++ pd-pdp/Makefile
@@ -65,8 +65,6 @@
 
 
 install: all
-	#check if pd is installed. if this fails make install will stop here.
-	test -d $(prefix)/lib/pd
 	install -d $(prefix)/lib/pd/extra
 	install -m 755 $(PDP_LIBRARY_NAME) $(prefix)/lib/pd/extra
 	install -m 755 -d $(prefix)/include/pdp
--- pd-pdp.orig/opengl/Makefile
+++ pd-pdp/opengl/Makefile
@@ -35,7 +35,6 @@
 # $(CC) -o pdp_opengl.pd_pd_darwin modules/*.o system/*.o $(LDFLAGS) -g -bundle -bundle_loader $(PD_EXECUTABLE)
 
 install: all
-	test -d $(prefix)/lib/pd 	#check if pd is installed. if this fails make install will stop here.
 	install -d $(prefix)/lib/pd/extra
 	install -m 755 $(PDP_OPENGL_LIBRARY_NAME) $(prefix)/lib/pd/extra
 	install -m 644 abstractions/*.pd $(prefix)/lib/pd/extra
--- pd-pdp.orig/scaf/Makefile
+++ pd-pdp/scaf/Makefile
@@ -37,8 +37,5 @@
 	install -m 644 compiler/scafmacro.s $(prefix)/lib/scaf || echo failed
 	install -m 644 compiler/optim.rules $(prefix)/lib/scaf || echo failed
 	install -m 755 rules/carules.scafo $(prefix)/lib/scaf/default.scafo || echo failed
-	#Check if pd is installed in $(prefix)/lib/pd. 
-	#If this fails the pdp_scaf lib and the docs won't be installed. 
-	test -d $(prefix)/lib/pd
 	install -m 755 pdp_scaf.pd_linux $(prefix)/lib/pd/extra
 	install -m 644 doc/*.pd $(prefix)/lib/pd/doc/5.reference