freebsd-ports/devel/dmake/files/patch-aa
Steve Price f623b41dc2 * Added secondary site to MASTER_SITES
* Moved install path of data files from lib/ to share/
* Modified patches to support CC/CFLAGS properly

PR:		15534
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-25 01:47:47 +00:00

104 lines
4.1 KiB
Plaintext

--- unix/bsd43/make.sh.orig Wed Jul 16 01:02:35 1997
+++ unix/bsd43/make.sh Fri Dec 17 05:27:21 1999
@@ -1,69 +1,64 @@
+if [ ! -x dmake ]
+then
mkdir objects
-cc -c -I. -Iunix -Iunix/bsd43 -O infer.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 infer.c
mv infer.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O make.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 make.c
mv make.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O stat.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 stat.c
mv stat.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O expand.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 expand.c
mv expand.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmstring.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmstring.c
mv dmstring.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O hash.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 hash.c
mv hash.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dag.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dag.c
mv dag.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmake.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmake.c
mv dmake.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O path.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 path.c
mv path.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O imacs.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 imacs.c
mv imacs.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O sysintf.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 sysintf.c
mv sysintf.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O parse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 parse.c
mv parse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O getinp.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 getinp.c
mv getinp.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O quit.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 quit.c
mv quit.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O state.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 state.c
mv state.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O dmdump.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 dmdump.c
mv dmdump.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O macparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 macparse.c
mv macparse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O rulparse.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 rulparse.c
mv rulparse.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O percent.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 percent.c
mv percent.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O function.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 function.c
mv function.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/arlib.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/arlib.c
mv arlib.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/dirbrk.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/dirbrk.c
mv dirbrk.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/rmprq.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/rmprq.c
mv rmprq.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/ruletab.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/ruletab.c
mv ruletab.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/runargv.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 unix/runargv.c
mv runargv.o objects
-cc -c -I. -Iunix -Iunix/bsd43 -O unix/dcache.c
+${CC} ${CFLAGS} -c -I. -Iunix -Iunix/bsd43 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 \
+${CC} ${CFLAGS} -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