Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 23:01:26 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364063 - head/Mk/Uses
Message-ID:  <53e010c6.5d76.2eba340f@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Aug  4 23:01:26 2014
New Revision: 364063
URL: http://svnweb.freebsd.org/changeset/ports/364063
QAT: https://qat.redports.org/buildarchive/r364063/

Log:
  Add USES=execinfo to handle dependency on libexecinfo avoiding pull a useless
  libdependency on ports libexecinfo on freebsd 10+

Added:
  head/Mk/Uses/execinfo.mk   (contents, props changed)

Added: head/Mk/Uses/execinfo.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/execinfo.mk	Mon Aug  4 23:01:26 2014	(r364063)
@@ -0,0 +1,17 @@
+# $FreeBSD$
+#
+# handle dependency on libexecinfo
+#
+# Feature:	execinfo
+# Usage:	USES=exexinfo
+#
+# Take no arguments
+
+.if !defined(_INCLUDE_USES_EXECINFO_MK)
+_INCLUDE_USES_EXECINFO_MK=	yes
+
+.if !exists(/usr/lib/libexecinfo.so)
+LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+.endif
+
+.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e010c6.5d76.2eba340f>