pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xnotify xnotify: set -D_XOPEN_SOURCE=500 on SunOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/414c95dbda74
branches: trunk
changeset: 383795:414c95dbda74
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Aug 22 19:46:47 2022 +0000
description:
xnotify: set -D_XOPEN_SOURCE=500 on SunOS
This is needed so that "#define SEC 1" from <sys/time.h> is hidden by
#if !defined(__XOPEN_OR_POSIX).
Else it conflicts with enum ItemOption value SEC from the package.
diffstat:
x11/xnotify/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 25c8c5313f2b -r 414c95dbda74 x11/xnotify/Makefile
--- a/x11/xnotify/Makefile Mon Aug 22 19:32:57 2022 +0000
+++ b/x11/xnotify/Makefile Mon Aug 22 19:46:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/02/25 09:18:56 pin Exp $
+# $NetBSD: Makefile,v 1.7 2022/08/22 19:46:47 tnn Exp $
DISTNAME= xnotify-0.8.1
CATEGORIES= x11
@@ -25,6 +25,8 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+CFLAGS.SunOS+= -D_XOPEN_SOURCE=500
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xnotify ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xnotify.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
Home |
Main Index |
Thread Index |
Old Index