summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-26 09:41:05 +0000
committerjperkin <jperkin>2016-02-26 09:41:05 +0000
commitde37916b80b2468bc4a685bb71738de502b3f2bc (patch)
tree72df1816f530edc041bc86199cc3b570f108bb16 /shells
parent60acd6dea8e3b0fa821a2a6a71161483f21a7028 (diff)
downloadpkgsrc-de37916b80b2468bc4a685bb71738de502b3f2bc.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'shells')
-rw-r--r--shells/bash2/Makefile6
-rw-r--r--shells/rssh/Makefile8
2 files changed, 4 insertions, 10 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 43c99506fc4..95881d831ed 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2015/03/13 17:25:52 tnn Exp $
+# $NetBSD: Makefile,v 1.90 2016/02/26 09:43:09 jperkin Exp $
#
DISTNAME= bash-2.05b
@@ -57,9 +57,7 @@ CONFIGURE_ENV+= ac_cv_type_wctype_t=no
.endif
# Minix lacks setpgid() which is needed for job control.
-.if ${OPSYS} == "Minix"
-CONFIGURE_ARGS+= --disable-job-control
-.endif
+CONFIGURE_ARGS.Minix+= --disable-job-control
BUILDLINK_API_DEPENDS.readline+= readline>=4.3
diff --git a/shells/rssh/Makefile b/shells/rssh/Makefile
index 103db6ab000..ff8e17a182c 100644
--- a/shells/rssh/Makefile
+++ b/shells/rssh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/01/09 11:46:46 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2016/02/26 09:43:09 jperkin Exp $
DISTNAME= rssh-2.3.4
PKGREVISION= 1
@@ -46,11 +46,7 @@ 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
+CONFIGURE_ARGS.SunOS+= --disable-static
post-install:
${INSTALL_DATA} ${WRKSRC}/rssh.conf.default ${DESTDIR}${EGDIR}/rssh.conf