summaryrefslogtreecommitdiff
path: root/net/php-sockets/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/php-sockets/Makefile')
-rw-r--r--net/php-sockets/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/net/php-sockets/Makefile b/net/php-sockets/Makefile
index 685e6993de0..0b9e96f9390 100644
--- a/net/php-sockets/Makefile
+++ b/net/php-sockets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2014/01/22 12:26:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2016/02/25 16:20:52 jperkin Exp $
MODNAME= sockets
CATEGORIES+= net
@@ -10,12 +10,8 @@ CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
USE_PHP_EXT_PATCHES= Yes
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= ac_cv_func_if_indextoname=yes
-CFLAGS+= -D_XOPEN_SOURCE=500 # msghdr extensions
-.endif
+CONFIGURE_ARGS.SunOS+= ac_cv_func_if_indextoname=yes
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 # msghdr extensions
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"