crda: use prefixed pkg-config
This commit is contained in:
parent
7a8b3b8b64
commit
da8e991836
@ -31,7 +31,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs utils/
|
patchShebangs utils/
|
||||||
substituteInPlace Makefile --replace ldconfig true
|
substituteInPlace Makefile \
|
||||||
|
--replace ldconfig true \
|
||||||
|
--replace pkg-config $PKG_CONFIG
|
||||||
sed -i crda.c \
|
sed -i crda.c \
|
||||||
-e "/\/usr\/.*\/regulatory.bin/d" \
|
-e "/\/usr\/.*\/regulatory.bin/d" \
|
||||||
-e "s|/lib/crda|${wireless-regdb}/lib/crda|g"
|
-e "s|/lib/crda|${wireless-regdb}/lib/crda|g"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user