summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-01-09 11:46:46 +0000
committerjperkin <jperkin@pkgsrc.org>2014-01-09 11:46:46 +0000
commit229b643aeb1e189d46f3b1c91b16d414fde70f15 (patch)
treef37c3e53351d8b06ac3c43fbce871055c6609f1e /shells
parente109a84b431e8d9c8f67c225c0048c4b4d05b9ad (diff)
downloadpkgsrc-229b643aeb1e189d46f3b1c91b16d414fde70f15.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