aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-suse-9.3
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-12-15 03:13:10 +0800
committerobrien <obrien@FreeBSD.org>2004-12-15 03:13:10 +0800
commit3e5b4ada040a078fc7f9b5fb29885cf3615ef25c (patch)
tree67d7fa8bf5f8458ae582b388ee610f33e16549fc /emulators/linux_base-suse-9.3
parent49f0b639392044c7f66b8ebfae23aaa40713798e (diff)
downloadfreebsd-ports-gnome-3e5b4ada040a078fc7f9b5fb29885cf3615ef25c.tar.gz
freebsd-ports-gnome-3e5b4ada040a078fc7f9b5fb29885cf3615ef25c.tar.zst
freebsd-ports-gnome-3e5b4ada040a078fc7f9b5fb29885cf3615ef25c.zip
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/Makefile10
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