pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/fish Fix shells/fish NetBSD version detection f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c6cd295af40
branches:  trunk
changeset: 618534:8c6cd295af40
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Sat May 11 19:37:14 2013 +0000

description:
Fix shells/fish NetBSD version detection for libexecinfo.

diffstat:

 shells/fish/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 871baaf39729 -r 8c6cd295af40 shells/fish/Makefile
--- a/shells/fish/Makefile      Sat May 11 19:27:48 2013 +0000
+++ b/shells/fish/Makefile      Sat May 11 19:37:14 2013 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index