diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-04 19:53:58 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-04 19:53:58 +0000 |
commit | 81c460f9ed3fcbb9f0317c0269c994f7ccfda032 (patch) | |
tree | 233bbf69c2fbe55108ad01c8cb45d03968330223 | |
parent | 5ebae9f842a9d841758f79ee00a38e3b97bb633c (diff) |
make distclean now cleans up autoconf cruft, preventing this error:
Can't locate object method "path" via package "Autom4te::Request"
svn path=/trunk/; revision=4134
-rw-r--r-- | packages/Makefile | 67 | ||||
-rw-r--r-- | packages/patches/build_vars_4_makefile.in.patch | 20 |
2 files changed, 82 insertions, 5 deletions
diff --git a/packages/Makefile b/packages/Makefile index fc2034ad..5da16872 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -146,8 +146,7 @@ endif PD_BUILD_FLAGS = -# Pd sometimes needs a specific autoconf, which is labeled differently on different -# machines +# Pd needs autoconf 2.5x, which is labeled differently on different machines #PD_AUTOCONF := ${shell ( test -x "`which autoconf-2.59`" && echo autoconf-2.59 ) || echo autoconf } PD_AUTOCONF = autoconf @@ -520,7 +519,68 @@ doc_format: # #==============================================================================# -devsymlinks: +devsymlinks: devsymlinks_$(OS_NAME) + + + +devsymlinks_win: + + +devsymlinks_linux: + + +TCLTK_VERSION=8.4 +devsymlinks_darwin: +# this makes /usr/local symlinks to the Tcl/Tk frameworks so that ./configure +# can find them. +# headers + test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tcl.h && \ + ln -s /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tcl.h \ + /usr/local/lib/tcl.h + test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclDecls.h && \ + ln -s /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclDecls.h \ + /usr/local/lib/tclDecls.h + test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclPlatDecls.h && \ + ln -s /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Headers/tclPlatDecls.h \ + /usr/local/lib/tclPlatDecls.h +# libs + test -e /Library/Frameworks/Tcl.framework/tclConfig.sh && \ + ln -s /Library/Frameworks/Tcl.framework/tclConfig.sh /usr/local/lib + test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Tcl && \ + ln -s /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/Tcl \ + /usr/local/lib/libtcl$(TCLTK_VERSION).dylib + test -e /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/libtclstub$(TCLTK_VERSION).a && \ + ln -s /Library/Frameworks/Tcl.framework/Versions/$(TCLTK_VERSION)/libtclstub$(TCLTK_VERSION).a \ + /usr/local/lib/libtclstub$(TCLTK_VERSION).a + test -e /usr/local/lib/libtcl$(TCLTK_VERSION).dylib && \ + ln -s /usr/local/lib/libtcl$(TCLTK_VERSION).dylib /usr/local/lib/libtcl.dylib +# headers + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tk.h && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tk.h \ + /usr/local/lib/tk.h + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkDecls.h && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkDecls.h \ + /usr/local/lib/tkDecls.h + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkIntXlibDecls.h && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkIntXlibDecls.h \ + /usr/local/lib/tkIntXlibDecls.h + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkMacOSX.h && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkMacOSX.h \ + /usr/local/lib/tkMacOSX.h + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkPlatDecls.h && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Headers/tkPlatDecls.h \ + /usr/local/lib/tkPlatDecls.h +# libs + test -e /Library/Frameworks/Tk.framework/tkConfig.sh && \ + ln -s /Library/Frameworks/Tk.framework/tkConfig.sh /usr/local/lib + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Tk && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/Tk \ + /usr/local/lib/libtk$(TCLTK_VERSION).dylib + test -e /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/libtkstub$(TCLTK_VERSION).a && \ + ln -s /Library/Frameworks/Tk.framework/Versions/$(TCLTK_VERSION)/libtkstub$(TCLTK_VERSION).a \ + /usr/local/lib/libtkstub$(TCLTK_VERSION).a + test -e /usr/local/lib/libtk$(TCLTK_VERSION).dylib && \ + ln -s /usr/local/lib/libtk$(TCLTK_VERSION).dylib /usr/local/lib/libtk.dylib @@ -628,3 +688,4 @@ test: @echo "HELPDIR $(helpdir)" @echo "MANUALSDIR $(manualsdir)" @echo "EXAMPLESDIR $(examplesdir)" + diff --git a/packages/patches/build_vars_4_makefile.in.patch b/packages/patches/build_vars_4_makefile.in.patch index eaa43080..6e66e74b 100644 --- a/packages/patches/build_vars_4_makefile.in.patch +++ b/packages/patches/build_vars_4_makefile.in.patch @@ -4,7 +4,7 @@ RCS file: /cvsroot/pure-data/pd/src/makefile.in,v retrieving revision 1.5 diff -u -w -r1.5 makefile.in --- makefile.in 6 Nov 2004 16:07:33 -0000 1.5 -+++ makefile.in 2 Dec 2005 15:46:04 -0000 ++++ makefile.in 4 Dec 2005 19:45:18 -0000 @@ -5,10 +5,20 @@ EXT= @EXT@ GUINAME= @GUINAME@ @@ -91,7 +91,23 @@ diff -u -w -r1.5 makefile.in local-clean: -rm -f ../obj/* $(BIN_DIR)/pd $(BIN_DIR)/$(GUINAME) $(BIN_DIR)/pdsend \ -@@ -166,14 +185,14 @@ +@@ -154,11 +173,10 @@ + clean: extra-clean local-clean + + distclean: clean +- rm -rf config.cache config.log config.status makefile tags \ +- autom4te-*.cache +- echo all: > makefile +- echo -e "\t./configure" >> makefile +- echo -e "\tmake" >> makefile ++ -rm -f config.cache config.log config.status makefile configure tags \ ++ autom4te.cache/output.* autom4te.cache/traces.* autom4te.cache/requests ++ -rmdir autom4te.cache ++ -rm -rf autom4te-*.cache + + tags: $(SRC) $(GSRC); ctags *.[ch] + +@@ -166,14 +184,14 @@ $(CC) $(INCLUDE) $(CFLAGS) -M $(SRC) > makefile.dependencies uninstall: |