Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Install a pkg-config file for zlib.
details: https://anonhg.NetBSD.org/src/rev/8cee559e670e
branches: trunk
changeset: 326467:8cee559e670e
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Jan 30 06:49:16 2014 +0000
description:
Install a pkg-config file for zlib.
diffstat:
distrib/sets/lists/comp/mi | 3 ++-
lib/libz/Makefile | 8 +++++++-
lib/libz/zlib.pc | 13 +++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (56 lines):
diff -r 45e324de7397 -r 8cee559e670e distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi Thu Jan 30 06:39:16 2014 +0000
+++ b/distrib/sets/lists/comp/mi Thu Jan 30 06:49:16 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1876 2014/01/26 21:33:54 joerg Exp $
+# $NetBSD: mi,v 1.1877 2014/01/30 06:49:16 wiz Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -3959,6 +3959,7 @@
./usr/lib/pkgconfig/lutok.pc comp-crypto-lib kyua,share
./usr/lib/pkgconfig/openssl.pc comp-crypto-lib crypto,share
./usr/lib/pkgconfig/sqlite3.pc comp-c-lib
+./usr/lib/pkgconfig/zlib.pc comp-c-lib
./usr/libdata/ldscripts/kmodule comp-util-share binutils,kmod
./usr/libdata/lint/llib-larchive.ln comp-c-lintlib lint
./usr/libdata/lint/llib-lasn1.ln comp-krb5-lintlib lint,kerberos
diff -r 45e324de7397 -r 8cee559e670e lib/libz/Makefile
--- a/lib/libz/Makefile Thu Jan 30 06:39:16 2014 +0000
+++ b/lib/libz/Makefile Thu Jan 30 06:49:16 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2012/03/21 10:08:31 matt Exp $
+# $NetBSD: Makefile,v 1.22 2014/01/30 06:49:16 wiz Exp $
WARNS= 3
@@ -22,6 +22,12 @@
INCS= zconf.h zlib.h
INCSDIR= /usr/include
+FILES+= zlib.pc
+FILESOWN_zlib.pc= ${BINOWN}
+FILESGRP_zlib.pc= ${BINGRP}
+FILESMODE_zlib.pc= ${NONBINMODE}
+FILESDIR_zlib.pc= /usr/lib/pkgconfig
+
.include <bsd.lib.mk>
test: minigzip
diff -r 45e324de7397 -r 8cee559e670e lib/libz/zlib.pc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libz/zlib.pc Thu Jan 30 06:49:16 2014 +0000
@@ -0,0 +1,13 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: zlib
+Description: zlib compression library
+Version: 1.2.3
+
+Requires:
+Libs: -L${libdir} -L${sharedlibdir} -lz
+Cflags: -I${includedir}
Home |
Main Index |
Thread Index |
Old Index