diff options
author | kris <kris@FreeBSD.org> | 2000-02-06 15:17:21 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-06 15:17:21 +0800 |
commit | a2acb7e8535f47a724f622b9ccff7afb192c295a (patch) | |
tree | 968f029548fbd704aa13325e508fa842bfd6b24a /net | |
parent | a249500012f6e6b2a46c48dbcd1f50719a29328f (diff) | |
download | freebsd-ports-gnome-a2acb7e8535f47a724f622b9ccff7afb192c295a.tar.gz freebsd-ports-gnome-a2acb7e8535f47a724f622b9ccff7afb192c295a.tar.zst freebsd-ports-gnome-a2acb7e8535f47a724f622b9ccff7afb192c295a.zip |
Respect CC and CFLAGS
Diffstat (limited to 'net')
-rw-r--r-- | net/wmnet/files/patch-aa | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/net/wmnet/files/patch-aa b/net/wmnet/files/patch-aa index 945bb674ac00..c1e40dc49110 100644 --- a/net/wmnet/files/patch-aa +++ b/net/wmnet/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Fri Dec 4 00:33:58 1998 -+++ Makefile Sat Feb 13 00:20:30 1999 -@@ -2,11 +2,10 @@ +--- Makefile.orig Fri Dec 4 02:03:58 1998 ++++ Makefile Mon Apr 12 00:05:16 1999 +@@ -2,22 +2,24 @@ # Makefile,v 1.8 1998/12/03 15:33:58 rneswold Exp # @@ -13,3 +13,19 @@ LIBS = -lXpm -lXext -lX11 -lkvm OBJS = main.o if.o wmgeneral.o INCDIR = -I${X11BASE}/include + ++CC ?= cc ++CFLAGS ?= -O ++ + .c.o : +- cc -c -g -O1 -Wall ${INCDIR} $< -o $*.o ++ $(CC) -c $(CFLAGS) -g -Wall ${INCDIR} $< -o $*.o + + all :: wmnet + + wmnet : $(OBJS) +- cc -o wmnet $(OBJS) $(LIBDIR) $(LIBS) ${INCDIR} ++ $(CC) -o wmnet $(OBJS) $(LIBDIR) $(LIBS) ${INCDIR} + + main.o : wmnet-mask.xbm wmnet-master.xpm wmnet.h wmgeneral.h + |