freebsd-ports/java/jdk13/files/patch-j2sdk1.3.1-solaris-GNUmakefile
Greg Lewis 0b647d9e4b . Replace some hardwired /usr/X11R6 instances with X11BASE. [1]
. Replace one hardwired /usr/local instance with LOCALBASE.  This wasn't
  a problem since the port Makefile overrode that variable anyway.
. Small Makefile restructure to keep related variables in one place.

Pointed out by:	pointyhat (via kris) [1]
2006-12-08 19:39:45 +00:00

24 lines
561 B
Text

$FreeBSD$
--- ../ext/plugin/build/solaris/GNUmakefile.orig Fri Dec 8 10:52:26 2006
+++ ../ext/plugin/build/solaris/GNUmakefile Fri Dec 8 10:54:44 2006
@@ -139,7 +139,7 @@
ifeq ($(findstring BSD,$(OS)), BSD)
-INTL_DIR ?= /usr/local
+INTL_DIR ?= $(LOCALBASE)
OSDIR=solaris
OS_INCLUDE_DIR=bsd
@@ -148,8 +148,8 @@
SVR4_DEFINE=
-X11_INCLUDE=/usr/X11R6/include
-X11_LIB=/usr/X11R6/lib
+X11_INCLUDE=$(X11BASE)/include
+X11_LIB=$(X11BASE)/lib
MOTIF_INCLUDE = $(MOTIF_DIR)/include
MOTIF_LIB = $(MOTIF_DIR)/lib
INTL_INCLUDE = $(INTL_DIR)/include