Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2009 16:23:20 +0300
From:      Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
To:        Dmitry Morozovsky <marck@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, edwin@FreeBSD.org
Subject:   Re: ports/140074: www/oops does not compile
Message-ID:  <4AEAE8C8.7060200@MATPOCKuH.Ru>
In-Reply-To: <alpine.BSF.2.00.0910291408540.49767@woozle.rinet.ru>
References:  <200910291010.n9TAADFX039236@freefall.freebsd.org> <alpine.BSF.2.00.0910291408540.49767@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

Dmitry Morozovsky wrote:
> I Unfortunately, I have no sparc machines to test. Also, does the patch proposed 
> build the port on all currently supported platforms (at least RELENG_6)?
> 
> Ah, and I overlooked initially that the proposed patch is for Mk/bsd.port.mk - 
> which definitely should be discussed with portmaster@
Another way is changing local Makefile for www/oops like this:

--- Makefile.orig       2009-10-30 16:19:26.000000000 +0300
+++ Makefile    2009-10-30 16:19:38.000000000 +0300
@@ -31,7 +31,7 @@
  CONFIGURE_ENV+=        CFLAGS="${CFLAGS} -fPIC" \
                 CXXFLAGS="${CXXFLAGS} -fPIC" \
                 PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-               PTHREAD_LIBS="${PTHREAD_LIBS}"
+               PTHREAD_LIBS=-lpthread

  OOPSVAR=       /var/run/oops
  OOPSLOG=       /var/log/oops

or this:
+               PTHREAD_LIBS=-lpthr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AEAE8C8.7060200>