[Bug 192501] security/libtomcrypt - add fpic flag

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 8 11:53:21 UTC 2014


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

--- Comment #5 from samm at os2.kiev.ua ---
(In reply to Tijl Coosemans from comment #4)
> Please don't add -fPIC like that.  It'll cause static libraries and
> executables to be build with as well and that's wrong.  Problems with -fPIC
> are almost always because a configure test fails, so please search
> config.log for -fPIC and see if there are any problems there.

In this case it's causing link error on the third party software depending on
this tool. As far as i could see this port generating only .a library:

root at bsd10:~ # pkg info -l libtomcrypt-1.17_2|grep -v include
libtomcrypt-1.17_2:
    /usr/local/lib/libtomcrypt.a


so i think that patch is ok. I am ok to apply it only to amd64 if needed.

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


More information about the freebsd-ports-bugs mailing list