OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 30-Mar-2005 11:23:35 Branch: HEAD Handle: 2005033010233500 Modified files: openpkg-src/pkgconfig pkgconfig.spec Log: correct buildconf for multithread linking on FreeBSD Summary: Revision Changes Path 1.21 +5 -1 openpkg-src/pkgconfig/pkgconfig.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/pkgconfig/pkgconfig.spec ============================================================================ $ cvs diff -u -r1.20 -r1.21 pkgconfig.spec --- openpkg-src/pkgconfig/pkgconfig.spec 27 Mar 2005 16:59:23 -0000 1.20 +++ openpkg-src/pkgconfig/pkgconfig.spec 30 Mar 2005 09:23:35 -0000 1.21 @@ -33,7 +33,7 @@ Group: Converter License: GPL Version: 0.16.0 -Release: 20050327 +Release: 20050330 # list of sources Source0: http://pkgconfig.freedesktop.org/releases/pkgconfig-%{version}.tar.gz @@ -64,8 +64,12 @@ %patch -p1 %build + case "%{l_platform -t}" in + *-freebsd* ) libs="-pthread" ;; + esac CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ + LIBS="$libs" \ ./configure \ --prefix=%{l_prefix} \ --disable-shared @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org