]> git.pld-linux.org Git - packages/apr.git/commitdiff
- fix layout issue with autoconf 2.60
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 19 Nov 2006 23:59:22 +0000 (23:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (by creating own layout with paths compatible with those passed to configure;
   default apr layout overrided configure variables with /usr/local paths)

Changed files:
    apr.spec -> 1.50

apr.spec

index 4eb9560a4ced923a15cd736a6957fa1f0df635e3..5d5323e38581f053ff2643a9c3561d6560a52170 100644 (file)
--- a/apr.spec
+++ b/apr.spec
@@ -81,17 +81,29 @@ Statyczna biblioteka apr.
 %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
This page took 0.050338 seconds and 4 git commands to generate.