pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ghc Shell scripts should not use the += operator ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3b7d14d8503
branches:  trunk
changeset: 530336:b3b7d14d8503
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jun 25 21:18:37 2007 +0000

description:
Shell scripts should not use the += operator for variable assignments.
In this case, the += operator appears in an embedded AWK script, so it
is ok.

diffstat:

 lang/ghc/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 672f3c3966b9 -r b3b7d14d8503 lang/ghc/Makefile
--- a/lang/ghc/Makefile Mon Jun 25 14:17:53 2007 +0000
+++ b/lang/ghc/Makefile Mon Jun 25 21:18:37 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/05/09 13:47:01 obache Exp $
+# $NetBSD: Makefile,v 1.37 2007/06/25 21:18:37 rillig Exp $
 
 DISTNAME=      ghc-6.6.1
 CATEGORIES=    lang
@@ -19,6 +19,9 @@
 
 CHECK_PORTABILITY_SKIP=        distrib/prep-bin-dist-mingw
 
+# += in a shell script, but in embedded AWK code, so it's ok.
+CHECK_PORTABILITY_SKIP+=       libraries/base/cbits/ubconfc
+
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-ghc=${WRKDIR}/ghc-6.4.2/ghc/compiler/ghc-inplace
 CONFIGURE_ENV+=                PerlCmd=${PERL5:Q}



Home | Main Index | Thread Index | Old Index