pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install ensure CC is set correctly when r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acb7771519fc
branches:  trunk
changeset: 461659:acb7771519fc
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Sep 18 23:42:24 2003 +0000

description:
ensure CC is set correctly when running configure in libnbcompat.

diffstat:

 pkgtools/pkg_install/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 10993612b998 -r acb7771519fc pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile     Thu Sep 18 23:02:33 2003 +0000
+++ b/pkgtools/pkg_install/Makefile     Thu Sep 18 23:42:24 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2003/09/14 15:29:03 jlam Exp $
+# $NetBSD: Makefile,v 1.85 2003/09/18 23:42:24 grant Exp $
 
 # Notes to package maintainers:
 #
@@ -49,7 +49,8 @@
        @${CP} -Rp ${FILESDIR} ${WRKSRC}
 
 pre-configure:
-       cd ${LIBNBCOMPAT_SRCDIR} && ./configure && ${MAKE_PROGRAM}
+       cd ${LIBNBCOMPAT_SRCDIR} && ${SETENV} CC="${CC}" ./configure && \
+               ${MAKE_PROGRAM}
 
 post-install:
        if [ ! -f ${PKG_DBDIR}/pkgdb.byfile.db ]; then                  \



Home | Main Index | Thread Index | Old Index