summaryrefslogtreecommitdiff
path: root/net/php-sockets
diff options
context:
space:
mode:
Diffstat (limited to 'net/php-sockets')
-rw-r--r--net/php-sockets/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/php-sockets/Makefile b/net/php-sockets/Makefile
index 7a5be1f34be..848cd37a364 100644
--- a/net/php-sockets/Makefile
+++ b/net/php-sockets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:41 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2012/07/25 12:12:37 fhajny Exp $
MODNAME= sockets
CATEGORIES+= net
@@ -10,5 +10,11 @@ CONFLICTS= php-sockets-[0-9]*
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ARGS+= ac_cv_func_if_indextoname=yes
+.endif
+
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"