ports/140074: www/oops does not compile

Dmitry Afanasiev KOT at MATPOCKuH.Ru
Fri Oct 30 13:23:23 UTC 2009


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



More information about the freebsd-ports-bugs mailing list