FreeBSD Bugzilla – Attachment 244914 Details for
Bug 273839
contrib libs does not install pc files for libs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
d4821b278c.patch (text/plain), 1.66 KB, created by
Ivan Rozhuk
on 2023-09-16 04:03:19 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2023-09-16 04:03:19 UTC
Size:
1.66 KB
patch
obsolete
>From d4821b278c8d9a6a2f8452de14ee1f6c324f0464 Mon Sep 17 00:00:00 2001 >From: Rozhuk Ivan <rozhuk.im@gmail.com> >Date: Sat, 16 Sep 2023 06:58:25 +0300 >Subject: [PATCH] Add generation libelf.pc for elftoolchain/libelf > >--- > contrib/elftoolchain/libelf/libelf.pc.in | 14 ++++++++++++++ > lib/libelf/Makefile | 13 +++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 contrib/elftoolchain/libelf/libelf.pc.in > >diff --git a/contrib/elftoolchain/libelf/libelf.pc.in b/contrib/elftoolchain/libelf/libelf.pc.in >new file mode 100644 >index 00000000000..598ecea7281 >--- /dev/null >+++ b/contrib/elftoolchain/libelf/libelf.pc.in >@@ -0,0 +1,14 @@ >+prefix=@prefix@ >+exec_prefix=@exec_prefix@ >+libdir=@libdir@ >+includedir=@includedir@ >+ >+Name: libelf >+Description: elfutils libelf library to read and write ELF files >+Version: @PACKAGE_VERSION@ >+URL: http://elfutils.org/ >+ >+Libs: -L${libdir} -lelf >+Cflags: -I${includedir} >+ >+Requires.private: zlib >diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile >index 9704405a8a3..11d41426370 100644 >--- a/lib/libelf/Makefile >+++ b/lib/libelf/Makefile >@@ -195,6 +195,19 @@ libelf_convert.c: elf_types.m4 libelf_convert.m4 > libelf_fsize.c: elf_types.m4 libelf_fsize.m4 > libelf_msize.c: elf_types.m4 libelf_msize.m4 > >+PACKAGE_VERSION= 0.187 >+ >+libelf.pc: libelf.pc.in >+ sed -e 's,@prefix@,/usr,g ; \ >+ s,@exec_prefix@,$${prefix},g ; \ >+ s,@libdir@,$${exec_prefix}/lib,g ; \ >+ s,@sharedlibdir@,$${libdir},g ; \ >+ s,@includedir@,$${prefix}/include,g ; \ >+ s,@PACKAGE_VERSION@,${PACKAGE_VERSION},g ;' \ >+ ${.ALLSRC} > ${.TARGET} >+ >+PCFILES= libelf.pc >+ > .include <bsd.lib.mk> > > # Keep the .SUFFIXES line after the include of bsd.lib.mk
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273839
:
244914
|
244916