Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568102
en ru br
ALT Linux repos
S:78-alt1

Group :: System/Base
RPM: ndctl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ndctl-72.1-alt-iniparser.patch
Download


--- configure.ac.iniparser	2021-12-18 07:53:30.000000000 +0300
+++ configure.ac	2021-12-21 13:40:40.437643703 +0300
@@ -212,9 +212,7 @@
 AC_SUBST([ndctl_keysdir])
 AC_SUBST([ndctl_keysreadme])
 
-AC_CHECK_HEADERS([iniparser.h],,[
-		  AC_MSG_ERROR([iniparser.h not found, install iniparser-devel, libiniparser-dev, or so])
-		 ])
+PKG_CHECK_MODULES([INIPARSER], [iniparser])
 
 my_CFLAGS="\
 -Wall \
--- Makefile.am.iniparser	2022-01-06 02:53:24.000000000 +0300
+++ Makefile.am		2022-01-07 12:25:00.747884960 +0300
@@ -97,6 +97,9 @@
 	util/filter.h \
 	util/bitmap.h
 
+libutil_a_CFLAGS = \
+    $(INIPARSER_CFLAGS)
+
 nobase_include_HEADERS = \
 	daxctl/libdaxctl.h \
 	cxl/libcxl.h \
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin