summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-03-01 12:13:44 +0000
committertron <tron@pkgsrc.org>2004-03-01 12:13:44 +0000
commit8e8b43a394abf0dd87e41b9e9617b852abc8f30b (patch)
tree6a6424958b9efee907aa7abb786ee600fccf449b /mail
parentcc9f0d6bd47dad6f1005aa3164ed288d6274ce90 (diff)
downloadpkgsrc-8e8b43a394abf0dd87e41b9e9617b852abc8f30b.tar.gz
Because "mutt" work's fine with the "/bin/sh" in NetBSD 1.6 and above
we don't need to use "/bin/ksh" any more.
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 4aa1e0c5224..fa6a73bd0ce 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.113 2004/02/15 13:13:52 tron Exp $
+# $NetBSD: Makefile,v 1.114 2004/03/01 12:13:44 tron Exp $
DISTNAME= mutt-1.4.2i
PKGNAME= ${DISTNAME:C/i$//}
@@ -40,8 +40,9 @@ USE_NCURSES= yes
CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.ncurses}
.endif
-# There seems to be a problem using NetBSD's /bin/sh, so use /bin/ksh instead.
-.if ${OPSYS} == "NetBSD"
+# There is a problem using NetBSD's /bin/sh under old NetBSD releases,
+# so use /bin/ksh there.
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-5]*-*)
CONFIGURE_ARGS+= --with-exec-shell=/bin/ksh
.endif