]> git.pld-linux.org Git - packages/xfsprogs.git/blob - xfsprogs-miscfix.patch
XFS filesystem utilities; initial pld release
[packages/xfsprogs.git] / xfsprogs-miscfix.patch
1 diff -urN xfsprogs-1.2.0.org/configure.in xfsprogs-1.2.0/configure.in
2 --- xfsprogs-1.2.0.org/configure.in     Tue May  1 21:06:43 2001
3 +++ xfsprogs-1.2.0/configure.in Tue May  1 21:51:08 2001
4 @@ -28,7 +28,10 @@
5  AC_SUBST(malloc_lib)
6  
7  dnl Set version
8 -. VERSION
9 +PKG_MAJOR=1
10 +PKG_MINOR=2
11 +PKG_REVISION=0
12 +PKG_BUILD=0
13  
14  pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
15  pkg_release=$PKG_BUILD
16 @@ -115,15 +118,15 @@
17         echo 'Install either the e2fsprogs-devel (rpm) or the uuid-dev (deb) package.'
18         exit 1
19  ])
20 -libuuid="/usr/lib/libuuid.a"
21 +libuuid="-luuid"
22  AC_SUBST(libuuid)
23  
24  dnl Checks for LVM library
25 -AC_MSG_CHECKING([for liblvm.a])
26 +AC_MSG_CHECKING([for liblvm.so])
27  liblvm=""
28  for dir in /usr/local/lib /usr/lib /lib; do
29 -        if test -f $dir/liblvm.a; then
30 -                liblvm=$dir/liblvm.a
31 +        if test -f $dir/liblvm.so; then
32 +                liblvm="-L$dir -llvm"
33          fi
34  done
35  if test -n "$liblvm"; then
36 @@ -201,16 +204,8 @@
37  dnl man pages (source)
38  dnl also check if man page source is gzipped
39  dnl (usually on Debian, but not Redhat pre-7.0)
40 -pkg_man_dir=${prefix}/man
41 +pkg_man_dir=${prefix}/share/man
42  have_zipped_manpages=false
43 -for d in ${prefix}/share/man ${prefix}/man ; do
44 -    if test -f $d/man1/man.1.gz
45 -    then
46 -       pkg_man_dir=$d
47 -       have_zipped_manpages=true
48 -       break
49 -    fi
50 -done
51  AC_SUBST(pkg_man_dir)
52  AC_SUBST(have_zipped_manpages)
53  
This page took 1.022896 seconds and 3 git commands to generate.