Avoid linking statically on SunOS.

This commit is contained in:
jperkin 2014-01-09 11:46:46 +00:00
parent e109a84b43
commit 229b643aeb
2 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2013/06/16 10:11:58 shattered Exp $
# $NetBSD: Makefile,v 1.21 2014/01/09 11:49:00 jperkin Exp $
#
DISTNAME= chkrootkit-0.49
@ -40,11 +40,6 @@ PROGRAMS+= check_wtmpx
PLIST.wtmpx= yes
CFLAGS+= -DSOLARIS2
LDFLAGS+= -lsocket
. if empty(CC_VERSION:Mgcc-*)
MAKE_ENV+= STATIC="-B static"
. else
MAKE_ENV+= STATIC="-static"
. endif
.else
MAKE_ENV+= STATIC="-static"
.endif

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 2013/02/28 19:33:02 darcy Exp $
# $NetBSD: Makefile,v 1.17 2014/01/09 11:46:46 jperkin Exp $
DISTNAME= rssh-2.3.4
PKGREVISION= 1
@ -46,6 +46,12 @@ CONFIGURE_ARGS+= --with-rdist=${RSSH_RDIST_PATH:Q}
CONFIGURE_ARGS+= --with-rsync=${RSSH_RSYNC_PATH:Q}
.endif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+= --disable-static
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/rssh.conf.default ${DESTDIR}${EGDIR}/rssh.conf