aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se::awt::mawt.gmk
blob: 703e594c958396491b6d0899c9b67eefd0120240 (plain) (blame)
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
$FreeBSD$

--- ../../j2se/make/sun/awt/mawt.gmk.orig	Sun Dec 10 21:49:45 2006
+++ ../../j2se/make/sun/awt/mawt.gmk	Sun Dec 10 21:50:27 2006
@@ -132,9 +132,9 @@
 	ifeq ($(ARCH_DATA_MODEL), 64)
             LIBXT = -lXt
         else
-	    LIBXT = /usr/X11R6/lib/libXt.a
-	    LIBSM = /usr/X11R6/lib/libSM.a
-	    LIBICE = /usr/X11R6/lib/libICE.a
+	    LIBXT = $(X11BASE)/lib/libXt.a
+	    LIBSM = $(X11BASE)/lib/libSM.a
+	    LIBICE = $(X11BASE)/lib/libICE.a
 	endif
     endif
 else
@@ -229,7 +229,7 @@
 	    $(EVENT_MODEL)
 
 ifeq ($(LINUX_OR_BSD), true)
-  CPPFLAGS += -I/usr/X11R6/include -I/usr/X11R6/include/X11/extensions
+  CPPFLAGS += -I$(X11BASE)/include -I$(X11BASE)/include/X11/extensions
 endif
 
 ifeq ($(PLATFORM), solaris)