libudev: Depend on gperf instead of attempting to partially disable its
use, which appears completely broken.
This commit is contained in:
parent
7b75838ecc
commit
2a1fcc9841
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2023/05/22 16:32:23 nikita Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/07/22 08:41:13 nia Exp $
|
||||
|
||||
DISTNAME= libudev-3.2.12
|
||||
CATEGORIES= sysutils
|
||||
|
@ -12,6 +12,8 @@ HOMEPAGE= https://github.com/eudev-project/eudev/
|
|||
LICENSE= gnu-gpl-v2
|
||||
COMMENT= Device enumeration and database of constants
|
||||
|
||||
TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
|
||||
|
||||
BUILD_DEFS+= VARBASE
|
||||
|
||||
ONLY_FOR_PLATFORM= Linux-*-*
|
||||
|
@ -22,11 +24,6 @@ USE_LANGUAGES= c c++
|
|||
|
||||
CONFIGURE_ARGS+= --with-rootrundir=${VARBASE}/run
|
||||
|
||||
SUBST_CLASSES+= nogperf
|
||||
SUBST_STAGE.nogperf= pre-configure
|
||||
SUBST_FILES.nogperf= configure.ac
|
||||
SUBST_SED.nogperf= -e 's,ERROR\(.*gperf\),WARN\1,'
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && autoreconf -fiv
|
||||
|
||||
|
|
Loading…
Reference in a new issue