From: north Date: Mon, 4 Apr 2011 20:12:23 +0000 (+0000) Subject: Use Macports for required packages. X-Git-Tag: LAST_LIBGRAPH~32^2~861 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd8c06e9f506b39cee232149455489106e73f770;p=graphviz Use Macports for required packages. --- diff --git a/macosx/build/Makefile.snowleopard b/macosx/build/Makefile.snowleopard index 58183797a..23ad6906b 100644 --- a/macosx/build/Makefile.snowleopard +++ b/macosx/build/Makefile.snowleopard @@ -7,14 +7,14 @@ PMSURVEY=$(CURDIR)/pmsurvey # prefix -PREFIX=$(HOME)/FIX/Darwin.i386 +PREFIX=/opt/local # base GV_DIR=../.. DOT=dot -ARCH = -arch ppc -arch i386 -arch x86_64 +ARCH = -arch i386 -arch x86_64 # # graphviz @@ -52,8 +52,8 @@ postinstall: echo "#!/bin/sh" >$@ echo >>$@ echo "/usr/local/bin/dot -c" >>$@ - make -n -C ../../tclpkg install-data-hook >>$@ - echo "arch -arch ppc -arch i386 /usr/local/bin/gv-fc-cache" >>$@ + echo ignoring: make -n -C ../../tclpkg install-data-hook >>$@ + 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 @@ -70,7 +70,7 @@ $(GV_DIR)/Makefile: $(GV_DIR)/configure @echo @echo CONFIGURING GRAPHVIZ... @echo - cd $(GV_DIR) && ./configure --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -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" + cd $(GV_DIR) && ./configure --enable-swig=no --disable-dependency-tracking --with-ipsepcola --with-quartz --with-smyrna --disable-perl --with-extra-includedir="$(PREFIX)/include" --with-extra-libdir="$(PREFIX)/lib" CFLAGS="-O2 $(ARCH)" CXXFLAGS="-O2 $(ARCH)" OBJCFLAGS="-O2 $(ARCH)" LDFLAGS="$(ARCH) -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" clean: $(MAKE) -C $(GV_DIR) clean