From 304304879af441a8517b3fa45fde2adf158bafe2 Mon Sep 17 00:00:00 2001 From: north Date: Thu, 7 Apr 2011 18:52:26 +0000 Subject: [PATCH] *** empty log message *** --- macosx/build/Makefile.leopard | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/macosx/build/Makefile.leopard b/macosx/build/Makefile.leopard index 45532e8d3..6729b4378 100644 --- a/macosx/build/Makefile.leopard +++ b/macosx/build/Makefile.leopard @@ -49,8 +49,8 @@ postinstall: echo >>$@ echo "/usr/local/bin/dot -c" >>$@ make -n -C ../../tclpkg install-data-hook >>$@ - echo "arch -arch i386 -arch ppc /usr/local/bin/gv-fc-cache" >>$@ - echo 'if test `sysctl -n hw.cpu64bit_capable` = 1; then arch -arch x86_64 -arch ppc64 /usr/local/bin/gv-fc-cache; fi' >>$@ + echo "arch -arch i386 /usr/local/bin/gv-fc-cache" >>$@ + echo 'if test `sysctl -n hw.cpu64bit_capable` = 1; then arch -arch x86_64 /usr/local/bin/gv-fc-cache; fi' >>$@ $(GV_DIR)/cmd/dot/.libs/$(DOT): $(GV_DIR)/Makefile @echo @@ -59,11 +59,12 @@ $(GV_DIR)/cmd/dot/.libs/$(DOT): $(GV_DIR)/Makefile if [[ -e $@ ]]; then $(MAKE) -C $(GV_DIR) clean; fi $(MAKE) -C $(GV_DIR)/tclpkg/tkstubs $(MAKE) -C $(GV_DIR)/tclpkg/tclstubs - $(MAKE) -C $(GV_DIR)/tclpkg/tkspline CFLAGS="-O2 -arch ppc -arch i386 -I$(PREFIX)/include" LDFLAGS="-arch ppc -arch i386 -L$(PREFIX)/lib -Wl,-dead_strip" + $(MAKE) -C $(GV_DIR)/tclpkg/tkspline CFLAGS="-O2 -arch i386 -I$(PREFIX)/include" LDFLAGS="-arch i386 -L$(PREFIX)/lib -Wl,-dead_strip" $(MAKE) -C $(GV_DIR) $(GV_DIR)/Makefile: $(GV_DIR)/configure @echo @echo CONFIGURING GRAPHVIZ... @echo - cd $(GV_DIR) && ./configure --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna CFLAGS="-O2 -arch ppc -arch i386 -arch ppc64 -arch x86_64 -I$(PREFIX)/include" CXXFLAGS="-O2 -arch ppc -arch i386 -arch ppc64 -arch x86_64 -I$(PREFIX)/include" OBJCFLAGS="-O2 -arch ppc -arch i386 -arch ppc64 -arch x86_64 -I$(PREFIX)/include" LDFLAGS="-arch ppc -arch i386 -arch ppc64 -arch x86_64 -L$(PREFIX)/lib -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig" +# add ppc and ppc64 below if you want them + cd $(GV_DIR) && ./configure --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna CFLAGS="-O2 -arch i386 -arch x86_64 -I$(PREFIX)/include" CXXFLAGS="-O2 -arch i386 -arch x86_64 -I$(PREFIX)/include" OBJCFLAGS="-O2 -arch i386 -arch x86_64 -I$(PREFIX)/include" LDFLAGS="-arch i386 -arch x86_64 -L$(PREFIX)/lib -Wl,-dead_strip" GDLIB_CONFIG="$(PREFIX)/bin/gdlib-config" PKG_CONFIG="$(PREFIX)/bin/pkg-config" PKG_CONFIG_PATH="$(PREFIX)/lib/pkgconfig:/usr/X11/lib/pkgconfig" -- 2.40.0