pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security Don't set LD=${CC} globally, but only pass it...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21d3c5211137
branches:  trunk
changeset: 467896:21d3c5211137
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Feb 07 23:58:49 2004 +0000

description:
Don't set LD=${CC} globally, but only pass it to CONFIGURE_ENV, which is
the only relevant place that wants it.

diffstat:

 security/openssh+gssapi/Makefile |  4 ++--
 security/openssh/Makefile        |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5c99e5601b94 -r 21d3c5211137 security/openssh+gssapi/Makefile
--- a/security/openssh+gssapi/Makefile  Sat Feb 07 23:30:59 2004 +0000
+++ b/security/openssh+gssapi/Makefile  Sat Feb 07 23:58:49 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/09/17 14:27:03 jwise Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/07 23:58:49 jlam Exp $
 
 # NOTE:  This package is modeled on ../openssh, but does not share
 # files with it as that package may update faster than the gssapi
@@ -99,7 +99,7 @@
 LDFLAGS+=              -lkrb -lcom_err -lroken -ldes -lcrypto
 .endif
 
-LD=    ${CC}
+CONFIGURE_ENV+=                LD=${CC:Q}
 
 # The ssh-askpass program is in ${X11BASE}/bin or ${X11PREFIX}/bin depending
 # on if it's part of the X11 distribution, or if it's installed from pkgsrc
diff -r 5c99e5601b94 -r 21d3c5211137 security/openssh/Makefile
--- a/security/openssh/Makefile Sat Feb 07 23:30:59 2004 +0000
+++ b/security/openssh/Makefile Sat Feb 07 23:58:49 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.120 2003/11/12 03:39:43 jschauma Exp $
+# $NetBSD: Makefile,v 1.121 2004/02/07 23:58:49 jlam Exp $
 
 DISTNAME=              openssh-3.7.1p2
 PKGNAME=               openssh-3.7.1.2
@@ -73,7 +73,7 @@
 # defaults to ${CC} if not. we override LD here, since running the
 # linker directly results in undefined symbols for obvious reasons.
 #
-LD=                    ${CC}
+CONFIGURE_ENV+=                LD=${CC:Q}
 
 # s/key support, enabled on Darwin and Solaris. NetBSD s/key has 4 args
 # (4: sslen) to skeychallenge instead of 3, so disable s/key support.



Home | Main Index | Thread Index | Old Index