aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-05 05:44:33 +0800
committerbapt <bapt@FreeBSD.org>2013-05-05 05:44:33 +0800
commitc9a8cbf0288e1231a1fb3653a4eae996880ceece (patch)
tree9bf02df63ce04e4d37f6fa9ad40ba4654f829c77 /multimedia
parente55b2dd3471394839209307f98996c676fb3d171 (diff)
downloadfreebsd-ports-gnome-c9a8cbf0288e1231a1fb3653a4eae996880ceece.tar.gz
freebsd-ports-gnome-c9a8cbf0288e1231a1fb3653a4eae996880ceece.tar.zst
freebsd-ports-gnome-c9a8cbf0288e1231a1fb3653a4eae996880ceece.zip
Make post-patch-plugin target compatible with both bmake and make
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr/Makefile.plugins12
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/vdr/Makefile.plugins b/multimedia/vdr/Makefile.plugins
index a571d2b83ee6..a87b8d3cf9fa 100644
--- a/multimedia/vdr/Makefile.plugins
+++ b/multimedia/vdr/Makefile.plugins
@@ -44,12 +44,12 @@ localeplist:
post-patch-plugin:
@${MKDIR} ${WRKDIR}/lib ${WRKDIR}/locale
- @${REINPLACE_CMD} 's/^\(LIBDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2..\/lib/;'\\
- 's/^\(LOCALEDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2..\/locale/;'\\
- 's/^\(VDRDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${VDRDIR:S-/-\\\\/-g}/;"\\
- 's/^\(VDRINCDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${VDRINCDIR:S-/-\\\\/-g}/;"\\
- 's/^\(BINDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${PREFIX:S-/-\\\\/-g}\/bin/;"\\
- '/^MAKEDEP.*-MM/s/-MG[[:space:]]*$$/# -MG/' \
+ @${REINPLACE_CMD} -e 's/^\(LIBDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2..\/lib/;' \
+ -e 's/^\(LOCALEDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2..\/locale/;' \
+ -e 's/^\(VDRDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${VDRDIR:S-/-\\\\/-g}/;" \
+ -e 's/^\(VDRINCDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${VDRINCDIR:S-/-\\\\/-g}/;" \
+ -e 's/^\(BINDIR[[:space:]]*\)[?]*\(=[[:space:]]*\).*/\1\2'"${PREFIX:S-/-\\\\/-g}\/bin/;" \
+ -e '/^MAKEDEP.*-MM/s/-MG[[:space:]]*$$/# -MG/' \
${WRKSRC}/Makefile ${VDR_PLUGIN_MAKEFILES}
post-install-pluginlocales: