Issue 454 - patch to fix install when build dir != src dir
Summary: patch to fix install when build dir != src dir
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-02-12 10:01 UTC by david.leonard@csee.uq.edu.au
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description david.leonard@csee.uq.edu.au 2000-02-12 10:01:17 UTC
Full_Name: David Leonard
Version: -devel
OS: OpenBSD 2.6-current
URL: 
Submission from: (NULL) (130.102.2.61)



In the "install-schema" target of ldap/servers/slapd/Makefile.in,
the assumption is made (by kdz) that srcdir is the build dir.
So it will break if you run "/src/ol/configure --srcdir=/src/ol"
from somewhere other than /src/ol.

Here's a fix for slapd/Makefile.in

-	@for i in schema/*.schema schema/*.conf ; do \
+	@cd $(srcdir); for i in schema/*.schema schema/*.conf ; do \


Comment 1 Kurt Zeilenga 2000-02-14 12:09:06 UTC
changed notes
changed state Open to Closed
Comment 2 Kurt Zeilenga 2000-02-17 00:46:31 UTC
Fixed, please test.

At 10:01 AM 2/12/00 GMT, david.leonard@csee.uq.edu.au wrote:
>Full_Name: David Leonard
>Version: -devel
>OS: OpenBSD 2.6-current
>URL: 
>Submission from: (NULL) (130.102.2.61)
>
>
>
>In the "install-schema" target of ldap/servers/slapd/Makefile.in,
>the assumption is made (by kdz) that srcdir is the build dir.
>So it will break if you run "/src/ol/configure --srcdir=/src/ol"
>from somewhere other than /src/ol.
>
>Here's a fix for slapd/Makefile.in
>
>-	@for i in schema/*.schema schema/*.conf ; do \
>+	@cd $(srcdir); for i in schema/*.schema schema/*.conf ; do \
>
>
>
>
>
Comment 3 OpenLDAP project 2014-08-01 21:06:10 UTC
devel issue, fixed.