SunOS needs -D__EXTENSIONS__ for struct sockaddr_storage.
This commit is contained in:
parent
6728f056d1
commit
503e86716a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue