summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-11 19:37:14 +0000
committerriastradh <riastradh>2013-05-11 19:37:14 +0000
commit8683a69ffa0bc8088fbf3c66c15ad2ce998ff5b5 (patch)
tree48b141118eb6fa2a32dbd253732508ee1dce146b /shells
parentdc04b105df9d1af3e1d0904673b1aa1d01c32242 (diff)
downloadpkgsrc-8683a69ffa0bc8088fbf3c66c15ad2ce998ff5b5.tar.gz
Fix shells/fish NetBSD version detection for libexecinfo.
Diffstat (limited to 'shells')
-rw-r--r--shells/fish/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/fish/Makefile b/shells/fish/Makefile
index 8a11b9dbf5b..7871ea877c8 100644
--- a/shells/fish/Makefile
+++ b/shells/fish/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/12/12 13:21:42 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2013/05/11 19:37:14 riastradh Exp $
#
DISTNAME= fish-1.23.1
@@ -25,7 +25,7 @@ PKG_SHELL= bin/fish
.include "../../mk/bsd.prefs.mk"
# backtrace() and backtrace_symbols were added in NetBSD-6.99.8
-.if !empty(MACHINE_PLATFORM:MNetBSD-*) && empty(MACHINE_PLATFORM:MNetBSD-[0-5].*) && empty(MACHINE_PLATFORM:MNetBSD-6.99.[0-7].*)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*) && (empty(MACHINE_PLATFORM:MNetBSD-[0-6].*) || (!empty(MACHINE_PLATFORM:MNetBS-6.99.*) && empty(MACHINE_PLATFORM:MNetBSD-6.99.[0-7])))
CPPFLAGS+= -DHAVE_BACKTRACE
CPPFLAGS+= -DHAVE_BACKTRACE_SYMBOLS
LDFLAGS+= -lexecinfo