1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-03 22:23:24 +00:00
freebsd-ports/devel/dmake/files/patch-aa
Masafumi Max NAKANE 168ad60604 Upgrade, 4.0 -> 4.1.
As I do the upgrade, I made this port truely respect the setting of PREFIX,
ie, now the executable looks for the config files in ${PREFIX}/lib/dmake.
Also, instead of patching the makefile in the source distribution to
add the install: target, define it in the port Makefile.
And, move the scripts/post-patch into the port Makefile.
1997-09-07 20:23:13 +00:00

31 lines
1.2 KiB
Plaintext

--- unix/bsd43/make.sh.orig Wed Jul 16 01:02:35 1997
+++ unix/bsd43/make.sh Mon Sep 8 03:01:42 1997
@@ -1,3 +1,5 @@
+if [ ! -x dmake ]
+then
mkdir objects
cc -c -I. -Iunix -Iunix/bsd43 -O infer.c
mv infer.o objects
@@ -51,19 +53,12 @@
mv runargv.o objects
cc -c -I. -Iunix -Iunix/bsd43 -O unix/dcache.c
mv dcache.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/putenv.c
-mv putenv.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/tempnam.c
-mv tempnam.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/utime.c
-mv utime.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/bsd43/setvbuf.c
-mv setvbuf.o objects
cc -O -o dmake objects/infer.o objects/make.o objects/stat.o objects/expand.o \
objects/dmstring.o objects/hash.o objects/dag.o objects/dmake.o objects/path.o \
objects/imacs.o objects/sysintf.o objects/parse.o objects/getinp.o \
objects/quit.o objects/state.o objects/dmdump.o objects/macparse.o \
objects/rulparse.o objects/percent.o objects/function.o objects/arlib.o \
objects/dirbrk.o objects/rmprq.o objects/ruletab.o objects/runargv.o \
-objects/dcache.o objects/putenv.o objects/tempnam.o objects/utime.o objects/setvbuf.o
+objects/dcache.o
cp unix/bsd43/template.mk startup/config.mk
+fi