OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Dec-2004 16:00:55
Branch: HEAD Handle: 2004120615005400
Modified files:
openpkg-src/inn inn.spec
Log:
conditionally correctly specify missing realtime functions library
Summary:
Revision Changes Path
1.92 +8 -2 openpkg-src/inn/inn.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/inn/inn.spec
============================================================================
$ cvs diff -u -r1.91 -r1.92 inn.spec
--- openpkg-src/inn/inn.spec 13 Nov 2004 14:53:31 -0000 1.91
+++ openpkg-src/inn/inn.spec 6 Dec 2004 15:00:54 -0000 1.92
@@ -34,7 +34,7 @@
Group: News
License: ISC
Version: 2.4.1
-Release: 20041113
+Release: 20041206
# package options
%option with_fsl yes
@@ -89,11 +89,17 @@
-e 's;\(ExtUtils::Embed.*ldopts.*tail -1\);\1 | sed -e "s/ -lc\\$/
/" -e "s/ -lc / /";' \
configure
+ # correctly specify missing realtime functions library
+ LIBS="%{l_fsl_libs}"
+ case "%{l_platform -t}" in
+ *-sunos* ) LIBS="$LIBS -lrt" ;;
+ esac
+
# configure the source tree
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O} %{l_cppflags}" \
LDFLAGS="%{l_ldflags} %{l_fsl_ldflags}" \
- LIBS="%{l_fsl_libs}" \
+ LIBS="$LIBS" \
./configure \
--prefix=%{l_prefix} \
--bindir=%{l_prefix}/libexec/inn \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]