summaryrefslogtreecommitdiff
path: root/graphics/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 /graphics/xmps-win32-plugin
parentChange my email address, upgrade to latest version and fix (diff)
o Un"echo" commands
o malloc.h -> stdlib.h Submitted by: bento
Notes
Notes: svn path=/head/; revision=52069
Diffstat (limited to 'graphics/xmps-win32-plugin')
-rw-r--r--graphics/xmps-win32-plugin/Makefile4
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}