Problems building mesagl on FreeBSD4.8-RELEASE

Roman Neuhauser neuhauser at bellavista.cz
Tue May 13 08:39:35 PDT 2003


# welchsm at earthlink.net / 2003-05-12 13:08:35 -0500:
> I would file a PR, but as none of my FreeBSD systems
> are set up to mail directly I can't use send-pr (using
> webmail currently), and the web interface at freebsd.org
> is still not available.
> 
> I had to apply the following patch (to a patch) in
> order to get it to compile:
> 
> --- patch-aa.orig       Sat May 10 15:33:00 2003
> +++ patch-aa    Mon May 12 14:59:31 2003
> @@ -32,6 +32,6 @@
>   echo "${ECHO_T}yes" >&6
>  -    CFLAGS="$CFLAGS -D_REENTRANT -DPTHREADS"
>  +    CFLAGS="$CFLAGS -D_THREAD_SAFE -D_REENTRANT -DPTHREADS"
> -     THREAD_LIBS="$THREAD_LIBS -lc_r"
> +     THREAD_LIBS="$THREAD_LIBS -pthread"
>   else
>     echo "$as_me: failed program was:" >&5

    I'll take the risk of making a fool of myself...

    I'm not quite sure, but this change would break the build for 5.x
    boxen. You'd have to add more logic to differentiate between the
    branches. BTW, you can have send-pr(1) save the PR instead of
    expediting it out. Maybe you could post a complete PR here?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the freebsd-ports mailing list