summaryrefslogtreecommitdiff
path: root/comms/kermit
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-11-20 12:01:50 +0000
committertron <tron@pkgsrc.org>2011-11-20 12:01:50 +0000
commitcbb4d921a846d8a2ac7481114e57a29f472979cf (patch)
tree08b8b1680b8b24c30f5eaf2b43500be7e0da2f94 /comms/kermit
parent9e9f96d50be8e3c86d4428e84b845842e869252b (diff)
downloadpkgsrc-cbb4d921a846d8a2ac7481114e57a29f472979cf.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