Package: jconvolver / 0.9.3-1

makefile.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
Patch is applied because autotools are not used by upstream author. Patch setting prefix=/usr and fix install commands and remove some cppflags
---
 source/Makefile |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: jconv/source/Makefile
===================================================================
--- jconv.orig/source/Makefile	2014-02-26 12:53:18.755253572 +0100
+++ jconv/source/Makefile	2014-02-26 12:55:09.571951186 +0100
@@ -19,14 +19,16 @@
 # --------------------------------------------------------------------------------
 
 
-PREFIX = /usr/local
+PREFIX = /usr
+DESTDIR=
 SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
 LIBDIR = lib$(SUFFIX)
 VERSION = 0.9.3
 LDFLAGS += -L$(PREFIX)/$(LIBDIR)
 CPPFLAGS += -DVERSION=\"$(VERSION)\"
+CPPFLAGS += -ffast-math -funroll-loops
 CXXFLAGS += -O3 -Wall -MMD -MP
-CXXFLAGS += -march=native
+#CXXFLAGS += -march=native
 
 
 all:	jconvolver fconvolver makemulti