summaryrefslogtreecommitdiff
path: root/comms/kermit
diff options
context:
space:
mode:
authortron <tron>2011-11-20 12:01:50 +0000
committertron <tron>2011-11-20 12:01:50 +0000
commitcd0b04535f47725953327fc2faf6c9453828aaa5 (patch)
tree08b8b1680b8b24c30f5eaf2b43500be7e0da2f94 /comms/kermit
parentb795b7e201b442636252b4595199b8d31542998f (diff)
downloadpkgsrc-cd0b04535f47725953327fc2faf6c9453828aaa5.tar.gz
Fix build under recent versions of Mac OS X by selectin a make target
that actually exists.
Diffstat (limited to 'comms/kermit')
-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