Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 06:17:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192730] [build] make checkdpadd failures with LD* variables being added to LDADD
Message-ID:  <bug-192730-8-Wf6ioL9DE7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192730-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192730-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192730

--- Comment #2 from yaneurabeya@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192730-8-Wf6ioL9DE7>