[Bug 192730] [build] make checkdpadd failures with LD* variables being added to LDADD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 17 06:17:20 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192730

--- Comment #2 from yaneurabeya at gmail.com ---
This is really easy to work around:

diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 14619eb..0299b37 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -215,7 +215,7 @@ cleandepend:
 .endif

 .if !target(checkdpadd) && (defined(DPADD) || defined(LDADD))
-_LDADD_FROM_DPADD=     ${DPADD:C;^/usr/lib/lib(.*)\.a$;-l\1;}
+_LDADD_FROM_DPADD=     ${DPADD:C;^.*/lib(.*)\.(a|so)$;-l\1;}
 _LDADD_CANONICALIZED=  ${LDADD:S/$//}
 checkdpadd:
 .if ${_LDADD_FROM_DPADD} != ${_LDADD_CANONICALIZED}

I'm not sure if this is the right solution though...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list