pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ap22-dnssd
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.39 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.39
--- pkgsrc/www/ap22-dnssd/Makefile:1.38 Sun Feb 12 06:26:07 2017
+++ pkgsrc/www/ap22-dnssd/Makefile Wed May 10 13:02:59 2017
@@ -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 @@ 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