aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-suse-9.1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:13:10 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-12-14 19:13:10 +0000
commitc4a086c3de4217dbd5687d09ecec27275081d33e (patch)
treedc0cbe309fab462bc7119b6710e59e122247cf7b /emulators/linux_base-suse-9.1
parentc851f0b12ef137825efe348b976bf39d485bda24 (diff)
downloadports-c4a086c3de4217dbd5687d09ecec27275081d33e.tar.gz
ports-c4a086c3de4217dbd5687d09ecec27275081d33e.zip
Notes
Diffstat (limited to 'emulators/linux_base-suse-9.1')
-rw-r--r--emulators/linux_base-suse-9.1/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/emulators/linux_base-suse-9.1/Makefile b/emulators/linux_base-suse-9.1/Makefile
index e77780a5572f..9df18ac40bd9 100644
--- a/emulators/linux_base-suse-9.1/Makefile
+++ b/emulators/linux_base-suse-9.1/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