diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2012-04-11 06:18:00 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2012-04-11 06:18:00 +0000 |
commit | e4010ab91b1be1b9d528e2dcdfb5ec63733e7530 (patch) | |
tree | 0b3c0077c8205b389596b65c293c6743a7ce2aa6 /audio/tclmidi/files/patch-smf__Makefile.in | |
parent | php4 is EOLed, deprecate ports depending on it. (diff) |
Unbreak and fix:
* Use BSDmakefile (and bsd.lib.mk) instead of
configure/Makefile.in;
* plug some (but not all!) ancient memory leaks;
* make use of bsd.tcl.mk (now requires Tcl-8.4 or higher);
* fix warnings and 64-bit issues;
* bump PORTREVISION.
To do:
* plug the remaining memory leak (valgrind is priceless!);
* fix up the author's tests to uniformly report failure or
success and arrange for them to run post-build.
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=294612
Diffstat (limited to 'audio/tclmidi/files/patch-smf__Makefile.in')
-rw-r--r-- | audio/tclmidi/files/patch-smf__Makefile.in | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/audio/tclmidi/files/patch-smf__Makefile.in b/audio/tclmidi/files/patch-smf__Makefile.in index af1a63d8f89c..83cd73c753c9 100644 --- a/audio/tclmidi/files/patch-smf__Makefile.in +++ b/audio/tclmidi/files/patch-smf__Makefile.in @@ -1,12 +1,30 @@ ---- smf/Makefile.in.orig Thu Oct 10 05:32:53 1996 -+++ smf/Makefile.in Mon Mar 15 16:30:42 2004 -@@ -14,7 +14,8 @@ +--- smf/Makefile.in Thu Oct 10 05:32:53 1996 ++++ smf/Makefile.in 2012-04-07 12:16:41.000000000 -0400 +@@ -14,7 +14,9 @@ VPATH = @srcdir@ CFLAGS = @CFLAGS@ @DEFS@ -CC_SWITCHES = @CFLAGS@ @DEFS@ -I${TCL_GENERIC_DIR} ${SHLIB_CFLAGS} +CC_SWITCHES = @CFLAGS@ @DEFS@ -I${TCL_GENERIC_DIR} ${SHLIB_CFLAGS} \ + -I$(srcdir)/../smf -I$(srcdir)/../song -I$(srcdir)/.. -I$(srcdir) ++CXX_SWITCHES= ${CC_SWITCHES} ${CXXFLAGS} SMFFILES = SMFUtils.o SMFHead.o SMFTrack.o SMFFILES_SRC = SMFUtils.cxx SMFHead.cxx SMFTrack.cxx +@@ -22,7 +24,7 @@ + .SUFFIXES: .cxx $(SUFFIXES) + + .cxx.o: +- @CXX@ -c $(CC_SWITCHES) $< ++ @CXX@ -c $(CXX_SWITCHES) $< + + objs: $(SMFFILES) + for f in $(SMFFILES) ; do echo smf/$$f ; done > objs +@@ -31,6 +33,6 @@ + sed "/[#]# Dependancies/,$$$$d" < Makefile > Makefile.tmp + echo >> Makefile.tmp + echo "##" "Dependancies" >> Makefile.tmp +- @CXX@ -M $(CC_SWITCHES) $(SMFFILES_SRC) >> Makefile.tmp ++ @CXX@ -M $(CXX_SWITCHES) $(SMFFILES_SRC) >> Makefile.tmp + cp Makefile.tmp Makefile + rm Makefile.tmp |