1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/astro/saoimage/files/patch-ab
Steve Price 5cce0201b8 MASTER_SITES _must_ have a trailing slash. While we're here make
this build.  From the looks of it, it wasn't just broken for ELF.
1998-09-26 23:29:02 +00:00

21 lines
556 B
Plaintext

--- 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 -O -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)