1 diff -uNr metis-5.0pre2/GKlib/trunk/Makefile metis-5.0pre2_patch/GKlib/trunk/Makefile
2 --- metis-5.0pre2/GKlib/trunk/Makefile 2007-03-27 17:34:29.000000000 -0400
3 +++ metis-5.0pre2_patch/GKlib/trunk/Makefile 2010-10-26 01:02:24.000000000 -0400
9 + #-------------------------------------------------------------------
10 + # These defs are common among the GNU/GCC based systems
11 + #-------------------------------------------------------------------
12 + #Library creation information
16 + #Compile input/output file specification
20 + # Standard file extensions
25 ifeq ($(systype),Linux)
26 ifeq ($(x86compiler),gcc)
29 ifeq ($(systype),Darwin)
33 + OPTFLAGS = -O3 -shared
34 COPTIONS = -DDARWIN -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -pedantic
43 + AR = gcc -shared -dynamiclib -undefined dynamic_lookup -o $@
44 + LD = $(CC) -dynamiclib -undefined dynamic_lookup
55 - #-------------------------------------------------------------------
56 - # These defs are common among the GNU/GCC based systems
57 - #-------------------------------------------------------------------
58 - #Library creation information
62 - #Compile input/output file specification
66 - # Standard file extensions
73 diff -uNr metis-5.0pre2/Makefile.in metis-5.0pre2_patch/Makefile.in
74 --- metis-5.0pre2/Makefile.in 2007-04-08 00:01:04.000000000 -0400
75 +++ metis-5.0pre2_patch/Makefile.in 2010-10-26 01:01:50.000000000 -0400
77 ifeq ($(systype),Darwin)
81 - COPTIONS += -DDARWINPPC
82 + OPTFLAGS = -O3 -shared
83 + COPTIONS += -DDARWIN
84 + AR = gcc -shared -dynamiclib -undefined dynamic_lookup -o $@
85 + LD = $(CC) -dynamiclib -undefined dynamic_lookup
90 ifeq ($(systype),CYGWIN)