diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-30 02:45:08 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-30 02:45:08 +0800 |
commit | c6d7b07ff67fd6df53f2bb8ea0c89469951a44f7 (patch) | |
tree | 5b5ae63bc392c110e4327e10212f29282d4d3cc0 /www | |
parent | f412d56dfb8325c909227d3c20e5a83a09b86214 (diff) | |
download | marcuscom-ports-c6d7b07ff67fd6df53f2bb8ea0c89469951a44f7.tar.gz marcuscom-ports-c6d7b07ff67fd6df53f2bb8ea0c89469951a44f7.tar.zst marcuscom-ports-c6d7b07ff67fd6df53f2bb8ea0c89469951a44f7.zip |
In trying to solve a problem with inconsistencies when linking with -shared
and ${PTHREAD_LIBS}, avahi linked its binaries with -lc_r on FreeBSD. This
caused nasty runtime failures on i386, and build failures on alpha, amd64,
and other platforms where libc_r no longer exists.
To fix this, don't go through the song and dance of trying to solve the
-shared/${PTHREAD_LIBS} problem, and just link with ${PTHREAD_LIBS} as
usual. Of course, ports that depend on avahi's libraries will break by
doing this, so add ${PTHREAD_{LIBS,CFLAGS}} to the right pkg-config files
to make sure dependencies will pick them up.
Patch adapted from: Yasuda Keisuke <kysd@po.harenet.ne.jp>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5547 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www')
0 files changed, 0 insertions, 0 deletions