OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 24-Oct-2006 09:30:46 Branch: HEAD Handle: 2006102408304600 Modified files: openpkg-src/giftcurs giftcurs.spec Log: fix building under Linux and Solaris where librt is required for glib2 (actually a glib2 problems, but we apply the workaround here for a quick fix anyway) Summary: Revision Changes Path 1.11 +6 -1 openpkg-src/giftcurs/giftcurs.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/giftcurs/giftcurs.spec ============================================================================ $ cvs diff -u -r1.10 -r1.11 giftcurs.spec --- openpkg-src/giftcurs/giftcurs.spec 13 Oct 2006 17:28:20 -0000 1.10 +++ openpkg-src/giftcurs/giftcurs.spec 24 Oct 2006 07:30:46 -0000 1.11 @@ -33,7 +33,7 @@ Group: P2P License: GPL Version: 0.6.2 -Release: 20061013 +Release: 20061024 # list of sources Source0: http://savannah.nongnu.org/download/giftcurs/giFTcurs-%{version}.tar.gz @@ -66,10 +66,15 @@ %patch -p0 %build + libs="" + case "%{l_platform -t}" in + *-linux* | *-sunos* ) libs="-lrt" ;; + esac CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags ncurses .}" \ LDFLAGS="%{l_ldflags}" \ + LIBS="$libs" \ ./configure \ --prefix=%{l_prefix} \ --with-ncurses=%{l_prefix} \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org