pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2017Q1]: pkgsrc/www/ap22-dnssd Pullup ticket #5411 - requested...
details: https://anonhg.NetBSD.org/pkgsrc/rev/95b2b1c1695a
branches: pkgsrc-2017Q1
changeset: 360370:95b2b1c1695a
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Thu May 11 18:16:16 2017 +0000
description:
Pullup ticket #5411 - requested by sevan
www/ap22-dnssd: build fix for SunOS
Revisions pulled up:
- www/ap22-dnssd/Makefile 1.39
---
Module Name: pkgsrc
Committed By: jperkin
Date: Wed May 10 13:02:59 UTC 2017
Modified Files:
pkgsrc/www/ap22-dnssd: Makefile
Log Message:
Fix C99 flags on SunOS.
diffstat:
www/ap22-dnssd/Makefile | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r ad6370719d2a -r 95b2b1c1695a www/ap22-dnssd/Makefile
--- a/www/ap22-dnssd/Makefile Thu May 11 18:10:14 2017 +0000
+++ b/www/ap22-dnssd/Makefile Thu May 11 18:16:16 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2017/02/12 06:26:07 ryoon Exp $
+# $NetBSD: Makefile,v 1.38.2.1 2017/05/11 18:16:16 bsiegert 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