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/44579c9e096e
branches:  trunk
changeset: 402038:44579c9e096e
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 f49b8b853e7e -r 44579c9e096e 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