pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/skalibs Define _NETBSD_SOURCE on NetBSD to make ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53f84f7e8df9
branches:  trunk
changeset: 771764:53f84f7e8df9
user:      nros <nros%pkgsrc.org@localhost>
date:      Sun Dec 26 16:42:42 2021 +0000

description:
Define _NETBSD_SOURCE on NetBSD to make sure the function declaration of fdopendir is visible.

diffstat:

 devel/skalibs/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9064540537c0 -r 53f84f7e8df9 devel/skalibs/Makefile
--- a/devel/skalibs/Makefile    Sun Dec 26 16:13:45 2021 +0000
+++ b/devel/skalibs/Makefile    Sun Dec 26 16:42:42 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2021/12/22 15:59:17 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2021/12/26 16:42:42 nros Exp $
 
 DISTNAME=              skalibs-2.11.1.0
 CATEGORIES=            devel
@@ -16,6 +16,8 @@
 
 CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
 
+CPPFLAGS.NetBSD=       -D_NETBSD_SOURCE
+
 INSTALLATION_DIRS=     include/skalibs lib/skalibs/sysdeps
 
 post-install:



Home | Main Index | Thread Index | Old Index