summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-12-28 21:20:02 +0000
committertron <tron@pkgsrc.org>2003-12-28 21:20:02 +0000
commit99f07b62b135f96ae5b9b9ebea524efa9ec6c91e (patch)
tree35586d94fc84e8ad348757f78b128bbc59c3708c /mk
parentdb31e35c141673cd23996dfb9e696ae93d67942c (diff)
downloadpkgsrc-99f07b62b135f96ae5b9b9ebea524efa9ec6c91e.tar.gz
Use "${LS}" instead of "${FILE_CMD}" to find out the target of softlink
when (de)compressing manual pages. This fixes problems caused by the output format of NetBSD-current's and shouldn't hurt any other platform.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index bbe6ee97847..6bb6507887c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1329 2003/12/26 17:43:24 seb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1330 2003/12/28 21:20:02 tron Exp $
#
# This file is in the public domain.
#
@@ -2603,7 +2603,7 @@ real-su-install: ${MESSAGE}
for manpage in $$newmanpages; do \
manpage=`${ECHO} $$manpage | ${SED} -e 's|\.gz$$||'`; \
if [ -h ${PREFIX}/$$manpage.gz ]; then \
- set - `${FILE_CMD} ${PREFIX}/$$manpage.gz | ${SED} -e 's|\.gz$$||'`; \
+ set - `${LS} -l ${PREFIX}/$$manpage.gz | ${SED} -e 's|\.gz$$||'`; \
shift `expr $$# - 1`; \
${RM} -f ${PREFIX}/$$manpage; \
${LN} -s $${1} ${PREFIX}/$$manpage; \
@@ -2622,7 +2622,7 @@ real-su-install: ${MESSAGE}
for manpage in $$newmanpages; do \
manpage=`${ECHO} $$manpage | ${SED} -e 's|\.gz$$||'`; \
if [ -h ${PREFIX}/$$manpage ]; then \
- set - `${FILE_CMD} ${PREFIX}/$$manpage`; \
+ set - `${LS} -l ${PREFIX}/$$manpage`; \
shift `expr $$# - 1`; \
${RM} -f ${PREFIX}/$$manpage.gz; \
${LN} -s $${1}.gz ${PREFIX}/$$manpage.gz; \