On 2007-09-04 16:49:05 +0200, Stanislav Brabec wrote: > Marcus Rueckert wrote: > > > %if 0%{?suse_version} < 1030 > > %define _prefix /opt/gnome > > %endif > > Insufficient. If you want to use %configure, you have to redefine all > used paths (_bindir, _datadir and so on). > > You also may use following trick: > %define _prefix %(pkg-config --variable=prefix libgnome-2.0) > %define _libdir %(pkg-config --variable=libdir libgnome-2.0) > ... > > Instead of "libgnome-2.0" you can use package of your choice. Not all > standard variables are defined in all packages.
afaik all other variables are defined relative to _prefix. so just changing _prefix should be sufficient no? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]