pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/traceroute-nanog -lresolv resolv is needed on MacO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1bffdf38b358
branches:  trunk
changeset: 361216:1bffdf38b358
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Mon Apr 17 19:53:11 2017 +0000

description:
-lresolv resolv is needed on MacOS later than 10.6, too.

diffstat:

 net/traceroute-nanog/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f717e5953a90 -r 1bffdf38b358 net/traceroute-nanog/Makefile
--- a/net/traceroute-nanog/Makefile     Mon Apr 17 19:50:06 2017 +0000
+++ b/net/traceroute-nanog/Makefile     Mon Apr 17 19:53:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2017/01/19 18:52:21 agc Exp $
+# $NetBSD: Makefile,v 1.10 2017/04/17 19:53:11 schwarz Exp $
 
 DISTNAME=      traceroute-nanog_6.4.2.orig
 PKGNAME=       ${DISTNAME:S/.orig//:S/_/-/}
@@ -33,7 +33,7 @@
 
 .if ${OPSYS} == "Darwin"
 CPPFLAGS+=     -DBIND_8_COMPAT -DRA_SERVICE=\"nicname\"
-.  if !empty(OS_VERSION:M10.*) # MacOS X 10.6.X aka Snow Leopard
+.  if !empty(OS_VERSION:M1[0-9].*) # MacOS X 10.6.X aka Snow Leopard, or later
 LIBS+=         -lresolv
 .  endif
 .endif



Home | Main Index | Thread Index | Old Index