From owner-svn-ports-head@FreeBSD.ORG Thu Apr 16 14:15:13 2015 Return-Path: Delivered-To: svn-ports-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 644A7BAE; Thu, 16 Apr 2015 14:15:13 +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 4FCB2170; Thu, 16 Apr 2015 14:15:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3GEFDZf083829; Thu, 16 Apr 2015 14:15:13 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3GEFDor083828; Thu, 16 Apr 2015 14:15:13 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201504161415.t3GEFDor083828@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 16 Apr 2015 14:15:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r384112 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2015 14:15:13 -0000 Author: amdmi3 Date: Thu Apr 16 14:15:12 2015 New Revision: 384112 URL: https://svnweb.freebsd.org/changeset/ports/384112 Log: - Set variables with libexecinfo preprocessor and linker flags Differential Revision: D2298 Reviewed by: portmgr (bapt) Approved by: portmgr (bapt) Modified: head/Mk/Uses/execinfo.mk Modified: head/Mk/Uses/execinfo.mk ============================================================================== --- head/Mk/Uses/execinfo.mk Thu Apr 16 13:36:19 2015 (r384111) +++ head/Mk/Uses/execinfo.mk Thu Apr 16 14:15:12 2015 (r384112) @@ -5,13 +5,23 @@ # Feature: execinfo # Usage: USES=execinfo # -# Take no arguments +# Takes no arguments +# +# Exported variables: +# +# EXECINFO_CPPFLAGS - preprocessor flags needed to correctly use +# execinfo library +# EXECINFO_LDFLAGS - linker flags needed to correctly use +# execinfo library +# .if !defined(_INCLUDE_USES_EXECINFO_MK) _INCLUDE_USES_EXECINFO_MK= yes .if !exists(/usr/lib/libexecinfo.so) LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo +EXECINFO_CPPFLAGS= -I${LOCALBASE}/include +EXECINFO_LDFLAGS= -L${LOCALBASE}/lib .endif .endif