pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/openssh set LD=CC again for all platforms wit...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2a0b0b5ace79
branches: trunk
changeset: 462777:2a0b0b5ace79
user: grant <grant%pkgsrc.org@localhost>
date: Sun Oct 12 10:13:53 2003 +0000
description:
set LD=CC again for all platforms with an appropriate comment - I
don't know why this didn't originally work as it should, but I've
just tested it with gcc3 and Forte 8 on Solaris and I couldn't make
it fail.
fixes coredump problem on Solaris observed by some, and also
PR pkg/23120 from Alex Gerasimoff.
bump PKGREVISION to differentiate between broken and unbroken
package.
diffstat:
security/openssh/Makefile | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diffs (49 lines):
diff -r 44160103d923 -r 2a0b0b5ace79 security/openssh/Makefile
--- a/security/openssh/Makefile Sun Oct 12 08:58:04 2003 +0000
+++ b/security/openssh/Makefile Sun Oct 12 10:13:53 2003 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.118 2003/10/12 08:25:17 grant Exp $
+# $NetBSD: Makefile,v 1.119 2003/10/12 10:13:53 grant Exp $
DISTNAME= openssh-3.7.1p2
PKGNAME= openssh-3.7.1.2
+PKGREVISION= 1
SVR4_PKGNAME= ossh
CATEGORIES= security
MASTER_SITES= ftp://ftp.openssh.com/pub/OpenBSD/OpenSSH/portable/ \
@@ -68,18 +69,19 @@
#MESSAGE_SRC+= ${.CURDIR}/MESSAGE.pam
#.endif
-.if ${OPSYS} == "SunOS"
-LIBS+= -lc
-.else
-LD=${CC}
-.endif
+# the openssh configure script finds and uses ${LD} if defined and
+# defaults to ${CC} if not. we override LD here, since running the
+# linker directly results in undefined symbols for obvious reasons.
+#
+LD= ${CC}
-
+# 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.
+#
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
. include "../../security/skey/buildlink2.mk"
CONFIGURE_ARGS+= --with-skey=${BUILDLINK_PREFIX.skey}
.elif ${OPSYS} == "NetBSD"
-# XXX: NetBSD has 4 args (4: sslen) to skeychallenge instead of 3
#CONFIGURE_ARGS+= --with-skey=/usr
CONFIGURE_ARGS+= --without-skey
.else
@@ -87,7 +89,7 @@
.endif
.if defined(KERBEROS)
-PKG_USE_KERBEROS= yes
+PKG_USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-kerberos4=/usr
CONFIGURE_ARGS+= --with-kerberos5=/usr
CPPFLAGS+= -I/usr/include/krb5
Home |
Main Index |
Thread Index |
Old Index