summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authortron <tron>2004-03-01 12:13:44 +0000
committertron <tron>2004-03-01 12:13:44 +0000
commit1630303d6e9ea6e86b51a2a9f70d2705b42a8b5d (patch)
tree6a6424958b9efee907aa7abb786ee600fccf449b /mail/mutt
parentefaccca8aa0790715f3da2ccc9da73b2d933876e (diff)
downloadpkgsrc-1630303d6e9ea6e86b51a2a9f70d2705b42a8b5d.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/mutt')
-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