summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-09-22 01:18:38 +0000
committergrant <grant@pkgsrc.org>2003-09-22 01:18:38 +0000
commitde51d44824fb5a2ee3073fd7eb440ac52f94de8e (patch)
tree94a70f4679c371ba0859c8d941e12c8a84f46269 /security
parentd20b2d65ef3addfaf2ae8b6e52944042b4163fa0 (diff)
downloadpkgsrc-de51d44824fb5a2ee3073fd7eb440ac52f94de8e.tar.gz
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 (limited to 'security')
-rw-r--r--security/openssh/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile
index b5055e8cc68..2795a5f0145 100644
--- a/security/openssh/Makefile
+++ b/security/openssh/Makefile
@@ -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 @@ CONFIGURE_ARGS+= --with-privsep-user=${OPENSSH_USER}
#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 @@ CPPFLAGS+= -I/usr/include/kerberosIV
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).