summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/kermit/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index e13b7a91e95..41d9a7d2ec4 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2011/08/25 14:54:06 hans Exp $
+# $NetBSD: Makefile,v 1.78 2011/11/20 12:01:50 tron Exp $
DISTNAME= cku302
PKGNAME= kermit-9.0.302
@@ -39,8 +39,14 @@ LIBS+= -ltermcap
.endfor
.if ${OPSYS} == "Darwin"
-. if empty(OS_VERSION:M[0-6]\.*)
-BUILD_TARGET_OPSYS= macosx103
+. if !empty(OS_VERSION:M??.*)
+BUILD_TARGET_OPSYS= macosx10.6
+. elif !empty(OS_VERSION:M9.*)
+BUILD_TARGET_OPSYS= macosx10.5
+. elif !empty(OS_VERSION:M8.*)
+BUILD_TARGET_OPSYS= macosx10.4
+. elif empty(OS_VERSION:M7.*)
+BUILD_TARGET_OPSYS= macosx103.9
. else
BUILD_TARGET_OPSYS= macosx10
. endif