Skip to content

Commit

Permalink
xrdb: simplify NetBSD-specific workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Aug 30, 2022
1 parent 2f44a56 commit 1a990bd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions x11/xrdb/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,12 +13,7 @@ GNU_CONFIGURE= yes
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"
Expand Down

0 comments on commit 1a990bd

Please sign in to comment.