diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-10-19 09:53:20 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-10-19 09:53:20 +0000 |
commit | 680ebec5a96987c17b10318c9192f3803acc9413 (patch) | |
tree | e1d88ef3341db0ed204c710e9be5c27c5f03eb54 /graphics | |
parent | Fix plist and bump PORTREVISION subsequently. (diff) |
Respect CC and CFLAGS
Notes
Notes:
svn path=/head/; revision=91655
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/ophoto/files/patch-ab | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/graphics/ophoto/files/patch-ab b/graphics/ophoto/files/patch-ab new file mode 100644 index 000000000000..45cfb990da96 --- /dev/null +++ b/graphics/ophoto/files/patch-ab @@ -0,0 +1,47 @@ +--- Makefile.orig Sat Dec 18 23:35:16 1999 ++++ Makefile Sun Oct 19 02:47:23 2003 +@@ -6,34 +6,36 @@ + # @(#)$Id: Makefile,v 1.5 1999/08/28 23:32:12 olli Exp $ + # + +-CFLAGS=-Wall -ansi -pedantic -O -pipe ++CC?=cc ++CFLAGS?=-O -pipe ++CFLAGS+=-Wall -ansi -pedantic + + BIN=ophoto + OBJS=ophoto.o command.o directory.o proto.o utils.o getlopt.o + + $(BIN): $(OBJS) +- cc $(CFLAGS) -o $(BIN) $(OBJS) ++ $(CC) $(CFLAGS) -o $(BIN) $(OBJS) + + ophoto.o: ophoto.h ophoto.c proto.h utils.h getlopt.h +- cc $(CFLAGS) -c ophoto.c ++ $(CC) $(CFLAGS) -c ophoto.c + + command.o: command.c command.h directory.h ophoto.h proto.h +- cc $(CFLAGS) -c command.c ++ $(CC) $(CFLAGS) -c command.c + + directory.o: directory.c directory.h proto.h ophoto.h +- cc $(CFLAGS) -c directory.c ++ $(CC) $(CFLAGS) -c directory.c + + proto.o: proto.c proto.h cmds.h +- cc $(CFLAGS) -c proto.c ++ $(CC) $(CFLAGS) -c proto.c + + cmds.h: cmds.src + ./cmds.make cmds.src > cmds.h + + utils.o: utils.c utils.h +- cc $(CFLAGS) -c utils.c ++ $(CC) $(CFLAGS) -c utils.c + + getlopt.o: getlopt.c getlopt.h +- cc $(CFLAGS) -c getlopt.c ++ $(CC) $(CFLAGS) -c getlopt.c + + install: + strip $(BIN) |