summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhans <hans>2012-04-26 12:20:06 +0000
committerhans <hans>2012-04-26 12:20:06 +0000
commit10c98dff06cf978dbdc7bb0febec2cda67802b3f (patch)
tree8e70593fc4248261f7352b425960ef11c9beb16e /www
parent1e49d716768e47b56b028cfe22e88c41fcff0b79 (diff)
downloadpkgsrc-10c98dff06cf978dbdc7bb0febec2cda67802b3f.tar.gz
Fix build on SunOS. CMSG_DATA is only available for XPG4.2, needed for
the fdpass module.
Diffstat (limited to 'www')
-rw-r--r--www/apache24/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index c4bc36b3d33..5f2f7b8be1d 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/04/18 11:27:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.6 2012/04/26 12:20:06 hans Exp $
DISTNAME= httpd-2.4.2
PKGNAME= ${DISTNAME:S/httpd/apache/}
@@ -32,6 +32,8 @@ CONFIGURE_ENV+= perlbin=${PERL5:Q}
CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent
CONFIGURE_ENV+= CFLAGS=${APACHE_CUSTOM_CFLAGS:M*:Q}
+CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__
+
.include "../../mk/bsd.prefs.mk"
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/apr-util/buildlink3.mk"