pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/php-sockets Use -D_XOPEN_SOURCE=500 on SunOS for m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/643ab2028b20
branches:  trunk
changeset: 629507:643ab2028b20
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 22 12:26:11 2014 +0000

description:
Use -D_XOPEN_SOURCE=500 on SunOS for msghdr extensions.

diffstat:

 net/php-sockets/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r bb6af34f9d1b -r 643ab2028b20 net/php-sockets/Makefile
--- a/net/php-sockets/Makefile  Wed Jan 22 12:26:04 2014 +0000
+++ b/net/php-sockets/Makefile  Wed Jan 22 12:26:11 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2013/10/15 15:46:37 taca Exp $
+# $NetBSD: Makefile,v 1.13 2014/01/22 12:26:11 jperkin Exp $
 
 MODNAME=               sockets
 CATEGORIES+=           net
@@ -14,6 +14,7 @@
 
 .if ${OPSYS} == "SunOS"
 CONFIGURE_ARGS+=       ac_cv_func_if_indextoname=yes
+CFLAGS+=               -D_XOPEN_SOURCE=500     # msghdr extensions
 .endif
 
 .include "../../lang/php/ext.mk"



Home | Main Index | Thread Index | Old Index