2016-02-25 17:20:49 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2016/02/25 16:20:52 jperkin Exp $
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
MODNAME= sockets
|
|
|
|
CATEGORIES+= net
|
|
|
|
COMMENT= PHP extension for sockets support
|
|
|
|
|
2006-06-04 18:26:54 +02:00
|
|
|
CONFLICTS= php-sockets-[0-9]*
|
2004-10-31 20:30:29 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
|
|
|
|
|
2013-10-15 17:46:37 +02:00
|
|
|
USE_PHP_EXT_PATCHES= Yes
|
|
|
|
|
2016-02-25 17:20:49 +01:00
|
|
|
CONFIGURE_ARGS.SunOS+= ac_cv_func_if_indextoname=yes
|
|
|
|
CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 # msghdr extensions
|
2012-07-25 14:12:37 +02:00
|
|
|
|
2004-11-05 18:11:39 +01:00
|
|
|
.include "../../lang/php/ext.mk"
|
2004-10-31 20:30:29 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|