Subject: running GNU configure scripts with ${CONFIG_SHELL}
To: None <tech-pkg@NetBSD.org>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 01/25/2004 05:01:51
--LSp5EJdfMPwZcMS1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
hi,
I've noticed that /bin/sh barfs on some GNU configure scripts on
Solaris. I recall someone else having issues with GNU configure
scripts which was fixed by using ksh.
the following patch runs configure scripts with ${CONFIG_SHELL},
which defaults to ${SH} (and is only set when GNU_CONFIGURE is
defined).
any objections to committing this?
grant.
Index: bsd.pkg.mk
===================================================================
RCS file: /work/netbsd/cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1351
diff -u -r1.1351 bsd.pkg.mk
--- bsd.pkg.mk 21 Jan 2004 18:13:27 -0000 1.1351
+++ bsd.pkg.mk 24 Jan 2004 17:59:05 -0000
@@ -2366,7 +2380,8 @@
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
- ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
+ ${CONFIGURE_ENV} ${CONFIG_SHELL} \
+ ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
. endfor
. endif
. if defined(USE_IMAKE)
--LSp5EJdfMPwZcMS1
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAErMPluYOb9yiFXoRAr+0AJsG2zjzIIrN2U8oAoi5l2SzS8AhvACcDNoE
x4JphV0kzHr5acgxdI77b5g=
=ugZ1
-----END PGP SIGNATURE-----
--LSp5EJdfMPwZcMS1--