From 5d69c951661e35a57455c63ba92e6fafa430c413 Mon Sep 17 00:00:00 2001 From: jperkin Date: Fri, 26 Feb 2016 09:41:05 +0000 Subject: Use OPSYSVARS. --- shells/bash2/Makefile | 6 ++---- shells/rssh/Makefile | 8 ++------ 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'shells') 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 -- cgit v1.2.3