SunOS needs -D__EXTENSIONS__ for struct sockaddr_storage.

This commit is contained in:
jperkin 2014-07-14 14:41:04 +00:00
parent 6728f056d1
commit 503e86716a

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.94 2014/05/29 23:35:18 wiz Exp $
# $NetBSD: Makefile,v 1.95 2014/07/14 14:41:04 jperkin Exp $
DISTNAME= jabberd-2.3.2
PKGREVISION= 2
@ -27,6 +27,8 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
LDFLAGS+= ${PTHREAD_LDFLAGS}
LIBS+= ${PTHREAD_LIBS}
CFLAGS.SunOS+= -D__EXTENSIONS__ # sockaddr_storage
SUBST_CLASSES+= path
SUBST_STAGE.path= post-patch
SUBST_FILES.path= configure