1 --- metis-5.1.0/GKlib/Makefile 2007-03-27 17:34:29.000000000 -0400
2 +++ metis-5.1.0/GKlib/Makefile 2010-10-26 01:02:24.000000000 -0400
8 + #-------------------------------------------------------------------
9 + # These defs are common among the GNU/GCC based systems
10 + #-------------------------------------------------------------------
11 + #Library creation information
15 + #Compile input/output file specification
19 + # Standard file extensions
24 ifeq ($(systype),Linux)
25 ifeq ($(x86compiler),gcc)
28 ifeq ($(systype),Darwin)
32 + OPTFLAGS = -O3 -shared
33 COPTIONS = -DDARWIN -D_FILE_OFFSET_BITS=64 -Wall -std=c99 -pedantic
42 + AR = gcc -shared -dynamiclib -undefined dynamic_lookup -o $@
43 + LD = $(CC) -dynamiclib -undefined dynamic_lookup
54 - #-------------------------------------------------------------------
55 - # These defs are common among the GNU/GCC based systems
56 - #-------------------------------------------------------------------
57 - #Library creation information
61 - #Compile input/output file specification
65 - # Standard file extensions
72 diff -uNr metis-5.0pre2/Makefile.in metis-5.0pre2_patch/Makefile.in
73 --- metis-5.0pre2/Makefile.in 2007-04-08 00:01:04.000000000 -0400
74 +++ metis-5.0pre2_patch/Makefile.in 2010-10-26 01:01:50.000000000 -0400
76 ifeq ($(systype),Darwin)
80 - COPTIONS += -DDARWINPPC
81 + OPTFLAGS = -O3 -shared
82 + COPTIONS += -DDARWIN
83 + AR = gcc -shared -dynamiclib -undefined dynamic_lookup -o $@
84 + LD = $(CC) -dynamiclib -undefined dynamic_lookup
89 ifeq ($(systype),CYGWIN)