aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmps-win32-plugin/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-07-04 03:15:17 +0800
committerlioux <lioux@FreeBSD.org>2002-07-04 03:15:17 +0800
commit454204bb8b2f5b90a2de545fc6a703034997b001 (patch)
treeae0a80efd63faba316fb1abe79782b22cedd731c /multimedia/xmps-win32-plugin/Makefile
parent097a62797d4241e3e5fac68147f5752908ce8387 (diff)
downloadfreebsd-ports-gnome-454204bb8b2f5b90a2de545fc6a703034997b001.tar.gz
freebsd-ports-gnome-454204bb8b2f5b90a2de545fc6a703034997b001.tar.zst
freebsd-ports-gnome-454204bb8b2f5b90a2de545fc6a703034997b001.zip
USE_REINPLACE
Diffstat (limited to 'multimedia/xmps-win32-plugin/Makefile')
-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}