Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 00:01:41 +0900
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        Tom Parquette <tparquet@twcny.rr.com>
Cc:        gnome@FreeBSD.org
Subject:   Re: Portupgrade failed: gnomedb
Message-ID:  <3F6DBD55.2040807@FreeBSD.org>
In-Reply-To: <3F6D9DBD.5080509@twcny.rr.com>
References:  <3F6D9DBD.5080509@twcny.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tom,

Tom Parquette wrote:

> This is a 5.1-CURRENT system updated early Sept 20.  Ports was cvsuped 
> mid day Sept 20.
>
> I'm getting the following on gnomedb.  If you need the list of 
> installed packages, please let me know.  TIA...
>
...

>
> cc: The -pthread option is deprecated.
> configure: failed program was:
>
> #line 1613 "configure"
> #include "confdefs.h"
>
> main(){return(0);}
> P3R-272#
>
You problem in depricated -pthread flag. Do this in your gnomedb Makefile

INSTALLS_SHLIB= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
-                LIBS="-pthread -L${LOCALBASE}/lib -lintl"
+                LIBS="${PTHREAD_CFLAGS} -L${LOCALBASE}/lib -lintl"
CONFIGURE_TARGET=       --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB=      VERSION=${PORTVERSION}

Btw. Early this day seen backout commit in gcc specs so there is another 
way. This will be in cvs later

All the best,
Alexander.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6DBD55.2040807>