diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-14 19:13:10 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-14 19:13:10 +0000 |
commit | c4a086c3de4217dbd5687d09ecec27275081d33e (patch) | |
tree | dc0cbe309fab462bc7119b6710e59e122247cf7b /emulators/linux_base-suse-9.3 | |
parent | netwalker-ircc - a lightweight curses-based IRC client (diff) |
First cut at supporting AMD64 (to give 32-bit support).
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 |