diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-15 00:15:34 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-15 00:15:34 +0800 |
commit | f173edc97c108187161a7c16ffa5f1cd3af08052 (patch) | |
tree | 58ea4296120d5a79ba2b4ad2d1f5fcec787aec57 /multimedia/libmovtar | |
parent | 802fe8675ba5ad4d72e2b28a0a9ab0946802b645 (diff) | |
download | freebsd-ports-gnome-f173edc97c108187161a7c16ffa5f1cd3af08052.tar.gz freebsd-ports-gnome-f173edc97c108187161a7c16ffa5f1cd3af08052.tar.zst freebsd-ports-gnome-f173edc97c108187161a7c16ffa5f1cd3af08052.zip |
Fix build on alpha ARCH: emms asm opcode should be noop in non-i386
non-MMX ARCH
Diffstat (limited to 'multimedia/libmovtar')
-rw-r--r-- | multimedia/libmovtar/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/multimedia/libmovtar/Makefile b/multimedia/libmovtar/Makefile index 3c12f54c451f..b9c1107145ff 100644 --- a/multimedia/libmovtar/Makefile +++ b/multimedia/libmovtar/Makefile @@ -29,6 +29,8 @@ MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' \ ${WRKSRC}/rtjpeg/rtjshow.c \ @@ -36,5 +38,11 @@ post-patch: @${REINPLACE_CMD} -E -e 's|^(LIBS="-ljpeg )|\1 -L${LOCALBASE}/lib|; \ s|(LIBS -ljpeg)"|\1 -L${LOCALBASE}/lib"|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +.if ${ARCH} != "i386" +# emms opcode should be noop in non-i386 non-MMX ARCH + @${REINPLACE_CMD} -E \ + -e 's|^.*"emms".*$$||' \ + ${WRKSRC}/movtar_play.c +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |