--- Makefile (revision 507155) +++ Makefile (working copy) @@ -15,7 +15,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs -USES= gmake gnome localbase pkgconfig +USES= compiler:c++0x gmake gnome localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= jpcima GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf @@ -30,6 +30,14 @@ lib/lv2/string-machine.lv2/string-machine.ttl \ lib/vst/string-machine-vst.so +.include + +post-patch: +.if ${ARCH} != amd64 && ${ARCH} != i386 + ${REINPLACE_CMD} -e 's/-mtune=generic -msse -msse2//' \ + ${WRKSRC}/dpf/Makefile.base.mk +.endif + do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2 ${INSTALL_LIB} ${WRKSRC}/bin/${PORTNAME}.lv2/string-machine.so ${STAGEDIR}${PREFIX}/lib/lv2/${PORTNAME}.lv2 @@ -39,4 +47,4 @@ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst ${INSTALL_LIB} ${WRKSRC}/bin/string-machine-vst.so ${STAGEDIR}${PREFIX}/lib/vst -.include +.include