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:31:30 Branch: OPENPKG_2_STABLE Handle: 2006102408312900 Modified files: (Branch: OPENPKG_2_STABLE) openpkg-src/giftcurs giftcurs.spec Log: MFC: 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.8.2.3 +6 -1 openpkg-src/giftcurs/giftcurs.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/giftcurs/giftcurs.spec ============================================================================ $ cvs diff -u -r1.8.2.2 -r1.8.2.3 giftcurs.spec --- openpkg-src/giftcurs/giftcurs.spec 16 Oct 2006 14:50:27 -0000 1.8.2.2 +++ openpkg-src/giftcurs/giftcurs.spec 24 Oct 2006 07:31:29 -0000 1.8.2.3 @@ -33,7 +33,7 @@ Group: P2P License: GPL Version: 0.6.2 -Release: 2.20061018 +Release: 2.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