summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2019-10-03 11:01:39 +0000
committertron <tron@pkgsrc.org>2019-10-03 11:01:39 +0000
commitfa7409da50d9fa5f81c0465dd39f4f01f1b49716 (patch)
tree361bf8f26ed70cc1fc067deec87e564712aef1be /net
parentfc040a82144d38c09d4774198b9fff0a5b3916e6 (diff)
downloadpkgsrc-fa7409da50d9fa5f81c0465dd39f4f01f1b49716.tar.gz
mtr: Fix build under Solaris
Diffstat (limited to 'net')
-rw-r--r--net/mtr/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mtr/Makefile b/net/mtr/Makefile
index 4c685abd50c..49230c7750d 100644
--- a/net/mtr/Makefile
+++ b/net/mtr/Makefile
@@ -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 @@ GNU_CONFIGURE= YES
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}