aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:26:50 +0000
commita2fc57960bdbea48c2f7514de486dece28ed38e6 (patch)
tree1c562a25e67c6bafa324c1f036a7a85da97243ab /emulators/linux_base
parent7b4558c9ea82e2709a04a55b7568153992c7c938 (diff)
downloadports-a2fc57960bdbea48c2f7514de486dece28ed38e6.tar.gz
ports-a2fc57960bdbea48c2f7514de486dece28ed38e6.zip
Notes
Diffstat (limited to 'emulators/linux_base')
-rw-r--r--emulators/linux_base/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/emulators/linux_base/Makefile b/emulators/linux_base/Makefile
index 5409c7991357..0b0f8e27e5c1 100644
--- a/emulators/linux_base/Makefile
+++ b/emulators/linux_base/Makefile
@@ -117,8 +117,11 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \
etc/motd etc/passwd etc/printcap etc/services \
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}