aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-24 18:36:04 +0800
committerbapt <bapt@FreeBSD.org>2013-05-24 18:36:04 +0800
commit57967a28b4f28780782f22c9d4a41b4bb71c4536 (patch)
tree043c1c21fbc5f1f0664c5e9dc84490744bf29f61 /Mk
parent2e789746ca41b774323fc894e9ba99562fc392df (diff)
downloadfreebsd-ports-gnome-57967a28b4f28780782f22c9d4a41b4bb71c4536.tar.gz
freebsd-ports-gnome-57967a28b4f28780782f22c9d4a41b4bb71c4536.tar.zst
freebsd-ports-gnome-57967a28b4f28780782f22c9d4a41b4bb71c4536.zip
Fix regression in MLINKS handling when using bmake
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9363117e0121..779908723edb 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2929,7 +2929,7 @@ MANEXT= .gz
.if defined(.PARSEDIR)
_MLINKS= ${_MLINKS_PREPEND} \
- ${MANLANG:S,^,man/,:S,/"",,:@m@${MLINKS:@p@${MAN${p:E}PREFIX}/$m/man${p:E}/$p${MANEXT}@}@}
+ ${MANLANG:S,^,man/,:S,/"",,:@m@${MLINKS:@p@${MAN${p:E:C/(.).*/\1/g}PREFIX}/$m/man${p:E:C/(.).*/\1/g}/$p${MANEXT}@}@}
.else
__pmlinks!= ${ECHO_CMD} '${MLINKS:S/ / /}' | ${AWK} \
'{ if (NF % 2 != 0) { print "broken"; exit; } \