aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se-xawt-Makefile
blob: 2b6f82acaf353aed5a904c507d4b0a9553654dbe (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
27
28
29
30
$FreeBSD$

--- ../../j2se/make/sun/xawt/Makefile.orig	Sun Jul 29 23:03:29 2007
+++ ../../j2se/make/sun/xawt/Makefile	Sun Jul 29 23:03:29 2007
@@ -40,7 +40,7 @@
 
 ifeq ($(PLATFORM), bsd)
 FILES_c += Xinerama.c
-LDFLAGS += -pthread
+LDFLAGS += ${PTHREAD_LIBS}
 dummy := $(shell $(MKDIR) -p $(LIB_LOCATION))
 endif
 
@@ -118,14 +118,14 @@
 
 ifeq ($(PLATFORM), linux)
 # Allows for builds on Debian GNU Linux, X11 is in a different place 
-  CPPFLAGS += -I/usr/X11R6/include/X11/extensions \
+  CPPFLAGS += -I${LOCALBASE}/include/X11/extensions \
               -I/usr/include/X11/extensions \
               -I$(MOTIF_DIR)/include \
               -I$(OPENWIN_HOME)/include 
 endif
 
 ifeq ($(PLATFORM), bsd)
-  CPPFLAGS += -I/usr/X11R6/include/X11/extensions -I$(MOTIF_DIR)/include -I$(OPENWIN_HOME)/include
+  CPPFLAGS += -I${LOCALBASE}/include/X11/extensions -I$(MOTIF_DIR)/include -I$(OPENWIN_HOME)/include
 endif
 
 ifeq ($(PLATFORM), solaris)