pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/openssh as this pkg now calls the linker dire...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09b34d8f6965
branches:  trunk
changeset: 461810:09b34d8f6965
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Sep 22 01:18:38 2003 +0000

description:
as this pkg now calls the linker directly, we need to explicitly
specify -lc on Solaris.

remove a bogus hack setting LD=${CC} which was also breaking the
build on Solaris.

diffstat:

 security/openssh/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r d9bb22dfe383 -r 09b34d8f6965 security/openssh/Makefile
--- a/security/openssh/Makefile Mon Sep 22 00:56:48 2003 +0000
+++ b/security/openssh/Makefile Mon Sep 22 01:18:38 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2003/09/18 02:11:38 jschauma Exp $
+# $NetBSD: Makefile,v 1.114 2003/09/22 01:18:38 grant Exp $
 
 DISTNAME=              openssh-3.7.1p1
 PKGNAME=               openssh-3.7.1.1
@@ -68,6 +68,10 @@
 #MESSAGE_SRC+=         ${.CURDIR}/MESSAGE.pam
 #.endif
 
+.if ${OPSYS} == "SunOS"
+LIBS+=                 -lc
+.endif
+
 .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
 .  include "../../security/skey/buildlink2.mk"
 CONFIGURE_ARGS+=       --with-skey=${BUILDLINK_PREFIX.skey}
@@ -91,8 +95,6 @@
 LDFLAGS+=              -lkrb -lcom_err -lroken -ldes
 .endif
 
-LD=    ${CC}
-
 # 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
 # (security/ssh-askpass).



Home | Main Index | Thread Index | Old Index