pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Use "${LS}" instead of "${FILE_CMD}" to find out th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b73316fd4989
branches: trunk
changeset: 465373:b73316fd4989
user: tron <tron%pkgsrc.org@localhost>
date: Sun Dec 28 21:20:02 2003 +0000
description:
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:
mk/bsd.pkg.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 14de60980b8e -r b73316fd4989 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Dec 28 19:34:43 2003 +0000
+++ b/mk/bsd.pkg.mk Sun Dec 28 21:20:02 2003 +0000
@@ -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 @@
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 @@
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; \
Home |
Main Index |
Thread Index |
Old Index