svn commit: r384112 - head/Mk/Uses

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Apr 16 14:15:13 UTC 2015


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


More information about the svn-ports-all mailing list