- Use the default value from configure.ac for --with-xfile-search-path
except with %{_datadir} instead of $(libdir), so Xt can search for app-default files as usual. - Move the --with-xfile-search-path outside the with_static condition.
This commit is contained in:
parent
ea5a92bab1
commit
a6f64803ce
11
libXt.spec
11
libXt.spec
@ -1,7 +1,7 @@
|
||||
Summary: X.Org X11 libXt runtime library
|
||||
Name: libXt
|
||||
Version: 0.99.2
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: MIT/X11
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -50,8 +50,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
%configure \
|
||||
%if ! %{with_static}
|
||||
--disable-static \
|
||||
--with-xfile-search-path=%{_datadir}/X11/app-defaults
|
||||
%endif
|
||||
--with-xfile-search-path="%{_sysconfdir}/X11/%%L/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%l/%%T/\%%N%%C%%S:%{_sysconfdir}/X11/%%T/%%N%%C%%S:%{_sysconfdir}/X11/%%L/%%T/%%N%%S:%{_sysconfdir}/X\11/%%l/%%T/%%N%%S:%{_sysconfdir}/X11/%%T/%%N%%S:%{_datadir}/X11/%%L/%%T/%%N%%C%%S:%{_datadir}/X1\1/%%l/%%T/%%N%%C%%S:%{_datadir}/X11/%%T/%%N%%C%%S:%{_datadir}/X11/%%L/%%T/%%N%%S:%{_datadir}/X11/%%\l/%%T/%%N%%S:%{_datadir}/X11/%%T/%%N%%S"
|
||||
|
||||
make
|
||||
|
||||
%install
|
||||
@ -124,6 +125,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3x/*.3x*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 2 2005 Kristian Høgsberg <krh@redhat.com> 0.99.2-3
|
||||
- Use the default value from configure.ac for --with-xfile-search-path
|
||||
except with %%{_datadir} instead of $(libdir), so Xt can search for
|
||||
app-default files as usual.
|
||||
- Move the --with-xfile-search-path outside the with_static condition.
|
||||
|
||||
* Tue Nov 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
|
||||
- Invoke ./configure --with-xfile-search-path=%%{_datadir}/X11/app-defaults
|
||||
to make sure Xt is looking in the right place for app-defaults files.
|
||||
|
Loading…
Reference in New Issue
Block a user