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

patch to fix install when build dir != src dir (ITS#454)



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 \