On Wed, Jul 31, 2002, Ralf S. Engelschall wrote:
> On Wed, Jul 31, 2002, Michael Schloh wrote:
>> [...]
>>   @@ -65,11 +65,15 @@
>>        LIBS="-lz" \
>>        ./configure \
>>            --prefix=%{l_prefix} \
>>   +        --mandir=$RPM_BUILD_ROOT%{l_prefix}/man \
>>            --disable-shared
>>        %{l_make} %{l_mflags}
>>
>>    %install
>>        rm -rf $RPM_BUILD_ROOT
>>   +    %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix} \
>>   +        $RPM_BUILD_ROOT%{l_prefix}/man \
>>   +        $RPM_BUILD_ROOT%{l_prefix}/man/man1
>>        %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
>
> Means that their Makefile does not honor DESTDIR for mandir, right?
> Hmmm... ok, a nasty thing.
> 

Correct. Unless configured with the --mandir option, their Makefile hardcodes
a '/man' onto the '--prefix'. For example, after './configure --prefix=/sw',
then stuff gets written to '/sw/man' during package rolling, which is a
problem of course.

Regards,
Michael

--
[EMAIL PROTECTED]
Development Team, Application Services
Cable & Wireless Deutschland GmbH

Attachment: msg00733/pgp00000.pgp
Description: PGP signature

Reply via email to