summaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se-xawt-Makefile
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-08-05 20:39:49 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-08-05 20:39:49 +0000
commit4d5c7602538b84c33564b815fa72eb9d9df9df21 (patch)
treeefc2ebc2871a752a96936699d197a99ad0cb5e67 /java/jdk16/files/patch-j2se-xawt-Makefile
parent. Forced commit to note repo copy of jdk15 to jdk16. (diff)
. A native port for JDK 1.6.0 (aka 6.0) Update 1.
Notes
Notes: svn path=/head/; revision=197135
Diffstat (limited to 'java/jdk16/files/patch-j2se-xawt-Makefile')
-rw-r--r--java/jdk16/files/patch-j2se-xawt-Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-j2se-xawt-Makefile b/java/jdk16/files/patch-j2se-xawt-Makefile
new file mode 100644
index 000000000000..f2517a693e59
--- /dev/null
+++ b/java/jdk16/files/patch-j2se-xawt-Makefile
@@ -0,0 +1,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${X11BASE}/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${X11BASE}/include/X11/extensions -I$(MOTIF_DIR)/include -I$(OPENWIN_HOME)/include
+ endif
+
+ ifeq ($(PLATFORM), solaris)