summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-01-09 11:46:46 +0000
committerjperkin <jperkin>2014-01-09 11:46:46 +0000
commitfe181d174aeece9251d0928a52e687f7e073ad49 (patch)
treef37c3e53351d8b06ac3c43fbce871055c6609f1e /shells
parent0f9e79835988fe70b2b9cf92ae32e710a99b0891 (diff)
downloadpkgsrc-fe181d174aeece9251d0928a52e687f7e073ad49.tar.gz
Avoid linking statically on SunOS.
Diffstat (limited to 'shells')
-rw-r--r--shells/rssh/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shells/rssh/Makefile b/shells/rssh/Makefile
index 83f12c02e9d..103db6ab000 100644
--- a/shells/rssh/Makefile
+++ b/shells/rssh/Makefile
@@ -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