aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-24 10:36:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-24 10:36:04 +0000
commite406c7cc2134833f2ae05046017805e5ebc8f7a7 (patch)
tree043c1c21fbc5f1f0664c5e9dc84490744bf29f61 /Mk/bsd.port.mk
parentd2512bcb3f5681078744bf685c697fb289eedcba (diff)
downloadports-e406c7cc2134833f2ae05046017805e5ebc8f7a7.tar.gz
ports-e406c7cc2134833f2ae05046017805e5ebc8f7a7.zip
Notes
Diffstat (limited to 'Mk/bsd.port.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; } \