8fb76ee717
bulk of the porting work. Tested on SmartOS 32-bit. 64-bit builds currently fail, they should hopefully be fixed soon.
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
$NetBSD: patch-ab,v 1.6 2013/06/15 09:31:05 jperkin Exp $
|
|
|
|
We use LD_LIBRARY_PATH.
|
|
|
|
--- jdk/make/common/shared/Sanity.gmk.orig 2012-08-10 17:21:34.000000000 +0000
|
|
+++ jdk/make/common/shared/Sanity.gmk
|
|
@@ -521,12 +521,7 @@ sane-variant:
|
|
# LD_LIBRARY_PATH should not be set, unless you are insane.
|
|
######################################################
|
|
sane-ld_library_path:
|
|
-ifdef LD_LIBRARY_PATH
|
|
- @$(ECHO) "ERROR: Your LD_LIBRARY_PATH environment variable is set. This may \n" \
|
|
- " produce binaries binaries incorrectly. Please unset it \n" \
|
|
- " and start your build again. \n" \
|
|
- "" >> $(ERROR_FILE)
|
|
-endif
|
|
+ true
|
|
|
|
######################################################
|
|
# LD_LIBRARY_PATH_64 should not be set, unless you are insane.
|
|
@@ -813,7 +808,8 @@ ifdef OPENJDK
|
|
@(($(CD) $(BUILDDIR)/tools/freetypecheck && $(MAKE)) || \
|
|
$(ECHO) "Failed to build freetypecheck." ) > $@
|
|
|
|
- sane-freetype: $(TEMPDIR)/freetypeinfo
|
|
+ sane-freetype:
|
|
+ sane-freetype_: $(TEMPDIR)/freetypeinfo
|
|
@if [ "`$(CAT) $< | $(GREP) Fail`" != "" ]; then \
|
|
$(ECHO) "ERROR: FreeType version " $(REQUIRED_FREETYPE_VERSION) \
|
|
" or higher is required. \n" \
|