aboutsummaryrefslogtreecommitdiff
path: root/net/wmnet
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-02-06 07:17:21 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-02-06 07:17:21 +0000
commit60b3027204782bd05c835ab0ee2e885bca82cf4d (patch)
tree60ac873c47bd7ab9b19b6b7ec29b9586b69a5122 /net/wmnet
parent2996fa7a7b07deb0f1e16ba4d60091a785a0fd92 (diff)
downloadports-60b3027204782bd05c835ab0ee2e885bca82cf4d.tar.gz
ports-60b3027204782bd05c835ab0ee2e885bca82cf4d.zip
Respect CC and CFLAGS
Notes
Notes: svn path=/head/; revision=25511
Diffstat (limited to 'net/wmnet')
-rw-r--r--net/wmnet/files/patch-aa22
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
+