freebsd-ports/astro/saoimage/files/patch-ab
Chris D. Faulhaber f48ae2b09c Support CC/CFLAGS/X11BASE properly
Support install macros
Install sample configuration file

PR:		17048
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-02-29 03:23:17 +00:00

20 lines
554 B
Text

--- btnlib/makefile.orig Wed Dec 6 14:51:17 1995
+++ btnlib/makefile Thu Sep 24 15:54:53 1998
@@ -8,7 +8,7 @@
# the library would build. It is preferable to build btnlib as part of the
# make procedure in the parent SAOimage directory.
-CFLAGS = -c -O
+CFLAGS += -c -I${X11BASE}/include
LINT = lint
RANLIB = ranlib
@@ -27,7 +27,7 @@
press.o remote.o resize.o util.o
LIB = libbtn.a
-XLIBH = /usr/include/X11/Xlib.h
+XLIBH = ${X11BASE}/include/X11/Xlib.h
#XLIBH = /usr/openwin/share/include/X11/Xlib.h #for OpenWindows
all: $(LIB)