1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix build on alpha ARCH: emms asm opcode should be noop in non-i386

non-MMX ARCH
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-05-15 19:22:47 +00:00
parent f4b53904c5
commit 5c9311c8d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81048

View File

@ -121,6 +121,11 @@ post-patch:
-e 's|api.mpt||' \
-e 's|^(install-man.*)install-manm|\1|' \
${WRKSRC}/doc/mp4v2/Makefile.in
.if ${ARCH} != "i386"
# emms opcode should be noop in non-i386 non-MMX ARCH
@${ECHO_CMD} '#define EMMS()' \
>> ${WRKSRC}/lib/xvid/portab.h
.endif
post-configure:
# disable GNU auto* tools