summaryrefslogtreecommitdiff
path: root/archivers/macutils/files/patch-makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-27 15:27:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-27 15:27:04 +0000
commite2aedd8abd3ca3fb06e9a7ca9ccb01278ff31386 (patch)
tree6f70fd9588858cfa314056ee54c090493d3fcc75 /archivers/macutils/files/patch-makefile
parentdevel/py-nose: Update to 1.3.3, Fix tests (diff)
Start cleaning up some of the uselessly ambigious patches named
patch-xy, and giving them proper names.
Diffstat (limited to 'archivers/macutils/files/patch-makefile')
-rw-r--r--archivers/macutils/files/patch-makefile83
1 files changed, 83 insertions, 0 deletions
diff --git a/archivers/macutils/files/patch-makefile b/archivers/macutils/files/patch-makefile
new file mode 100644
index 000000000000..080da53c7ae2
--- /dev/null
+++ b/archivers/macutils/files/patch-makefile
@@ -0,0 +1,83 @@
+--- makefile.orig Sun Oct 3 05:16:00 1993
++++ makefile Sat Jun 10 13:35:16 2000
+@@ -1,5 +1,4 @@
+ SHELL = /bin/sh
+-BINDIR = /ufs/dik/tmpbin
+ # Use the following flags on the CF macro definition as needed.
+ #
+ # -DBSD if you are on a BSD system
+@@ -24,44 +23,44 @@
+ #
+ # -DAPPLEDOUBLE if you want to be able to use an AppleDouble file system
+ #
+-CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DNODOT -DAPPLEDOUBLE
++CF = -DBSD -DTYPES_H -DDIRENT_H -DTERMIOS_H -DAUFSPLUS ${CFLAGS}
+
+ all:
+- (cd crc; make CF='$(CF)')
+- (cd util; make CF='$(CF)')
+- (cd fileio; make CF='$(CF)')
+- (cd macunpack; make CF='$(CF)')
+- (cd hexbin; make CF='$(CF)')
+- (cd mixed; make CF='$(CF)')
+- (cd binhex; make CF='$(CF)')
+- (cd comm; make CF='$(CF)')
++ (cd crc; $(MAKE) CFLAGS='$(CF)')
++ (cd util; $(MAKE) CFLAGS='$(CF)')
++ (cd fileio; $(MAKE) CFLAGS='$(CF)')
++ (cd macunpack; $(MAKE) CFLAGS='$(CF)')
++ (cd hexbin; $(MAKE) CFLAGS='$(CF)')
++ (cd mixed; $(MAKE) CFLAGS='$(CF)')
++ (cd binhex; $(MAKE) CFLAGS='$(CF)')
++ (cd comm; $(MAKE) CFLAGS='$(CF)')
+
+ clean:
+- (cd crc; make clean)
+- (cd util; make clean)
+- (cd fileio; make clean)
+- (cd macunpack; make clean)
+- (cd hexbin; make clean)
+- (cd mixed; make clean)
+- (cd binhex; make clean)
+- (cd comm; make clean)
++ (cd crc; $(MAKE) clean)
++ (cd util; $(MAKE) clean)
++ (cd fileio; $(MAKE) clean)
++ (cd macunpack; $(MAKE) clean)
++ (cd hexbin; $(MAKE) clean)
++ (cd mixed; $(MAKE) clean)
++ (cd binhex; $(MAKE) clean)
++ (cd comm; $(MAKE) clean)
+
+ clobber:
+- (cd crc; make clean)
+- (cd util; make clean)
+- (cd fileio; make clean)
+- (cd macunpack; make clobber)
+- (cd hexbin; make clobber)
+- (cd mixed; make clobber)
+- (cd binhex; make clobber)
+- (cd comm; make clobber)
++ (cd crc; (MAKE) clean)
++ (cd util; (MAKE) clean)
++ (cd fileio; (MAKE) clean)
++ (cd macunpack; (MAKE) clobber)
++ (cd hexbin; (MAKE) clobber)
++ (cd mixed; (MAKE) clobber)
++ (cd binhex; (MAKE) clobber)
++ (cd comm; (MAKE) clobber)
+
+ lint:
+- (cd macunpack; make CF='$(CF)' lint)
+- (cd hexbin; make CF='$(CF)' lint)
+- (cd mixed; make CF='$(CF)' lint)
+- (cd binhex; make CF='$(CF)' lint)
+- (cd comm; make CF='$(CF)' lint)
++ (cd macunpack; (MAKE) CFLAGS='$(CF)' lint)
++ (cd hexbin; (MAKE) CFLAGS='$(CF)' lint)
++ (cd mixed; (MAKE) CFLAGS='$(CF)' lint)
++ (cd binhex; (MAKE) CFLAGS='$(CF)' lint)
++ (cd comm; (MAKE) CFLAGS='$(CF)' lint)
+
+ install:
+ cp macunpack/macunpack $(BINDIR)/.