summaryrefslogtreecommitdiffstats
path: root/lib/libz
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-03 16:21:53 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-03 16:21:53 +0000
commite6473a1f3c37ea35159cd4d7d3c4bb693c9a99f6 (patch)
tree415bc9c3acdef0963f6b16ee78c39608ae642f0c /lib/libz
parentd55e00843a3d660bf081aabf50fab05ccbba1eec (diff)
downloadFreeBSD-src-e6473a1f3c37ea35159cd4d7d3c4bb693c9a99f6.zip
FreeBSD-src-e6473a1f3c37ea35159cd4d7d3c4bb693c9a99f6.tar.gz
MFC r273756,r287980:
r273756: only install .pc files when we are not installing 32bit compat libs... r287980: Replace beforeinstall: handling with FILES.
Diffstat (limited to 'lib/libz')
-rw-r--r--lib/libz/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile
index dce0ab3..dca7a1b 100644
--- a/lib/libz/Makefile
+++ b/lib/libz/Makefile
@@ -68,9 +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
+.ifndef COMPAT_32BIT
+FILES= zlib.pc
+FILESDIR= ${LIBDATADIR}/pkgconfig
+.endif
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud