pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/nas Fix the script which munges man pages to wor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8625ad097098
branches:  trunk
changeset: 464987:8625ad097098
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Thu Dec 18 19:09:31 2003 +0000

description:
Fix the script which munges man pages to work with Solaris' xpg4 sed,
which bails out if there is whitespace before a comment.

diffstat:

 audio/nas/Makefile |  14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 536214b823b7 -r 8625ad097098 audio/nas/Makefile
--- a/audio/nas/Makefile        Thu Dec 18 19:04:29 2003 +0000
+++ b/audio/nas/Makefile        Thu Dec 18 19:09:31 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2003/10/28 14:11:47 fredb Exp $
+# $NetBSD: Makefile,v 1.37 2003/12/18 19:09:31 sketch Exp $
 
 DISTNAME=      nas-1.6.src
 PKGNAME=       ${DISTNAME:S/.src//}
@@ -32,14 +32,14 @@
        done
 
 pre-configure:
-       cd ${WRKSRC}; for file in                                       \
+       @cd ${WRKSRC}; for file in                                      \
                config/NetAudio.def;                                    \
        do                                                              \
                ${SED}  -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"     \
                        $${file} >> $${file}.fixed;                     \
                ${MV} -f $${file}.fixed $${file};                       \
        done
-       cd ${WRKSRC}; for file in                                       \
+       @cd ${WRKSRC}; for file in                                      \
                server/nasd.conf.eg                                     \
                server/dda/voxware/auvoxware.c;                         \
        do                                                              \
@@ -47,6 +47,14 @@
                        $${file} >> $${file}.fixed;                     \
                ${MV} -f $${file}.fixed $${file};                       \
        done
+       @cd ${WRKSRC}; for file in                                      \
+               config/mungeman;                                        \
+       do                                                              \
+               ${SED} -e "s|^[         ]*#|#|g"                        \
+                       $${file} >> $${file}.fixed;                     \
+               ${MV} -f $${file}.fixed $${file};                       \
+       done
+
 
 PLIST_SRC=     ${PKGDIR}/PLIST.clients
 .if (${MACHINE_ARCH} == "i386") || \



Home | Main Index | Thread Index | Old Index