diff --git a/audio/py-speechrecognition/Makefile b/audio/py-speechrecognition/Makefile index fc3da770ac0c..d80bc1623bd6 100644 --- a/audio/py-speechrecognition/Makefile +++ b/audio/py-speechrecognition/Makefile @@ -24,7 +24,13 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +# Clean up bundled binary executables +.if !defined(MAINTAINER_MODE) +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/speech_recognition/flac-* \ + --no-same-owner --no-same-permissions +.else post-patch: @${RM} ${WRKSRC}/speech_recognition/flac-* +.endif .include