pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [pkgsrc-2017Q1] pkgsrc/www/ap22-dnssd
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu May 11 18:16:16 UTC 2017
Modified Files:
pkgsrc/www/ap22-dnssd [pkgsrc-2017Q1]: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.2.1 pkgsrc/www/ap22-dnssd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ap22-dnssd/Makefile
diff -u pkgsrc/www/ap22-dnssd/Makefile:1.38 pkgsrc/www/ap22-dnssd/Makefile:1.38.2.1
--- pkgsrc/www/ap22-dnssd/Makefile:1.38 Sun Feb 12 06:26:07 2017
+++ pkgsrc/www/ap22-dnssd/Makefile Thu May 11 18:16:16 2017
@@ -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 @@ APACHE_MODULE= yes
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 @@ do-install:
-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