diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-14 12:06:26 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2005-12-14 12:06:26 +0000 |
commit | f2a8e74c6da635a7d36605a5219b643ce68657ea (patch) | |
tree | 3e1223183d481a5f30a69b7e2b33bc5a81412b32 /emulators | |
parent | 28b3ff4623d2b128880af7296fae11b39a86ca00 (diff) | |
download | ports-f2a8e74c6da635a7d36605a5219b643ce68657ea.tar.gz ports-f2a8e74c6da635a7d36605a5219b643ce68657ea.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/linux_base-8/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile index 11e85ad17dac..9116f5e78be2 100644 --- a/emulators/linux_base-8/Makefile +++ b/emulators/linux_base-8/Makefile @@ -114,14 +114,18 @@ REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/localtime \ etc/motd etc/passwd etc/printcap etc/services \ etc/protocols -.if (${ARCH} == "amd64") -LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} -ARCH= i386 +.if (${MACHINE_ARCH} == "amd64") FALLBACK_ELF_MIB= kern.elf32.fallback_brand RPMFLAGS+= --noscripts .else FALLBACK_ELF_MIB= kern.fallback_elf_brand .endif + +.if (${ARCH} == "amd64") +LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} +ARCH= i386 +.endif + LINUX_ELF= 3 PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB} |