diff options
Diffstat (limited to 'emulators/linux_base-suse-9.3')
-rw-r--r-- | emulators/linux_base-suse-9.3/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/emulators/linux_base-suse-9.3/Makefile b/emulators/linux_base-suse-9.3/Makefile index e77780a5572f..9df18ac40bd9 100644 --- a/emulators/linux_base-suse-9.3/Makefile +++ b/emulators/linux_base-suse-9.3/Makefile @@ -55,7 +55,7 @@ EXTRACT_DEPENDS= rpm:${PORTSDIR}/archivers/rpm CONFLICTS=cle_base-* linux_base-6* linux_base-7* linux_base-deb* linux_base-gen* RESTRICTED= "binaries under GNU GPL without accompanying source" -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 DIST_SUBDIR= rpm/${MACHINE_ARCH}/${PORTVERSION} PREFIX= ${LINUXBASE} NO_BUILD= yes @@ -78,6 +78,10 @@ UPDATES= ${UPD_SET1} ${UPD_SET2} .include <bsd.port.pre.mk> +.if (${ARCH} == "amd64") +MACHINE_ARCH= i386 +.endif + RPM_BZIP2= bzip2-1.0.2-5.i386.rpm RPM_FREETYPE= freetype-2.1.2-7.i386.rpm RPM_GDBM= gdbm-1.8.0-18.i386.rpm @@ -166,3 +170,7 @@ post-install: @${ECHO} '' .include <bsd.port.post.mk> + +.if (${ARCH} == "amd64") +LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} +.endif |