svn commit: r364063 - head/Mk/Uses
Baptiste Daroussin
bapt at FreeBSD.org
Mon Aug 4 23:01:26 UTC 2014
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
More information about the svn-ports-all
mailing list