diff --git a/audio/bmp-songchange/Makefile b/audio/bmp-songchange/Makefile index 64e9cdc71857..ba008b1ec829 100644 --- a/audio/bmp-songchange/Makefile +++ b/audio/bmp-songchange/Makefile @@ -21,4 +21,9 @@ GNU_CONFIGURE= yes PLIST_FILES= lib/bmp/General/libsong_change.so -.include +.include + +post-patch: + ${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure + +.include diff --git a/x11-toolkits/SoXt/Makefile b/x11-toolkits/SoXt/Makefile index c6ee1af2715a..1aa10a5703ca 100644 --- a/x11-toolkits/SoXt/Makefile +++ b/x11-toolkits/SoXt/Makefile @@ -26,4 +26,9 @@ CONFIGURE_TARGET= --target="" USE_LDCONFIG= yes MAN1= soxt-config.1 -.include +.include + +post-patch: + ${REINPLACE_CMD} -e "s,echo aout, echo elf," ${WRKSRC}/configure + +.include