aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xmps-win32-plugin
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 19:15:17 +0000
commit6bbf6dab165a729301f9432ab7e8ec4609dde2d7 (patch)
treecdd777297ced0b449b13b17da430bc5f5caeea29 /multimedia/xmps-win32-plugin
parent3eae406cebbf2ed89cefe245cd0b2557186f84b6 (diff)
downloadports-6bbf6dab165a729301f9432ab7e8ec4609dde2d7.tar.gz
ports-6bbf6dab165a729301f9432ab7e8ec4609dde2d7.zip
Notes
Diffstat (limited to 'multimedia/xmps-win32-plugin')
-rw-r--r--multimedia/xmps-win32-plugin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/xmps-win32-plugin/Makefile b/multimedia/xmps-win32-plugin/Makefile
index e9cb901fdaab..7f653f6f6d3e 100644
--- a/multimedia/xmps-win32-plugin/Makefile
+++ b/multimedia/xmps-win32-plugin/Makefile
@@ -20,6 +20,7 @@ RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT}
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_GTK= yes
+USE_REINPLACE= yes
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
PLIST_SUB= LIB_VERSION="${LIB_VERSION}"
@@ -30,9 +31,9 @@ CODEC_DETECTION_FILE!= ${MAKE} -f ${CODEC_PORT}/Makefile -V CODEC_DETECTION_FILE
LIB_VERSION= 0
post-patch:
- @${PERL} -pi -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \
+ @${REINPLACE_CMD} -e "s|/usr/lib/win32|${LOCALBASE}/lib/win32|" \
${WRKSRC}/src/win32_codec.c
- @${PERL} -pi -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/*
+ @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' ${WRKSRC}/src/*
post-install:
@${LN} -sf libwin32.so ${PREFIX}/lib/xmps/codecs/video/libwin32.so.${LIB_VERSION}