pkgsrc-WIP-changes archive

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

efivar: add patches to fix pkg-config files



Module Name:	pkgsrc-wip
Committed By:	Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>
Pushed By:	sergiidmytruk
Date:		Fri Oct 14 01:13:02 2022 +0300
Changeset:	97fd9869b62e7df31c49e362be7e973c80403ca6

Modified Files:
	efivar/distinfo
Added Files:
	efivar/patches/patch-src_efiboot.pc.in
	efivar/patches/patch-src_efisec.pc.in
	efivar/patches/patch-src_efivar.pc.in

Log Message:
efivar: add patches to fix pkg-config files

Signed-off-by: Sergii Dmytruk <sergii.dmytruk%3mdeb.com@localhost>

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

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

diffstat:
 efivar/distinfo                        |  3 +++
 efivar/patches/patch-src_efiboot.pc.in | 14 ++++++++++++++
 efivar/patches/patch-src_efisec.pc.in  | 15 +++++++++++++++
 efivar/patches/patch-src_efivar.pc.in  | 15 +++++++++++++++
 4 files changed, 47 insertions(+)

diffs:
diff --git a/efivar/distinfo b/efivar/distinfo
index e1b292b463..8e5fcaf00c 100644
--- a/efivar/distinfo
+++ b/efivar/distinfo
@@ -3,6 +3,9 @@ $NetBSD$
 BLAKE2s (efivar-38.tar.gz) = 2e0821f4373bf99ee6e59ddf98fafb6e9341dc2f7f5f6ba072c9ba5c95b25435
 SHA512 (efivar-38.tar.gz) = 5ac146227e20c845d0cd39d7cb9b8a109a3ddb8f2e3c78a9fdf480c5ac37417360bce815c7d359354a9aa07bfb30be1d6d318a2ffa250e2904f629df6113a430
 Size (efivar-38.tar.gz) = 470176 bytes
+SHA1 (patch-src_efiboot.pc.in) = abcabe3c6d050e7227a42bea674a3352496d58b9
+SHA1 (patch-src_efisec.pc.in) = f5a3ddee2aa3863d4f2b2009ec03bb921a9c28a6
+SHA1 (patch-src_efivar.pc.in) = 7b5f42eab8c6bd71aa69893a8df6e810a65c8f5d
 SHA1 (patch-src_include_defaults.mk) = e79446000ba43eb82ecd6a141de593d9d768d27f
 SHA1 (patch-src_include_efivar_efivar-dp.h) = 8eaeb0a3657a6263e2b19da77c14b29bd7b6f411
 SHA1 (patch-src_include_gcc.specs) = b63825b96dcedc44404de730683a09f421a07eea
diff --git a/efivar/patches/patch-src_efiboot.pc.in b/efivar/patches/patch-src_efiboot.pc.in
new file mode 100644
index 0000000000..f1fecd93e7
--- /dev/null
+++ b/efivar/patches/patch-src_efiboot.pc.in
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Add -rpath, drop -ldl, add one more include path.
+
+--- src/efiboot.pc.in.orig	2022-10-05 17:03:05.000000000 +0000
++++ src/efiboot.pc.in
+@@ -7,5 +7,5 @@ Name: efiboot
+ Description: UEFI Boot variable support
+ Version: @@VERSION@@
+ Requires.private: efivar
+-Libs: -L${libdir} -lefiboot
+-Cflags: -I${includedir}/efivar
++Libs: -Wl,-rpath,${libdir} -L${libdir} -lefiboot
++Cflags: -I${includedir} -I${includedir}/efivar
diff --git a/efivar/patches/patch-src_efisec.pc.in b/efivar/patches/patch-src_efisec.pc.in
new file mode 100644
index 0000000000..0d566c7799
--- /dev/null
+++ b/efivar/patches/patch-src_efisec.pc.in
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add -rpath, drop -ldl, add one more include path.
+
+--- src/efisec.pc.in.orig	2022-10-13 22:03:58.467502286 +0000
++++ src/efisec.pc.in
+@@ -6,6 +6,5 @@ includedir=@@INCLUDEDIR@@
+ Name: efisec
+ Description: UEFI Security Features
+ Version: @@VERSION@@
+-Libs: -L${libdir} -lefivar -lefisec
+-Libs.private: -ldl
+-Cflags: -I${includedir}/efivar
++Libs: -Wl,-rpath,${libdir} -L${libdir} -lefivar -lefisec
++Cflags: -I${includedir} -I${includedir}/efivar
diff --git a/efivar/patches/patch-src_efivar.pc.in b/efivar/patches/patch-src_efivar.pc.in
new file mode 100644
index 0000000000..957ab34d0c
--- /dev/null
+++ b/efivar/patches/patch-src_efivar.pc.in
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add -rpath, drop -ldl, add one more include path.
+
+--- src/efivar.pc.in.orig	2022-10-05 17:03:05.000000000 +0000
++++ src/efivar.pc.in
+@@ -6,6 +6,5 @@ includedir=@@INCLUDEDIR@@
+ Name: efivar
+ Description: UEFI Variable Management
+ Version: @@VERSION@@
+-Libs: -L${libdir} -lefivar
+-Libs.private: -ldl
+-Cflags: -I${includedir}/efivar
++Libs: -Wl,-rpath,${libdir} -L${libdir} -lefivar
++Cflags: -I${includedir} -I${includedir}/efivar


Home | Main Index | Thread Index | Old Index