SPECS: apr.spec - fix layout issue with autoconf 2.60 (by creati...

qboosh qboosh at pld-linux.org
Mon Nov 20 00:59:28 CET 2006


Author: qboosh                       Date: Sun Nov 19 23:59:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix layout issue with autoconf 2.60
  (by creating own layout with paths compatible with those passed to configure;
   default apr layout overrided configure variables with /usr/local paths)

---- Files affected:
SPECS:
   apr.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/apr.spec
diff -u SPECS/apr.spec:1.49 SPECS/apr.spec:1.50
--- SPECS/apr.spec:1.49	Sat May 27 12:27:26 2006
+++ SPECS/apr.spec	Mon Nov 20 00:59:22 2006
@@ -82,17 +82,29 @@
 %patch1 -p1
 %patch2 -p1
 
+cat >> config.layout <<'EOF'
+<Layout PLD>
+sbindir:	%{_sbindir}
+libexecdir:	%{_libdir}/apr
+installbuilddir: ${datadir}/build-${APR_MAJOR_VERSION}
+localstatedir:	/var/run
+runtimedir:	/var/run
+libsuffix:	-${APR_MAJOR_VERSION}
+</Layout PLD>
+EOF
+
 %build
 install /usr/share/automake/config.* build
 ./buildconf
 %configure \
-	--with-devrandom=/dev/urandom \
+	--enable-layout=PLD \
 %ifarch %{ix86} %{i8664}
 %ifnarch i386
 	--enable-nonportable-atomics \
 %endif
 %endif
-	--enable-threads
+	--enable-threads \
+	--with-devrandom=/dev/urandom
 %{__make}
 
 %install
@@ -156,6 +168,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2006/11/19 23:59:22  qboosh
+- fix layout issue with autoconf 2.60
+  (by creating own layout with paths compatible with those passed to configure;
+   default apr layout overrided configure variables with /usr/local paths)
+
 Revision 1.49  2006/05/27 10:27:26  qboosh
 - BR+R: uname(release) >= 2.6 to ensure epoll() support
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apr.spec?r1=1.49&r2=1.50&f=u



More information about the pld-cvs-commit mailing list