aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-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-sdl_image
parent8613e9eb7d90aa7abadafc9cfc508ec7a1d0eceb (diff)
downloadports-3183dd4a35d05200a714a73864cd8841d12ccd51.tar.gz
ports-3183dd4a35d05200a714a73864cd8841d12ccd51.zip
Notes
Diffstat (limited to 'graphics/linux-sdl_image')
-rw-r--r--graphics/linux-sdl_image/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/linux-sdl_image/Makefile b/graphics/linux-sdl_image/Makefile
index a6ba10bb11b7..0dcc77234a72 100644
--- a/graphics/linux-sdl_image/Makefile
+++ b/graphics/linux-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>