View | Details | Raw Unified | Return to bug 273839 | Differences between
and this patch

Collapse All | Expand All

(-)b/contrib/elftoolchain/libelf/libelf.pc.in (+14 lines)
Added Link Here
1
prefix=@prefix@
2
exec_prefix=@exec_prefix@
3
libdir=@libdir@
4
includedir=@includedir@
5
6
Name: libelf
7
Description: elfutils libelf library to read and write ELF files
8
Version: @PACKAGE_VERSION@
9
URL: http://elfutils.org/
10
11
Libs: -L${libdir} -lelf
12
Cflags: -I${includedir}
13
14
Requires.private: zlib
(-)b/lib/libelf/Makefile (+13 lines)
Lines 195-200 libelf_convert.c: elf_types.m4 libelf_convert.m4 Link Here
195
libelf_fsize.c:		elf_types.m4 libelf_fsize.m4
195
libelf_fsize.c:		elf_types.m4 libelf_fsize.m4
196
libelf_msize.c:		elf_types.m4 libelf_msize.m4
196
libelf_msize.c:		elf_types.m4 libelf_msize.m4
197
197
198
PACKAGE_VERSION=	0.186
199
200
libelf.pc: libelf.pc.in
201
	sed -e 's,@prefix@,/usr,g ; \
202
		s,@exec_prefix@,$${prefix},g ; \
203
		s,@libdir@,$${exec_prefix}/lib,g ; \
204
		s,@sharedlibdir@,$${libdir},g ; \
205
		s,@includedir@,$${prefix}/include,g ; \
206
		s,@PACKAGE_VERSION@,${PACKAGE_VERSION},g ;' \
207
		${.ALLSRC} > ${.TARGET}
208
209
PCFILES=	libelf.pc
210
198
.include <bsd.lib.mk>
211
.include <bsd.lib.mk>
199
212
200
# Keep the .SUFFIXES line after the include of bsd.lib.mk
213
# Keep the .SUFFIXES line after the include of bsd.lib.mk

Return to bug 273839