diff options
author | kris <kris@FreeBSD.org> | 2006-12-01 08:11:39 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2006-12-01 08:11:39 +0800 |
commit | fab8731e25e58078c2216f9746f0326ce93d6422 (patch) | |
tree | 52eebe037d3fc2664083fd592fa43dd29617f1e5 /mbone/wbd | |
parent | 703a04d5be7874f8350f078ad051dbe73ab56b82 (diff) | |
download | freebsd-ports-gnome-fab8731e25e58078c2216f9746f0326ce93d6422.tar.gz freebsd-ports-gnome-fab8731e25e58078c2216f9746f0326ce93d6422.tar.zst freebsd-ports-gnome-fab8731e25e58078c2216f9746f0326ce93d6422.zip |
Respect X11BASE, CC and CFLAGS
Diffstat (limited to 'mbone/wbd')
-rw-r--r-- | mbone/wbd/files/patch-aa | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/mbone/wbd/files/patch-aa b/mbone/wbd/files/patch-aa index fd53e111e985..b1184775ef01 100644 --- a/mbone/wbd/files/patch-aa +++ b/mbone/wbd/files/patch-aa @@ -1,11 +1,13 @@ ---- makefile.orig Thu Jan 29 12:46:41 1998 -+++ makefile Fri May 11 19:42:18 2001 -@@ -3,12 +3,12 @@ +--- makefile.orig Thu Jan 29 06:46:41 1998 ++++ makefile Thu Nov 30 19:08:00 2006 +@@ -2,13 +2,13 @@ + LEX = flex -I -i YFLAGS = -dv - CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE +-CFLAGS = -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE -LIBDIR = /cs/research/mice/starship/common/solaris/lib -INCDIR = /cs/research/mice/starship/common/solaris/include ++CFLAGS += -g $(LIBFLAGS) $(IFLAGS) -DSTAND_ALONE +LIBDIR = $(PREFIX)/lib +INCDIR = $(PREFIX)/include @@ -37,9 +39,9 @@ #LIBS = -ll -ltk4.2 -ltcl7.6 -lm -lX11 +# Uncomment these lines for FreeBSD -+CC = cc -+LIBFLAGS = -L$(LIBDIR) -L/usr/X11R6/lib -+IFLAGS = -I$(INCDIR)/tk8.0 -I$(INCDIR)/tcl8.0 -I/usr/X11R6/include ++CC ?= cc ++LIBFLAGS = -L$(LIBDIR) -L${X11BASE}/lib ++IFLAGS = -I$(INCDIR)/tk8.0 -I$(INCDIR)/tcl8.0 -I${X11BASE}/include +LIBS = -ll -ltk80 -ltcl80 -lm -lX11 + # Tcl initialisation files to be compiled into a C string. |