Utilize ${MANEXT} to fix manpage symlinks.
This commit is contained in:
parent
2149e94178
commit
c2f4f10d20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46633
@ -86,7 +86,7 @@ post-install:
|
||||
${MV} -f ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
|
||||
${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
|
||||
fi
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
|
||||
${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}; \
|
||||
|
@ -84,7 +84,7 @@ post-install:
|
||||
${MV} -f ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
|
||||
${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
|
||||
fi
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
|
||||
${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}; \
|
||||
|
@ -84,7 +84,7 @@ post-install:
|
||||
${MV} -f ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
|
||||
${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
|
||||
fi
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
|
||||
${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}; \
|
||||
|
@ -86,7 +86,7 @@ post-install:
|
||||
${MV} -f ${IRB_WITHOUT_SUFFIX} ${IRB_WITH_SUFFIX}
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ]; then \
|
||||
${LN} -fs ${RUBY_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX}${RUBY_R} ${RUBY_WITHOUT_SUFFIX}${RUBY_R}; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1 ${PREFIX}/man/man1/ruby${RUBY_R}.1; \
|
||||
${LN} -fs ruby${RUBY_DEFAULT_SUFFIX}${RUBY_R}.1${MANEXT} ${PREFIX}/man/man1/ruby${RUBY_R}.1${MANEXT}; \
|
||||
fi
|
||||
if [ -x ${RUBY_WITHOUT_SUFFIX} ]; then \
|
||||
${LN} -fs ${IRB_WITHOUT_SUFFIX}${RUBY_DEFAULT_SUFFIX} ${IRB_WITHOUT_SUFFIX}; \
|
||||
|
Loading…
Reference in New Issue
Block a user