aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmps-win32-plugin
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-24 01:17:20 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-24 01:17:20 +0000
commitcb8753d6b6fd5c173258d75d5ba477d4c92e5e00 (patch)
treefcacaf906e5232dfd4769d670a9cff5db36f4176 /multimedia/xmps-win32-plugin
parent5ff28879f95c148f66dd07d51b5529613bc7ce0c (diff)
downloadports-cb8753d6b6fd5c173258d75d5ba477d4c92e5e00.tar.gz
ports-cb8753d6b6fd5c173258d75d5ba477d4c92e5e00.zip
Notes
Diffstat (limited to 'multimedia/xmps-win32-plugin')
-rw-r--r--multimedia/xmps-win32-plugin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/xmps-win32-plugin/Makefile b/multimedia/xmps-win32-plugin/Makefile
index be5c29f4c225..e8399daf87f8 100644
--- a/multimedia/xmps-win32-plugin/Makefile
+++ b/multimedia/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}