Skip to content

Commit 1a990bd

Browse files
committed
xrdb: simplify NetBSD-specific workaround
1 parent 2f44a56 commit 1a990bd

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

x11/xrdb/Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.13 2021/08/09 18:37:30 wiz Exp $
1+
# $NetBSD: Makefile,v 1.14 2022/08/30 18:42:53 wiz Exp $
22

33
DISTNAME= xrdb-1.2.1
44
CATEGORIES= x11
@@ -13,12 +13,7 @@ GNU_CONFIGURE= yes
1313
USE_TOOLS+= pkg-config
1414

1515
CONFIGURE_ARGS+= --with-cpp=${CPPPATH}
16-
17-
.include "../../mk/bsd.prefs.mk"
18-
19-
.if ${OPSYS} == "NetBSD"
20-
CONFIGURE_ARGS+= ac_cv_func_reallocarray=no
21-
.endif
16+
CPPFLAGS.NetBSD+= -D_OPENBSD_SOURCE
2217

2318
.include "../../x11/libX11/buildlink3.mk"
2419
.include "../../x11/libXmu/buildlink3.mk"

0 commit comments

Comments
 (0)