[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Patch for making OpenLDAP 1.2.6 install correctly into $DESTDIR (ITS#278)




mhk@caldera.de wrote:
> 
> Full_Name: Matthias Hoelzer-Kluepfel
> Version: 1.2.6
> OS: Caldera OpenLinux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (194.231.72.22)
> 
> The patch
> 
> openldap-destdir.patch
> 
> I uploaded to ftp.openldap.org allows to install using the
> $DESTDIR environment variable, as it is usual with automake'd
> software. There are some places in OpenLDAP where the
> 
> install-local
> 
> targets are used without respecting DESTDIR. This is fixed by the patch.

You are supposed to use TMPROOT:

	make install TMPROOT=$RPM_BUILD_ROOT

Or some such, it is there explicitly for that.  Look into build/top.mk
and friends.

Julio