blob: ff56d99d0e55fcc2a3d13282b3118a43abfac0cc (
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
|
$FreeBSD$
--- ../../j2se/make/sun/awt/mawt.gmk.orig Sun Jul 29 23:03:29 2007
+++ ../../j2se/make/sun/awt/mawt.gmk Sun Jul 29 23:03:29 2007
@@ -131,11 +131,11 @@
LIBXT = -lXt
else
# Allows for builds on Debian GNU Linux, X11 is in a different place
- LIBXT = $(firstword $(wildcard /usr/X11R6/lib/libXt.a) \
+ LIBXT = $(firstword $(wildcard ${LOCALBASE}/lib/libXt.a) \
$(wildcard /usr/lib/libXt.a))
- LIBSM = $(firstword $(wildcard /usr/X11R6/lib/libSM.a) \
+ LIBSM = $(firstword $(wildcard ${LOCALBASE}/lib/libSM.a) \
$(wildcard /usr/lib/libSM.a))
- LIBICE = $(firstword $(wildcard /usr/X11R6/lib/libICE.a) \
+ LIBICE = $(firstword $(wildcard ${LOCALBASE}/lib/libICE.a) \
$(wildcard /usr/lib/libICE.a))
endif
endif
@@ -227,8 +227,8 @@
endif
ifeq ($(PLATFORM), bsd)
- CPPFLAGS += -I/usr/X11R6/include/X11/extensions \
- -I/usr/X11R6/include
+ CPPFLAGS += -I${LOCALBASE}/include/X11/extensions \
+ -I${LOCALBASE}/include
endif
LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \
|