Revision
68410
Author
ryandesign@macports.org
Date
2010-06-02 19:42:12 -0700 (Wed, 02 Jun 2010)

Log Message

msieve: add patchfile that goes with r68409

Added Paths

Diff

Added: trunk/dports/math/msieve/files/patch-Makefile (0 => 68410)


--- trunk/dports/math/msieve/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/math/msieve/files/patch-Makefile	2010-06-03 02:42:12 UTC (rev 68410)
@@ -0,0 +1,19 @@
+--- Makefile.orig	2010-04-21 22:14:46.000000000 -0500
++++ Makefile	2010-06-02 21:25:25.000000000 -0500
+@@ -14,13 +14,13 @@
+ 
+ # gcc with basic optimization (-march flag could
+ # get overridden by architecture-specific builds)
+-CC = gcc -D_FILE_OFFSET_BITS=64
++CC = @CC@ -D_FILE_OFFSET_BITS=64
+ WARN_FLAGS = -Wall -W
+-OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
++OPT_FLAGS = -O3 -fomit-frame-pointer -DNDEBUG
+ #OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG
+ 
+ CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \
+-		-I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1
++		-I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 $(CPPFLAGS)
+ 
+ # tweak the compile flags
+