pkgsrc/lang/openjdk7/patches/patch-am
tnn e06a77d20a - put -D__STDC_LIMIT_MACROS on command line instead of patching it everywhere
- don't use ALT_JDK_IMPORT_PATH on SunOS, just build like on other platforms
- regen all bootstraps to facilitate removal of the +UseSerialGC hacks
- bootstrap binaries on FTP are now PGP signed
- remove a handful of obsolete patches
2015-03-02 03:53:26 +00:00

15 lines
596 B
Text

$NetBSD: patch-am,v 1.7 2015/03/02 03:53:26 tnn Exp $
Set username to pkgsrc.
--- jdk/make/common/shared/Defs.gmk.orig 2014-01-01 05:53:33.000000000 +0000
+++ jdk/make/common/shared/Defs.gmk
@@ -301,7 +301,7 @@ ifndef BUILD_NUMBER
BUILD_NUMBER = b00
ifndef USER_RELEASE_SUFFIX
BUILD_DATE := $(shell $(DATE) '+%Y_%m_%d_%H_%M')
- CLEAN_USERNAME := $(shell $(ECHO) "$(USER)" | $(TR) -d -c '[:alnum:]')
+ CLEAN_USERNAME := pkgsrc
USER_RELEASE_SUFFIX := $(shell $(ECHO) "$(CLEAN_USERNAME)_$(BUILD_DATE)" | $(TR) '[:upper:]' '[:lower:]' )
endif
export USER_RELEASE_SUFFIX