diff options
author | kris <kris@FreeBSD.org> | 2003-10-19 17:25:58 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-10-19 17:25:58 +0800 |
commit | fdce7ce7a936aed87fd6be1951b750ab470165e7 (patch) | |
tree | 53022b584020f58c1788e84107c6604402ebc08b /editors | |
parent | afe2d089daa8f0305f28d7219aea82e5f7f51f99 (diff) | |
download | freebsd-ports-graphics-fdce7ce7a936aed87fd6be1951b750ab470165e7.tar.gz freebsd-ports-graphics-fdce7ce7a936aed87fd6be1951b750ab470165e7.tar.zst freebsd-ports-graphics-fdce7ce7a936aed87fd6be1951b750ab470165e7.zip |
Respect CC and CFLAGS
Diffstat (limited to 'editors')
-rw-r--r-- | editors/uzap/files/patch-a | 82 |
1 files changed, 42 insertions, 40 deletions
diff --git a/editors/uzap/files/patch-a b/editors/uzap/files/patch-a index 6593df88550..1e1f4624888 100644 --- a/editors/uzap/files/patch-a +++ b/editors/uzap/files/patch-a @@ -1,40 +1,42 @@ -*** Makefile.orig Thu Mar 30 20:04:11 1989 ---- Makefile Mon Jun 19 22:15:57 1995 -*************** -*** 1,7 **** - # Makefile for Uzap. -! BINDIR = /usr/local -! MANDIR = /usr/man/manl -! MSECT = l - - uzap: uzap.o edit.o search.o screen.o - cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap ---- 1,9 ---- - # Makefile for Uzap. -! BINDIR = ${PREFIX}/bin/ -! MANDIR = ${PREFIX}/man/man1 -! MSECT = 1 -! -! all: uzap - - uzap: uzap.o edit.o search.o screen.o - cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap -*************** -*** 19,26 **** - cc -c -O screen.c - - install: uzap -! install -s -m 771 uzap $(BINDIR) -! install -c -m 664 uzap.man $(MANDIR)/uzap.$(MSECT) - - clean: -! rm -f *.o core uzap ---- 21,28 ---- - cc -c -O screen.c - - install: uzap -! install -s -m 755 -o bin -g bin uzap $(BINDIR) -! install -c -m 644 -o bin -g bin uzap.man $(MANDIR)/uzap.$(MSECT) - - clean: -! rm -f *.o core *.core uzap +--- Makefile.orig Thu Mar 30 10:04:11 1989 ++++ Makefile Sun Oct 19 02:17:28 2003 +@@ -1,26 +1,28 @@ + # Makefile for Uzap. +-BINDIR = /usr/local +-MANDIR = /usr/man/manl +-MSECT = l ++BINDIR = ${PREFIX}/bin/ ++MANDIR = ${PREFIX}/man/man1 ++MSECT = 1 ++ ++all: uzap + + uzap: uzap.o edit.o search.o screen.o +- cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap ++ $(CC) $(CFLAGS) uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap + + uzap.o: uzap.c +- cc -c -O uzap.c ++ $(CC) -c $(CFLAGS) uzap.c + + edit.o: edit.c +- cc -c -O edit.c ++ $(CC) -c $(CFLAGS) edit.c + + search.o: search.c +- cc -c -O search.c ++ $(CC) -c $(CFLAGS) search.c + + screen.o: screen.c +- cc -c -O screen.c ++ $(CC) -c $(CFLAGS) screen.c + + install: uzap +- install -s -m 771 uzap $(BINDIR) +- install -c -m 664 uzap.man $(MANDIR)/uzap.$(MSECT) ++ install -s -m 755 -o bin -g bin uzap $(BINDIR) ++ install -c -m 644 -o bin -g bin uzap.man $(MANDIR)/uzap.$(MSECT) + + clean: +- rm -f *.o core uzap ++ rm -f *.o core *.core uzap |