pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mtr mtr: Fix build under Solaris



details:   https://anonhg.NetBSD.org/pkgsrc/rev/321197fe4686
branches:  trunk
changeset: 341491:321197fe4686
user:      tron <tron%pkgsrc.org@localhost>
date:      Thu Oct 03 11:01:39 2019 +0000

description:
mtr: Fix build under Solaris

diffstat:

 net/mtr/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2b7a5a592f61 -r 321197fe4686 net/mtr/Makefile
--- a/net/mtr/Makefile  Thu Oct 03 09:45:14 2019 +0000
+++ b/net/mtr/Makefile  Thu Oct 03 11:01:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2019/09/07 18:50:19 kim Exp $
+# $NetBSD: Makefile,v 1.110 2019/10/03 11:01:39 tron Exp $
 
 DISTNAME=      mtr-0.93
 PKGREVISION=   1
@@ -21,6 +21,8 @@
 USE_TOOLS+=            pkg-config
 INSTALLATION_DIRS=     share/doc/mtr
 
+CPPFLAGS.SunOS+=       -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
+
 .include "options.mk"
 
 SPECIAL_PERMS= sbin/mtr-packet ${SETUID_ROOT_PERMS}



Home | Main Index | Thread Index | Old Index