aboutsummaryrefslogtreecommitdiffstats
path: root/cad/magic
diff options
context:
space:
mode:
authorjseger <jseger@FreeBSD.org>1997-11-30 05:43:09 +0800
committerjseger <jseger@FreeBSD.org>1997-11-30 05:43:09 +0800
commit893baab939f2fed7db8d4b0039193aa9195f1d4c (patch)
tree90eec0d99c54bc37972e9d68083ac991a6edbf1e /cad/magic
parent031b76c294dbcb94dd853f00c8ffc25d39c7c123 (diff)
downloadfreebsd-ports-gnome-893baab939f2fed7db8d4b0039193aa9195f1d4c.tar.gz
freebsd-ports-gnome-893baab939f2fed7db8d4b0039193aa9195f1d4c.tar.zst
freebsd-ports-gnome-893baab939f2fed7db8d4b0039193aa9195f1d4c.zip
Make this build under 3.0.
Diffstat (limited to 'cad/magic')
-rw-r--r--cad/magic/files/patch-aa44
1 files changed, 44 insertions, 0 deletions
diff --git a/cad/magic/files/patch-aa b/cad/magic/files/patch-aa
new file mode 100644
index 000000000000..f4e50290051c
--- /dev/null
+++ b/cad/magic/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.orig Tue Jul 23 16:39:34 1996
++++ Makefile Sat Nov 29 11:18:28 1997
+@@ -39,8 +39,8 @@
+ :status Makefile READ_ME
+ DIRS = include cadlib
+ CMD = echo Need to define your command via 'make cmd CMD=command'
+-CADDIR = `:findcad`
+-CADDIR_SUB = `../:findcad`
++CADDIR = `/bin/csh :findcad`
++CADDIR_SUB = `/bin/csh ../:findcad`
+
+ everything: ${MODULES} .config
+ /bin/csh :makeall installhdrs ${MODULES}
+@@ -57,11 +57,11 @@
+
+
+ directories:
+- :mkdir ${CADDIR}/bin
+- :mkdir ${CADDIR}/lib
+- :mkdir ${CADDIR}/lib/magic
+- :mkdir ${CADDIR}/lib/magic/sys
+- :mkdir ${CADDIR}/man
++ /bin/csh :mkdir ${CADDIR}/bin
++ /bin/csh :mkdir ${CADDIR}/lib
++ /bin/csh :mkdir ${CADDIR}/lib/magic
++ /bin/csh :mkdir ${CADDIR}/lib/magic/sys
++ /bin/csh :mkdir ${CADDIR}/man
+
+ # Remakes the binary in 'lib', if needed. Used for recompiling on
+ # a remote machine.
+@@ -145,10 +145,12 @@
+ cd magic; make magicp
+
+ wc: ${MODULES}
+- :countlines ${MODULES}
++ /bin/csh :countlines ${MODULES}
+
+ moduleNames:
+ echo ${MODULES}
+
+ forceit:
+
++all: everything
++all: everything