-
Enhancement
-
Resolution: Fixed
-
P4
-
1.0
-
1.1.1
-
sparc
-
solaris_2.5
From ###@###.### Mon Feb 5 08:35:17 1996
Date: Mon, 5 Feb 1996 17:33:53 +0100 (MET)
From: Simon Leinen <###@###.###>
To: java@java
Subject: JDK 1.0 source: GNUmakefile fix to avoid use of /usr/ucb/whoami
Since the JDK Beta release, you have removed most uses of programs
under /usr/ucb. Thanks a lot for that - it makes porting easier.
There are however several places left where /usr/ucb/whoami is
called. I propose to replace these calls with calls to the "logname"
command which exists on other systems as well.
*** build/solaris/GNUmakefile 1996/02/05 15:34:09 1.1
--- build/solaris/GNUmakefile 1996/02/05 15:34:16
***************
*** 6,12 ****
TOPDIR = ../..
! RELEASE = $(shell echo `/usr/ucb/whoami`:`date '+%m/%d/%d-%H:%M'`)
PWD = $(shell echo `pwd`)
DESTDIR = $(PWD)/$(TOPDIR)/javasrc
--- 6,12 ----
TOPDIR = ../..
! RELEASE = $(shell echo `logname`:`date '+%m/%d/%d-%H:%M'`)
PWD = $(shell echo `pwd`)
DESTDIR = $(PWD)/$(TOPDIR)/javasrc
*** build/solaris/java/GNUmakefile 1996/02/05 15:39:49 1.1
--- build/solaris/java/GNUmakefile 1996/02/05 15:39:53
***************
*** 10,16 ****
SUBDIRS = javah java javap javac awt applet net
! RELEASE = $(shell echo `/usr/ucb/whoami`:`date '+%m/%d/%d-%H:%M'`)
DESTDIR = installed
--- 10,16 ----
SUBDIRS = javah java javap javac awt applet net
! RELEASE = $(shell echo `logname`:`date '+%m/%d/%d-%H:%M'`)
DESTDIR = installed
*** build/solaris/sun/GNUmakefile 1996/02/05 15:40:29 1.1
--- build/solaris/sun/GNUmakefile 1996/02/05 15:40:34
***************
*** 7,13 ****
PLATFORM = solaris
PRODUCT = sun
! RELEASE = $(shell echo `/usr/ucb/whoami`:`date '+%m/%d/%d-%H:%M'`)
SUBDIRS = javac javadoc debug net mmedia awt tawt jpeg applet
--- 7,13 ----
PLATFORM = solaris
PRODUCT = sun
! RELEASE = $(shell echo `logname`:`date '+%m/%d/%d-%H:%M'`)
SUBDIRS = javac javadoc debug net mmedia awt tawt jpeg applet
*** build/solaris/makefiles/Defs-solaris.gmk 1996/02/05 15:37:58 1.1
--- build/solaris/makefiles/Defs-solaris.gmk 1996/02/05 15:38:03
***************
*** 8,14 ****
ARCH = $(shell uname -p)
# This default is redefined during a release build.
! RELEASE = $(shell echo `/usr/ucb/whoami`:`date '+%m/%d/%d-%H:%M'`)
# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the
# optimized build, and that ordering of the flags completely freaks
--- 8,14 ----
ARCH = $(shell uname -p)
# This default is redefined during a release build.
! RELEASE = $(shell echo `logname`:`date '+%m/%d/%d-%H:%M'`)
# If -Xa is in CFLAGS_COMMON it will end up ahead of $(POPT) for the
# optimized build, and that ordering of the flags completely freaks
--
Simon.