summaryrefslogtreecommitdiff
path: root/graphics/linux-f8-sdl_image
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-29 22:02:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-29 22:02:05 +0000
commit3183dd4a35d05200a714a73864cd8841d12ccd51 (patch)
treee6145f7654ecb1af54973c5be310fcff3bb0e433 /graphics/linux-f8-sdl_image
parent- Update to 0.148 (diff)
- Allow on amd64
Notes
Notes: svn path=/head/; revision=163895
Diffstat (limited to 'graphics/linux-f8-sdl_image')
-rw-r--r--graphics/linux-f8-sdl_image/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/linux-f8-sdl_image/Makefile b/graphics/linux-f8-sdl_image/Makefile
index a6ba10bb11b7..0dcc77234a72 100644
--- a/graphics/linux-f8-sdl_image/Makefile
+++ b/graphics/linux-f8-sdl_image/Makefile
@@ -25,7 +25,7 @@ USE_LINUX= yes
USE_LINUX_PREFIX= yes
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
-ONLY_FOR_ARCHS= i386
+ONLY_FOR_ARCHS= i386 amd64
DIST_SUBDIR= rpm
NO_BUILD= yes
@@ -37,8 +37,14 @@ RPMFLAGS+= --excludedocs
.endif
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+MACHINE_ARCH= i386
+.endif
+
do-install:
@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
@${LDCONFIG_LINUX}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>