You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/routino/files/routino-3.1.1.patch

35 lines
828 B

diff -r -U1 routino-3.1.1.orig/Makefile.conf routino-3.1.1/Makefile.conf
--- routino-3.1.1.orig/Makefile.conf 2016-03-05 19:49:21.000000000 +0600
+++ routino-3.1.1/Makefile.conf 2016-07-16 20:09:22.208869580 +0600
@@ -47,3 +47,3 @@
ifneq ($(HOST),MINGW)
-prefix=/usr/local
+prefix=/usr
bindir=$(prefix)/bin
@@ -51,3 +51,3 @@
libdir=$(prefix)/lib
-docdir=$(prefix)/doc/routino
+docdir=$(prefix)/share/doc/$(PF)
datadir=$(prefix)/share/routino
@@ -76,6 +76,6 @@
# Maths library
-LDFLAGS=-lm
+LDFLAGS+=-lm
# Language dialect selection
-CFLAGS=-std=c99
+CFLAGS+=-std=c99
@@ -85,3 +85,3 @@
# Optimisation options
-CFLAGS+=-O3
+#CFLAGS+=-O3
CFLAGS+=-ffast-math
@@ -141,4 +141,4 @@
# Required for xz support (uncomment these two lines if required)
-#CFLAGS+=-DUSE_XZ
-#LDFLAGS+=-llzma
+CFLAGS+=-DUSE_XZ
+LDFLAGS+=-llzma