Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 14:15:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384112 - head/Mk/Uses
Message-ID:  <201504161415.t3GEFDor083828@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504161415.t3GEFDor083828>