forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sci-geosciences/routino: making QA checks happy
Suggested-by: Fabio Rossi <[email protected]> Closes: https://bugs.gentoo.org/628398 Package-Manager: Portage-2.3.11, Repoman-2.3.3
- Loading branch information
Andrey Grozin
committed
Oct 24, 2017
1 parent
784e7fa
commit 8b549d5
Showing
4 changed files
with
89 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,56 @@ | ||
diff -r -U1 routino-3.2.orig/Makefile.conf routino-3.2/Makefile.conf | ||
--- routino-3.2.orig/Makefile.conf 2016-11-22 20:22:52.000000000 +0100 | ||
+++ routino-3.2/Makefile.conf 2017-04-01 23:58:23.835905270 +0200 | ||
@@ -47,3 +47,3 @@ | ||
--- routino-3.2/Makefile.conf 2017-10-22 16:03:29.917559780 +0200 | ||
+++ routino-3.2/Makefile.conf.new 2017-10-22 16:04:23.877562797 +0200 | ||
@@ -45,11 +45,11 @@ | ||
# Installation locations (edit if required) | ||
|
||
ifneq ($(HOST),MINGW) | ||
-prefix=/usr/local | ||
+prefix=/usr | ||
bindir=$(prefix)/bin | ||
@@ -51,3 +51,3 @@ | ||
incdir=$(prefix)/include | ||
libdir=$(prefix)/lib | ||
-docdir=$(prefix)/doc/routino | ||
+docdir=$(prefix)/share/doc/$(PF) | ||
datadir=$(prefix)/share/routino | ||
@@ -79,3 +79,3 @@ | ||
else | ||
prefix="c:/Program Files/Routino" | ||
@@ -74,16 +74,16 @@ | ||
|
||
|
||
# Maths library | ||
-LDFLAGS=-lm | ||
+LDFLAGS+=-lm | ||
|
||
# Language dialect selection | ||
-CFLAGS=-std=c99 | ||
+CFLAGS+=-std=c99 | ||
|
||
@@ -85,3 +85,3 @@ | ||
# Warning options | ||
CFLAGS+=-Wall -Wmissing-prototypes -Wextra -Wno-unused-parameter -pedantic | ||
|
||
# Optimisation options | ||
-CFLAGS+=-O3 | ||
+#CFLAGS+=-O3 | ||
CFLAGS+=-ffast-math | ||
@@ -141,4 +141,4 @@ | ||
|
||
# Optimisation option (only works if compilation and execution use exactly the same CPU architecture). | ||
@@ -118,7 +118,7 @@ | ||
endif | ||
|
||
# Put the current directory in the shared library path for the router using libroutino | ||
-LDFLAGS_LDSO=-Wl,-R. | ||
+#LDFLAGS_LDSO=-Wl,-R. | ||
|
||
|
||
# Required for multi-threaded support (comment these two lines out if not required) | ||
@@ -139,8 +139,8 @@ | ||
|
||
|
||
# Required for xz support (uncomment these two lines if required) | ||
-#CFLAGS+=-DUSE_XZ | ||
-#LDFLAGS+=-llzma | ||
+CFLAGS+=-DUSE_XZ | ||
+LDFLAGS+=-llzma | ||
|
||
|
||
# Required to use stdio with files > 2GiB on 32-bit system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters