Skip to content

Commit fe67f09

Browse files
committed
8210924: Remove PACKAGE_PATH
Reviewed-by: tbell
1 parent 3c7b577 commit fe67f09

7 files changed

Lines changed: 1 addition & 15 deletions

File tree

make/autoconf/spec.gmk.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
357357
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
358358
GRAALUNIT_LIB := @GRAALUNIT_LIB@
359359

360-
PACKAGE_PATH=@PACKAGE_PATH@
361-
362360
# Source file for cacerts
363361
CACERTS_FILE=@CACERTS_FILE@
364362

make/autoconf/toolchain.m4

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -996,11 +996,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_BUILD_COMPILERS],
996996
# Do some additional checks on the detected tools.
997997
AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
998998
[
999-
# The package path is used only on macosx?
1000-
# FIXME: clean this up, and/or move it elsewhere.
1001-
PACKAGE_PATH=/opt/local
1002-
AC_SUBST(PACKAGE_PATH)
1003-
1004999
# Check for extra potential brokenness.
10051000
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
10061001
# On Windows, double-check that we got the right compiler.

make/launcher/LauncherCommon.gmk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ define SetupBuildLauncherBody
128128
$1_PLIST_FILE := Info-cmdline.plist
129129
endif
130130

131-
$1_CFLAGS += -DPACKAGE_PATH='"$(PACKAGE_PATH)"'
132131
$1_LDFLAGS += -Wl,-all_load \
133132
-sectcreate __TEXT __info_plist $(MACOSX_PLIST_DIR)/$$($1_PLIST_FILE)
134133
ifeq ($(STATIC_BUILD), true)

make/lib/Awt2dLibraries.gmk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ ifeq ($(findstring $(OPENJDK_TARGET_OS), windows macosx), )
292292
#
293293

294294
LIBAWT_XAWT_CFLAGS += -DXAWT -DXAWT_HACK \
295-
-DPACKAGE_PATH=\"$(PACKAGE_PATH)\" \
296295
$(FONTCONFIG_CFLAGS) \
297296
$(CUPS_CFLAGS)
298297

@@ -459,7 +458,7 @@ ifeq ($(findstring $(OPENJDK_TARGET_OS), windows macosx),)
459458
#
460459

461460
LIBAWT_HEADLESS_CFLAGS := $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) $(X_CFLAGS) \
462-
-DHEADLESS=true -DPACKAGE_PATH=\"$(PACKAGE_PATH)\"
461+
-DHEADLESS=true
463462

464463
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
465464
NAME := awt_headless, \

make/lib/CoreLibraries.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
202202

203203
BUILD_LIBJLI_java_md_macosx.c_CFLAGS := -x objective-c
204204
BUILD_LIBJLI_STATIC_java_md_macosx.c_CFLAGS := -x objective-c
205-
206-
LIBJLI_CFLAGS += -DPACKAGE_PATH=\"$(PACKAGE_PATH)\"
207205
endif
208206

209207
ifeq ($(OPENJDK_TARGET_OS), windows)

src/java.base/macosx/native/libjli/java_md_macosx.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ int64_t CounterGet(void);
3838
* A collection of useful strings. One should think of these as #define
3939
* entries, but actual strings can be more efficient (with many compilers).
4040
*/
41-
static const char *system_dir = PACKAGE_PATH "/openjdk7";
4241
static const char *user_dir = "/java";
4342

4443
#include <dlfcn.h>

src/java.base/unix/native/libjli/java_md_solinux.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ extern char **environ;
4646
* entries, but actual strings can be more efficient (with many compilers).
4747
*/
4848
#ifdef __solaris__
49-
static const char *system_dir = "/usr/jdk";
5049
static const char *user_dir = "/jdk";
5150
#else /* !__solaris__, i.e. Linux, AIX,.. */
52-
static const char *system_dir = "/usr/java";
5351
static const char *user_dir = "/java";
5452
#endif
5553

0 commit comments

Comments
 (0)