pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xrdb xrdb: simplify NetBSD-specific workaround



details:   https://anonhg.NetBSD.org/pkgsrc/rev/378c75531fde
branches:  trunk
changeset: 384314:378c75531fde
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 30 18:42:53 2022 +0000

description:
xrdb: simplify NetBSD-specific workaround

diffstat:

 x11/xrdb/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 9a1e2d8c0659 -r 378c75531fde x11/xrdb/Makefile
--- a/x11/xrdb/Makefile Tue Aug 30 18:39:28 2022 +0000
+++ b/x11/xrdb/Makefile Tue Aug 30 18:42:53 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2021/08/09 18:37:30 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/08/30 18:42:53 wiz Exp $
 
 DISTNAME=              xrdb-1.2.1
 CATEGORIES=            x11
@@ -13,12 +13,7 @@
 USE_TOOLS+=            pkg-config
 
 CONFIGURE_ARGS+=       --with-cpp=${CPPPATH}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-CONFIGURE_ARGS+=       ac_cv_func_reallocarray=no
-.endif
+CPPFLAGS.NetBSD+=      -D_OPENBSD_SOURCE
 
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"



Home | Main Index | Thread Index | Old Index