summaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-rh-9
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
committerobrien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
commite7056b78995ffd0eb55c2266336657019ffe55fd (patch)
treec8f01b8a46dbad1b3dbfabb2ae743418546c1efd /emulators/linux_base-rh-9
parentc22b84e0c83fe24b01c4b7c248140456dc887bb5 (diff)
downloadFreeBSD-ports-e7056b78995ffd0eb55c2266336657019ffe55fd.zip
FreeBSD-ports-e7056b78995ffd0eb55c2266336657019ffe55fd.tar.gz
On amd64 we want to use FALLBACK_ELF_MIB as kern.elf32.fallback_brand,
vs. kern.fallback_elf_brand.
Diffstat (limited to 'emulators/linux_base-rh-9')
-rw-r--r--emulators/linux_base-rh-9/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/linux_base-rh-9/Makefile b/emulators/linux_base-rh-9/Makefile
index 9df18ac..12a4272 100644
--- a/emulators/linux_base-rh-9/Makefile
+++ b/emulators/linux_base-rh-9/Makefile
@@ -102,7 +102,11 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \
etc/protocols
BRAND_FILES= bin/rpm sbin/ldconfig sbin/sln
+.if (${ARCH} == "amd64")
+FALLBACK_ELF_MIB= kern.elf32.fallback_brand
+.else
FALLBACK_ELF_MIB= kern.fallback_elf_brand
+.endif
LINUX_ELF= 3
PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB}
OpenPOWER on IntegriCloud