aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-24 09:17:20 +0800
committerlioux <lioux@FreeBSD.org>2001-12-24 09:17:20 +0800
commit2d26f0eb2871195c01abc8440416e14916a82545 (patch)
tree7c409e273b05d671d974265a3b0f8f786dbd094e /graphics
parentdcb7f9714571361a08a3db10f986e9c3efce3649 (diff)
downloadfreebsd-ports-gnome-2d26f0eb2871195c01abc8440416e14916a82545.tar.gz
freebsd-ports-gnome-2d26f0eb2871195c01abc8440416e14916a82545.tar.zst
freebsd-ports-gnome-2d26f0eb2871195c01abc8440416e14916a82545.zip
o Un"echo" commands
o malloc.h -> stdlib.h Submitted by: bento
Diffstat (limited to 'graphics')
-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}