diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-08-18 21:09:09 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-08-18 21:09:09 +0800 |
commit | 32efdf6a5563e116e73d8412df5c1474a3d47338 (patch) | |
tree | cfef1bfaf53e7ae05b7ebccf85f7e6169efe00cc /x11-clocks/abclock | |
parent | 2bb67a643343d06eeda618b05f627ca36e6eae4c (diff) | |
download | freebsd-ports-gnome-32efdf6a5563e116e73d8412df5c1474a3d47338.tar.gz freebsd-ports-gnome-32efdf6a5563e116e73d8412df5c1474a3d47338.tar.zst freebsd-ports-gnome-32efdf6a5563e116e73d8412df5c1474a3d47338.zip |
Support CC properly
PR: 20657
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'x11-clocks/abclock')
-rw-r--r-- | x11-clocks/abclock/files/patch-aa | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/x11-clocks/abclock/files/patch-aa b/x11-clocks/abclock/files/patch-aa index 100745fc3bc4..0f554955f3e0 100644 --- a/x11-clocks/abclock/files/patch-aa +++ b/x11-clocks/abclock/files/patch-aa @@ -1,17 +1,33 @@ ---- Makefile.orig Tue Aug 15 06:19:17 2000 -+++ Makefile Tue Aug 15 11:35:39 2000 -@@ -1,12 +1,12 @@ +--- Makefile.orig Tue Aug 15 08:44:37 2000 ++++ Makefile Fri Aug 18 09:06:02 2000 +@@ -1,24 +1,24 @@ .SUFFIXES: -OPT = -s -Wall -+OPT = $(CFLAGS) -Wall -I$(X11BASE)/include ++OPT = $(CFLAGS) -I$(X11BASE)/include all: abclock abc_img abclock: abclock.o abclib.o - gcc $(OPT) -o abclock abclock.o abclib.o -lX11 -+ gcc $(OPT) -o abclock abclock.o abclib.o -lX11 -L$(X11BASE)/lib ++ $(CC) $(OPT) -o abclock abclock.o abclib.o -lX11 -L$(X11BASE)/lib abc_img: abc_img.o abclib.o - gcc $(OPT) -o abc_img abc_img.o abclib.o +- gcc $(OPT) -o abc_img abc_img.o abclib.o ++ $(CC) $(OPT) -o abc_img abc_img.o abclib.o + + abclib.o: abclib.c abclib.h +- gcc -c $(OPT) -o abclib.o abclib.c ++ $(CC) -c $(OPT) -o abclib.o abclib.c + + abclock.o: abclock.c abclib.h +- gcc -c $(OPT) -o abclock.o abclock.c ++ $(CC) -c $(OPT) -o abclock.o abclock.c + + abc_img.o: abc_img.c abclib.h +- gcc -c $(OPT) -o abc_img.o abc_img.c ++ $(CC) -c $(OPT) -o abc_img.o abc_img.c + + clean: + rm -f *.o |