summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
committersjg <sjg@FreeBSD.org>2014-11-19 01:07:58 +0000
commitb137080f19736ee33fede2e88bb54438604cf86b (patch)
tree377ac0ac449528621eb192cd245adadb5fd53668 /lib/libarchive
parentab21a29eb607d4dfe389b965fbdee27558e791aa (diff)
parent4a8d07956d121238d006d34ffe7d6269744e8b1a (diff)
downloadFreeBSD-src-b137080f19736ee33fede2e88bb54438604cf86b.zip
FreeBSD-src-b137080f19736ee33fede2e88bb54438604cf86b.tar.gz
Merge from head@274682
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/Makefile6
-rw-r--r--lib/libarchive/libarchive.pc12
2 files changed, 18 insertions, 0 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 1460329..b7e9d7f 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -49,6 +49,12 @@ CFLAGS+= -DPPMD_32BIT
.endif
NO_WCAST_ALIGN.clang=
+.ifndef COMPAT_32BIT
+beforeinstall:
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+ ${.CURDIR}/libarchive.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
+.endif
+
.PATH: ${LIBARCHIVEDIR}/libarchive
# Headers to be installed in /usr/include
diff --git a/lib/libarchive/libarchive.pc b/lib/libarchive/libarchive.pc
new file mode 100644
index 0000000..3aa1d04
--- /dev/null
+++ b/lib/libarchive/libarchive.pc
@@ -0,0 +1,12 @@
+# $FreeBSD$
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libarchive
+Description: library that can create and read several streaming archive formats
+Version: 3.1.2
+Cflags: -I${includedir}
+Libs: -L${libdir} -larchive
+Libs.private: -lz -lbz2 -llzma -lbsdxml -lcrypto
OpenPOWER on IntegriCloud