Convert to spec style
[git/cygwin-packages/ladspa-pvoc.git] / 0.1.12-build.patch
1 --- origsrc/pvoc-0.1.12/Makefile 2008-01-15 04:59:12.000000000 -0600
2 +++ src/pvoc-0.1.12/Makefile 2009-07-12 03:24:23.045070200 -0500
3 @@ -1,8 +1,9 @@
4 PREFIX = /usr/local
5
6 -OPTS = -O6 -ffast-math -funroll-loops -Wall -fPIC
7 +OPTS = $(CXXFLAGS) -O6 -ffast-math -funroll-loops -Wall
8
9 CC = g++
10 +STRIP = strip
11
12 PLUG = pvoc
13 UTIL = stretch
14 @@ -47,7 +48,7 @@ run: all
15 sudo python -i test.py
16
17 $(PLUG).so: $(PLUGOBJ) $(PVOCOBJ)
18 - $(CC) -nostartfiles -shared -o $@ $(PLUGOBJ) $(PVOCOBJ) $(PLUGLDOPTS)
19 + $(CC) -shared -o $@ $(PLUGOBJ) $(PVOCOBJ) $(PLUGLDOPTS)
20
21 $(UTIL): $(UTILOBJ) $(PVOCOBJ)
22 $(CC) -o $@ $(UTILOBJ) $(PVOCOBJ) $(UTILLDOPTS)
23 @@ -63,8 +64,8 @@ tags: $(SOURCES) $(HEADERS)
24 @-if [ -x /usr/bin/ctags ]; then ctags $(SOURCES) $(HEADERS) ; fi
25
26 install: all
27 - strip $(PLUG).so
28 - strip $(UTIL)
29 + $(STRIP) $(PLUG).so
30 + $(STRIP) $(UTIL)
31 install -d $(PLUGDEST)
32 install -d $(UTILDEST)
33 install -d $(MAN1DEST)
This page took 0.032024 seconds and 5 git commands to generate.