diff options
Diffstat (limited to 'graphics/xmps-win32-plugin/Makefile')
-rw-r--r-- | graphics/xmps-win32-plugin/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/xmps-win32-plugin/Makefile b/graphics/xmps-win32-plugin/Makefile index be5c29f4c225..e8399daf87f8 100644 --- a/graphics/xmps-win32-plugin/Makefile +++ b/graphics/xmps-win32-plugin/Makefile @@ -29,7 +29,9 @@ CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE LIB_VERSION= 0 post-patch: - ${PERL} -pi -ne "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" ${WRKSRC}/src/win32_codec.c + @${PERL} -pi -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \ + ${WRKSRC}/src/win32_codec.c + @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/* post-install: @${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION} |