blob: e5c221762055e812e4fa6bb3f470d8b3d09230ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$NetBSD: patch-aa,v 1.3 2003/08/23 16:41:59 recht Exp $
--- Makefile.in.orig 2003-07-04 05:13:45.000000000 +0200
+++ Makefile.in 2003-08-23 18:35:34.000000000 +0200
@@ -15,15 +15,15 @@
DEFS=-DHAVE_CONFIG_H -Wall @HOSTDEF@
-LIBDIR=/usr/X11R6/lib
+LIBDIR=${X11BASE}/lib
INCDIR=.
-XINCDIR=/usr/X11R6/include
+XINCDIR=${X11BASE}/include
XLIB=-lXaw -lXmu
EXTENSIONLIB=-lXext
INCLUDES=-I$(INCDIR)
XINCLUDES=-I$(XINCDIR)
SPLIBS=@ADDLIBS@
-LIBS=-L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
+LIBS=-Wl,-R${LIBDIR} -L$(LIBDIR) -lXaw $(XLIB) -lXt $(EXTENSIONLIB) -lX11 -lm
#CC=/compat/linux/usr/bin/gcc
CC=@CC@
@@ -38,8 +38,8 @@
INSTALL=install
INST_DIR=/usr/local/bin
-INST_XDIR=/usr/X11R6/bin
-INST_XRDIR=/usr/X11R6/lib/X11/app-defaults
+INST_XDIR=${X11BASE}/bin
+INST_XRDIR=${X11BASE}/lib/X11/app-defaults
.c.o:
$(CC) -c $(CFLAGS) $*.c
|