aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16/files/patch-j2se-awt-mawt.gmk
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk16/files/patch-j2se-awt-mawt.gmk')
-rw-r--r--java/jdk16/files/patch-j2se-awt-mawt.gmk10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/jdk16/files/patch-j2se-awt-mawt.gmk b/java/jdk16/files/patch-j2se-awt-mawt.gmk
index ddbab7154b35..ff56d99d0e55 100644
--- a/java/jdk16/files/patch-j2se-awt-mawt.gmk
+++ b/java/jdk16/files/patch-j2se-awt-mawt.gmk
@@ -7,13 +7,13 @@ $FreeBSD$
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 ${X11BASE}/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 ${X11BASE}/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 ${X11BASE}/lib/libICE.a) \
++ LIBICE = $(firstword $(wildcard ${LOCALBASE}/lib/libICE.a) \
$(wildcard /usr/lib/libICE.a))
endif
endif
@@ -23,8 +23,8 @@ $FreeBSD$
ifeq ($(PLATFORM), bsd)
- CPPFLAGS += -I/usr/X11R6/include/X11/extensions \
- -I/usr/X11R6/include
-+ CPPFLAGS += -I${X11BASE}/include/X11/extensions \
-+ -I${X11BASE}/include
++ CPPFLAGS += -I${LOCALBASE}/include/X11/extensions \
++ -I${LOCALBASE}/include
endif
LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \