diff options
Diffstat (limited to 'graphics/linux-f8-sdl_image')
-rw-r--r-- | graphics/linux-f8-sdl_image/Makefile | 10 |
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> |