[Pkg-javascript-devel] Bug#670836: [PATCH 2/4] Set v8arch/v8os suitably on GNU/kFreeBSD
steven at pyro.eu.org
steven at pyro.eu.org
Sun Apr 29 13:36:55 UTC 2012
From: Steven Chamberlain <steven at kfreebsd-i386.pyro.eu.org>
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 94d7c18..2652df7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,9 +34,11 @@ v8arch := $(or $(v8arch),$(if $(filter amd64,$(DEB_HOST_ARCH)),x64))
v8arch := $(or $(v8arch),$(if $(filter armel,$(DEB_HOST_ARCH)),arm))
v8arch := $(or $(v8arch),$(if $(filter armhf,$(DEB_HOST_ARCH)),arm))
v8arch := $(or $(v8arch),$(if $(filter mipsel,$(DEB_HOST_ARCH)),mips))
+v8arch := $(or $(v8arch),$(if $(filter kfreebsd-i386,$(DEB_HOST_ARCH)),ia32))
+v8arch := $(or $(v8arch),$(if $(filter kfreebsd-amd64,$(DEB_HOST_ARCH)),x64))
v8arch := $(or $(v8arch),$(DEB_HOST_ARCH))
v8os := $(or $(v8os),$(if $(filter linux,$(DEB_HOST_ARCH_OS)),linux))
-v8os := $(or $(v8os),$(if $(filter kfreebsd,$(DEB_HOST_ARCH_OS)),freebsd))
+v8os := $(or $(v8os),$(if $(filter kfreebsd,$(DEB_HOST_ARCH_OS)),kfreebsd))
v8os := $(or $(v8os),$(DEB_HOST_ARCH_OS))
GYPFLAGS += -Dhost_arch=$(v8arch)
--
1.7.10
More information about the Pkg-javascript-devel
mailing list