openbsd-ports/mbone/sdr/patches/patch-sdr_freebsd_Makefile_freebsd
wilfried bb1af71e4d * respect CC/CFLAGS
* split patches into separate files
2001-03-17 17:33:18 +00:00

15 lines
958 B
Plaintext

$OpenBSD: patch-sdr_freebsd_Makefile_freebsd,v 1.1 2001/03/17 17:33:19 wilfried Exp $
--- sdr/freebsd/Makefile.freebsd.orig Tue May 25 23:27:24 1999
+++ sdr/freebsd/Makefile.freebsd Sat Mar 17 18:32:56 2001
@@ -1,7 +1,6 @@
-CC = gcc -g -O
-INCLUDES = -I/usr/X11R6/include -I../../tk-8.0/generic -I../../tcl-8.0/generic -I../../common
-LIBS = ../../tk-8.0/unix/libtk80.a ../../tcl-8.0/unix/libtcl80.a ../../common/libcommon.a -lm -L/usr/X11R6/lib -lX11 -lz
-CFLAGS = $(INCLUDES) -DDIFF_BYTE_ORDER -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB -DFreeBSD
+INCLUDES = -I${X11BASE}/include -I../../common -I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0
+LIBS = -L${LOCALBASE}/lib -ltk80 -ltcl80 ../../common/libcommon.a -lm -L${X11BASE}/lib -lX11 -lz
+CFLAGS += $(INCLUDES) -DDIFF_BYTE_ORDER -DFREEBSD -DNORANDPROTO -DDEFINED_ERRLIST -Wall -DAUTH -DHAVE_ZLIB -DFreeBSD
all:: sdr
install: