summaryrefslogtreecommitdiffstats
path: root/lib/libz/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-06-11 20:44:54 +0000
committerbapt <bapt@FreeBSD.org>2014-06-11 20:44:54 +0000
commit8e25d6b2c0c5a3165fe286b5d9bee0c16f74ca3f (patch)
tree2e77b130167e618414e786827f1e7e8e958ca053 /lib/libz/Makefile
parente75b5b293629ac1841c4f76b9a39c91b9e1b6976 (diff)
downloadFreeBSD-src-8e25d6b2c0c5a3165fe286b5d9bee0c16f74ca3f.zip
FreeBSD-src-8e25d6b2c0c5a3165fe286b5d9bee0c16f74ca3f.tar.gz
Add a zlib pkg-config file (more and more ports requires it)
Approved by: delphij MFC after: 1 week
Diffstat (limited to 'lib/libz/Makefile')
-rw-r--r--lib/libz/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index fe6fb29..bc723af 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -66,6 +66,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
OpenPOWER on IntegriCloud