Disable assembly routines under Darwin, which break the build. In order to

support them, Mach-O binary support is needed in nasm.  (There are some
patches around but I haven't got them to work yet.)
This commit is contained in:
jmmv 2007-01-06 12:41:00 +00:00
parent 8483ee1b95
commit 4f1cb2a501

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2006/11/18 21:05:13 wiz Exp $ # $NetBSD: Makefile,v 1.26 2007/01/06 12:41:00 jmmv Exp $
DISTNAME= xvidcore-1.1.2 DISTNAME= xvidcore-1.1.2
CATEGORIES= multimedia CATEGORIES= multimedia
@ -33,6 +33,7 @@ GNU_CONFIGURE= YES
MAKE_ENV+= MKDIR=${MKDIR:Q} MAKE_ENV+= MKDIR=${MKDIR:Q}
.if ${OPSYS} == "Darwin" .if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-assembly
post-install: post-install:
${RM} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so.4 ${RM} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so.4
${MV} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so ${DESTDIR}${PREFIX}/lib/libxvidcore.dylib ${MV} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so ${DESTDIR}${PREFIX}/lib/libxvidcore.dylib