pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/xnotify



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Aug 22 19:46:47 UTC 2022

Modified Files:
        pkgsrc/x11/xnotify: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/xnotify/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/xnotify/Makefile
diff -u pkgsrc/x11/xnotify/Makefile:1.6 pkgsrc/x11/xnotify/Makefile:1.7
--- pkgsrc/x11/xnotify/Makefile:1.6     Fri Feb 25 09:18:56 2022
+++ pkgsrc/x11/xnotify/Makefile Mon Aug 22 19:46:47 2022
@@ -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 @@ SUBST_SED.configmk+=  -e 's/cc/${CC:Q}/'
 
 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