]> granicus.if.org Git - graphviz/commitdiff
Use Macports for required packages.
authornorth <devnull@localhost>
Mon, 4 Apr 2011 20:12:23 +0000 (20:12 +0000)
committernorth <devnull@localhost>
Mon, 4 Apr 2011 20:12:23 +0000 (20:12 +0000)
macosx/build/Makefile.snowleopard

index 58183797a1cc0000fddad28082568cc026bec05c..23ad6906b330427e6d40d790bf6b3b723d00f1d1 100644 (file)
@@ -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