summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-07-08 11:22:05 +0000
committerThomas Kahle <tomka@gentoo.org>2011-07-08 11:22:05 +0000
commitcb06bb83311d81cf944a02dfa16118fae413f6a0 (patch)
tree9d9427d642db300ce6a274fafe1a0bc3a2d7534a /sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch
parentFix docs installation (bug #374369 by Chris Mayo) and version bump. (diff)
downloadgentoo-2-cb06bb83311d81cf944a02dfa16118fae413f6a0.tar.gz
gentoo-2-cb06bb83311d81cf944a02dfa16118fae413f6a0.tar.bz2
gentoo-2-cb06bb83311d81cf944a02dfa16118fae413f6a0.zip
Bump to 2.7
(Portage version: 2.1.10.3/cvs/Linux i686)
Diffstat (limited to 'sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch')
-rw-r--r--sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch b/sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch
new file mode 100644
index 000000000000..27c4935a3edc
--- /dev/null
+++ b/sci-mathematics/normaliz/files/normaliz-2.7-respect-flags.patch
@@ -0,0 +1,42 @@
+diff -U 3 -dHrN Normaliz2.7.orig/source/Makefile Normaliz2.7/source/Makefile
+--- Normaliz2.7.orig/source/Makefile 2011-07-08 13:02:49.000000000 +0200
++++ Normaliz2.7/source/Makefile 2011-07-08 13:04:45.000000000 +0200
+@@ -17,14 +17,14 @@
+ $(MAKE) --directory=libnormaliz libnormaliz.o
+
+ normaliz: $(SOURCES) $(HEADERS) libnormaliz/libnormaliz.o
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) Normaliz.cpp libnormaliz/libnormaliz.o $(GMPFLAGS) -o normaliz
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) Normaliz.cpp libnormaliz/libnormaliz.o $(GMPFLAGS) -o normaliz
+
+ normaliz1: $(SOURCES) $(HEADERS) $(LIBHEADERS) $(LIBSOURCES)
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) Normaliz-impl.cpp $(GMPFLAGS) -o normaliz1
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) Normaliz-impl.cpp $(GMPFLAGS) -o normaliz1
+
+
+ normaliz-pg: $(SOURCES) $(HEADERS) $(LIBHEADERS) $(LIBSOURCES)
+- $(CXX) $(CXXFLAGS) $(NORMFLAGS) -pg Normaliz-impl.cpp $(GMPFLAGS) -o normaliz-pg
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(NORMFLAGS) -pg Normaliz-impl.cpp $(GMPFLAGS) -o normaliz-pg
+
+ clean:
+ $(MAKE) --directory=libnormaliz clean
+diff -U 3 -dHrN Normaliz2.7.orig/source/Makefile.configuration Normaliz2.7/source/Makefile.configuration
+--- Normaliz2.7.orig/source/Makefile.configuration 2011-07-08 13:02:49.000000000 +0200
++++ Normaliz2.7/source/Makefile.configuration 2011-07-08 13:03:26.000000000 +0200
+@@ -1,10 +1,8 @@
+ ##
+ ## Makefile configuration for normaliz
+ ##
+-CXX = g++
+ CXXFLAGS += -Wall
+ CXXFLAGS += -pedantic -Wno-long-long
+-CXXFLAGS += -O3 -funroll-loops
+ #CXXFLAGS += -g
+ #CXXFLAGS += -pg
+
+@@ -15,6 +13,5 @@
+ CXXFLAGS += -fopenmp
+ endif
+
+-NORMFLAGS = -static
+ GMPFLAGS = -lgmpxx -lgmp
+