* Oliver Lehmann (lehm...@ans-netz.de) wrote:

> Will this also fix the following PR? (scroll below for the openal patch)

Seems so. I guess the fix in that PR is even better, as optimized
assembly code is used.

I think we can merge both fixes, something like that:

.if ${ARCH} == "i386"
OPTIONS+=       X86_ASM "Enable x86 assembly code" on
.endif

...

.if ${ARCH} == "i386" && !defined(WITHOUT_X86_ASM)
BUILD_DEPENDS+= nasm:${LOCALBASE}/devel/nasm
.endif

...

post-patch:
.if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM)
        @${REINPLACE_CMD} -e '/^NASM=/ s|=.*|=no|' ${WRKSRC}/configure
.endif

and patches from ports/129362.

What do you think?

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amd...@amdmi3.ru  ..:  jabber: amd...@jabber.ru    http://www.amdmi3.ru
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscr...@freebsd.org"

Reply via email to