pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ap22-dnssd Fix C99 flags on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e9559d751d51
branches: trunk
changeset: 362274:e9559d751d51
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed May 10 13:02:59 2017 +0000
description:
Fix C99 flags on SunOS.
diffstat:
www/ap22-dnssd/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 0cdd89aefcf7 -r e9559d751d51 www/ap22-dnssd/Makefile
--- a/www/ap22-dnssd/Makefile Wed May 10 12:47:06 2017 +0000
+++ b/www/ap22-dnssd/Makefile Wed May 10 13:02:59 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2017/02/12 06:26:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.39 2017/05/10 13:02:59 jperkin Exp $
#
DISTNAME= mod_dnssd-0.6
@@ -25,6 +25,14 @@
INSTALLATION_DIRS+= lib/httpd
+.include "../../mk/apache.mk"
+
+# Avoid conflicting C99 flags.
+.if ${PKG_APACHE} == "apache24"
+BUILDLINK_TRANSFORM.SunOS+= rm:-D_XOPEN_SOURCE
+BUILDLINK_TRANSFORM.SunOS+= rm:-D_XOPEN_SOURCE_EXTENDED=1
+.endif
+
do-install:
cd ${WRKSRC}/src && \
libexecdir=`${APXS} -q LIBEXECDIR` && \
@@ -32,5 +40,4 @@
-n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la
.include "../../net/avahi/buildlink3.mk"
-.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index