From owner-svn-src-head@FreeBSD.ORG Sun Nov 2 09:37:46 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7CA0D0; Sun, 2 Nov 2014 09:37:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93FEFEE5; Sun, 2 Nov 2014 09:37:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sA29bkfd001445; Sun, 2 Nov 2014 09:37:46 GMT (envelope-from mm@FreeBSD.org) Received: (from mm@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sA29bkKF001441; Sun, 2 Nov 2014 09:37:46 GMT (envelope-from mm@FreeBSD.org) Message-Id: <201411020937.sA29bkKF001441@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mm set sender to mm@FreeBSD.org using -f From: Martin Matuska Date: Sun, 2 Nov 2014 09:37:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273961 - head/lib/libarchive X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 09:37:46 -0000 Author: mm Date: Sun Nov 2 09:37:45 2014 New Revision: 273961 URL: https://svnweb.freebsd.org/changeset/base/273961 Log: Add pkg-config file for libarchive Requested by: bapt MFC after: 1 week Added: head/lib/libarchive/libarchive.pc (contents, props changed) Modified: head/lib/libarchive/Makefile Modified: head/lib/libarchive/Makefile ============================================================================== --- head/lib/libarchive/Makefile Sun Nov 2 05:51:31 2014 (r273960) +++ head/lib/libarchive/Makefile Sun Nov 2 09:37:45 2014 (r273961) @@ -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 Added: head/lib/libarchive/libarchive.pc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libarchive/libarchive.pc Sun Nov 2 09:37:45 2014 (r273961) @@ -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