changeset in /hg/icedtea: 2008-10-27 Matthias Klose <doko at ubun...

doko at ubuntu.com doko at ubuntu.com
Wed Oct 29 11:29:42 PDT 2008


changeset 55a7a736bf3d in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=55a7a736bf3d
description:
	2008-10-27  Matthias Klose  <doko at ubuntu.com>

	        * patches/icedtea-uname.dpatch: Only call dpkg-architecture if it is
	        available.

diffstat:

2 files changed, 11 insertions(+), 6 deletions(-)
ChangeLog                   |    5 +++++
patches/icedtea-uname.patch |   12 ++++++------

diffs (46 lines):

diff -r 7b4e0145155d -r 55a7a736bf3d ChangeLog
--- a/ChangeLog	Sat Oct 25 23:23:16 2008 +0200
+++ b/ChangeLog	Mon Oct 27 12:05:29 2008 +0100
@@ -1,3 +1,8 @@ 2008-10-25  Matthias Klose  <doko at ubuntu
+2008-10-27  Matthias Klose  <doko at ubuntu.com>
+
+	* patches/icedtea-uname.dpatch: Only call dpkg-architecture if it is
+	available.
+
 2008-10-25  Matthias Klose  <doko at ubuntu.com>
 
 	* Makefile.am (clean-pulse-java): Remove object files.
diff -r 7b4e0145155d -r 55a7a736bf3d patches/icedtea-uname.patch
--- a/patches/icedtea-uname.patch	Sat Oct 25 23:23:16 2008 +0200
+++ b/patches/icedtea-uname.patch	Mon Oct 27 12:05:29 2008 +0100
@@ -1,10 +1,10 @@
---- openjdk/jdk/make/common/shared/Platform.gmk.orig	2008-07-26 17:21:17.441295678 +0200
-+++ openjdk/jdk/make/common/shared/Platform.gmk	2008-07-26 17:30:24.589549285 +0200
+--- openjdk/jdk/make/common/shared/Platform.gmk.orig	2008-10-27 11:44:47.000000000 +0100
++++ openjdk/jdk/make/common/shared/Platform.gmk	2008-10-27 11:52:17.000000000 +0100
 @@ -191,6 +191,9 @@
    OS_VERSION := $(shell uname -r)
    # Arch and OS name/version
    mach := $(shell uname -m)
-+  ifneq (,$(filter $(mach),mips s390 s390x))
++  ifneq (,$(wildcard /usr/bin/dpkg-architecture))
 +    mach := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach))
 +  endif
    archExpr = case "$(mach)" in \
@@ -20,13 +20,13 @@
                  *) \
                      echo $(mach) \
                      ;; \
---- openjdk/corba/make/common/shared/Platform.gmk.orig	2008-07-26 17:21:17.441295678 +0200
-+++ openjdk/corba/make/common/shared/Platform.gmk	2008-07-26 17:30:22.059511120 +0200
+--- openjdk/corba/make/common/shared/Platform.gmk.orig	2008-10-27 11:44:47.000000000 +0100
++++ openjdk/corba/make/common/shared/Platform.gmk	2008-10-27 11:53:01.000000000 +0100
 @@ -181,6 +181,9 @@
    OS_VERSION := $(shell uname -r)
    # Arch and OS name/version
    mach := $(shell uname -m)
-+  ifneq (,$(filter $(mach),mips s390 s390x))
++  ifneq (,$(wildcard /usr/bin/dpkg-architecture))
 +    mach := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach))
 +  endif
    archExpr = case "$(mach)" in \



More information about the distro-pkg-dev mailing list