Subject: Re: pkg/30053: automake warns about /usr/pkg/share/aclocal underquoting
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Illig <roland.illig@gmx.de>
List: pkgsrc-bugs
Date: 04/24/2005 23:30:02
The following reply was made to PR pkg/30053; it has been noted by GNATS.
From: Roland Illig <roland.illig@gmx.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30053: automake warns about /usr/pkg/share/aclocal underquoting
Date: Mon, 25 Apr 2005 01:29:35 +0200
Sadly, most package authors ignore the warnings, and as there are too
many to fix them individually, I would suggest that we automatically
patch these files somewhere between the post-extract and pre-install phases.
I patched all of my files successfully using this:
sedexpr='s/^AC_DEFUN(\([A-Za-z_0-9][A-Za-z_0-9]*\),/AC_DEFUN([\1],/'
for i in "$@"; do
sed "${sedexpr}" "$i"
done
Roland