diff options
author | grant <grant> | 2003-09-22 01:18:38 +0000 |
---|---|---|
committer | grant <grant> | 2003-09-22 01:18:38 +0000 |
commit | 95ba0b470c5e9d2ad1cb8771b1d27de6c5458ad2 (patch) | |
tree | 94a70f4679c371ba0859c8d941e12c8a84f46269 | |
parent | 4043d2dc9c9d44722d86dfc74640ac6c3e9333db (diff) | |
download | pkgsrc-95ba0b470c5e9d2ad1cb8771b1d27de6c5458ad2.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.
-rw-r--r-- | security/openssh/Makefile | 8 |
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). |