svn commit: r268902 - stable/10/lib/libz
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jul 20 00:32:23 UTC 2014
Author: bapt
Date: Sun Jul 20 00:32:22 2014
New Revision: 268902
URL: http://svnweb.freebsd.org/changeset/base/268902
Log:
MFC: r267376
Add a zlib pkg-config file (more and more ports requires it)
Approved by: delphij
Added:
stable/10/lib/libz/zlib.pc
- copied unchanged from r267376, head/lib/libz/zlib.pc
Modified:
stable/10/lib/libz/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/lib/libz/Makefile
==============================================================================
--- stable/10/lib/libz/Makefile Sun Jul 20 00:30:28 2014 (r268901)
+++ stable/10/lib/libz/Makefile Sun Jul 20 00:32:22 2014 (r268902)
@@ -68,6 +68,10 @@ test: example minigzip
(export LD_LIBRARY_PATH=. ; \
echo hello world | ./minigzip | ./minigzip -d )
+beforeinstall:
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+
.include <bsd.lib.mk>
## XXX: clang integrated-as doesn't grok .intel_syntax directives yet
Copied: stable/10/lib/libz/zlib.pc (from r267376, head/lib/libz/zlib.pc)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/10/lib/libz/zlib.pc Sun Jul 20 00:32:22 2014 (r268902, copy of r267376, head/lib/libz/zlib.pc)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: zlib
+Description: zlib compression library
+Version: 1.2.8
+
+Requires:
+Libs: -L${libdir} -L${sharedlibdir} -lz
+Cflags: -I${includedir}
More information about the svn-src-stable
mailing list