summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 21:44:33 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 21:44:33 +0000
commit5494f0472e9aa46e43cd870fee533c6cb3fc2a87 (patch)
tree9bf02df63ce04e4d37f6fa9ad40ba4654f829c77 /multimedia
parentRevert bad conversion (diff)
Make post-patch-plugin target compatible with both bmake and make
Notes
Notes: svn path=/head/; revision=317362
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: