/[smeserver]/rpms/nut/sme7/nut-2.2.0-multilib.patch
ViewVC logotype

Contents of /rpms/nut/sme7/nut-2.2.0-multilib.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Oct 14 18:46:07 2007 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove unneeded packages

1 --- nut-2.2.0/lib/libupsclient-config.in.multilib 2006-11-08 03:47:35.000000000 +0100
2 +++ nut-2.2.0/lib/libupsclient-config.in 2007-07-12 13:16:21.000000000 +0200
3 @@ -10,9 +10,17 @@
4 Version="@PACKAGE_VERSION@"
5 prefix=@prefix@
6 exec_prefix=@exec_prefix@
7 -Libs="-L@libdir@ -lupsclient @SSL_LDFLAGS@"
8 Cflags="-I@includedir@ @SSL_CFLAGS@"
9
10 +arch=$(/bin/arch)
11 +if [ "$arch" = "x86_64" -o "$arch" = "s390x" -o "$arch" = "ppc64" -o "$arch" = "ia64" ] ; then
12 + libdir="/usr/lib64"
13 +else
14 + libdir="/usr/lib"
15 +fi
16 +Libs="-L$libdir @UPSCLI_LIBOBJ@ @SSL_LDFLAGS@"
17 +
18 +
19 case "$1" in
20
21 --cflags)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed