summaryrefslogtreecommitdiff
path: root/astro/saoimage/files/patch-ab
blob: 7b58e790b618b9ad1700d4282778819866f625a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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)