pkgsrc-WIP-changes archive

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

libudev: include use_tools missing



Module Name:	pkgsrc-wip
Committed By:	Denys Nykula <nykula%ukr.net@localhost>
Pushed By:	nykula
Date:		Tue Oct 29 15:59:45 2019 +0200
Changeset:	8cc11ebbe272dfcd53654463bb4860a0cd713f84

Modified Files:
	libudev/Makefile
	libudev/Makefile.common
	udev/Makefile

Log Message:
libudev: include use_tools missing

Libtool and pkg-config. Should've read introspection.m4 besides
configure.ac. But patch the latter to ok gperf absence, libudev
builds without, wip/udev daemon needs it.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8cc11ebbe272dfcd53654463bb4860a0cd713f84

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libudev/Makefile        | 1 +
 libudev/Makefile.common | 3 ++-
 udev/Makefile           | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/libudev/Makefile b/libudev/Makefile
index 4aaa7e59bb..3ec3f322ce 100644
--- a/libudev/Makefile
+++ b/libudev/Makefile
@@ -4,6 +4,7 @@ COMMENT=	Device enumeration and database of constants
 CONFIGURE_ARGS+=	--disable-programs
 
 pre-configure:
+	sed -i 's/ERROR\(.*gperf\)/WARN\1/' ${WRKSRC}/configure.ac
 	cd ${WRKSRC} &&autoreconf -fiv
 
 .include "../../wip/libudev/Makefile.common"
diff --git a/libudev/Makefile.common b/libudev/Makefile.common
index b6d4a98f9a..54ff446509 100644
--- a/libudev/Makefile.common
+++ b/libudev/Makefile.common
@@ -14,7 +14,8 @@ HOMEPAGE=	https://wiki.gentoo.org/wiki/Project:Eudev
 LICENSE=	gnu-gpl-v2
 
 ONLY_FOR_PLATFORM=	Linux-*-*
-USE_TOOLS+=	autoconf automake gmake
+USE_TOOLS+=	autoconf automake gmake pkg-config
+USE_LIBTOOL=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--with-rootrundir=${VARBASE}/run
 
diff --git a/udev/Makefile b/udev/Makefile
index daf036af15..2374ef7fa4 100644
--- a/udev/Makefile
+++ b/udev/Makefile
@@ -12,5 +12,6 @@ pre-configure:
 	sed -i 's,/run,"UDEV_ROOT_RUN",' ${WRKSRC}/src/udev/*.c
 	cd ${WRKSRC} &&autoreconf -fiv
 
+.include "../../devel/gperf/buildlink3.mk"
 .include "../../wip/libudev/buildlink3.mk"
 .include "../../wip/libudev/Makefile.common"


Home | Main Index | Thread Index | Old Index