aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/linux-f8-sdl_image
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-30 06:02:05 +0800
committerpav <pav@FreeBSD.org>2006-05-30 06:02:05 +0800
commit259d77dcd3504d03185242b73977b4466a0feccc (patch)
tree744bc134a95099f42ba9d054096dd9f3a32b4db1 /graphics/linux-f8-sdl_image
parentc0b41d3726db6e0615bf3d794e99de58e392e87f (diff)
downloadfreebsd-ports-graphics-259d77dcd3504d03185242b73977b4466a0feccc.tar.gz
freebsd-ports-graphics-259d77dcd3504d03185242b73977b4466a0feccc.tar.zst
freebsd-ports-graphics-259d77dcd3504d03185242b73977b4466a0feccc.zip
- Allow on amd64
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 a6ba10bb11b..0dcc77234a7 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>