Author: bapt
Date: Mon Nov 24 22:32:18 2014
New Revision: 274993
URL: https://svnweb.freebsd.org/changeset/base/274993

Log:
  Fix dependencies in case of building statically

Modified:
  head/share/mk/src.libnames.mk

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk       Mon Nov 24 22:29:16 2014        
(r274992)
+++ head/share/mk/src.libnames.mk       Mon Nov 24 22:32:18 2014        
(r274993)
@@ -171,7 +171,7 @@ LDADD_${_l}_L+=             -L${LIB${_l:tu}DIR}
 .endif
 DPADD_${_l}?=  ${LIB${_l:tu}}
 LDADD_${_l}?=  ${LDADD_${_l}_L} -l${_l}
-.if defined(${_l}_depend) && defined(NO_SHARED)
+.if defined(_DP_${_l}) && defined(NO_SHARED)
 .for _d in ${_DP_${_l}}
 DPADD_${_l}+=  ${DPADD_${_d}}
 LDADD_${_l}+=  ${LDADD_${_d}}
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to