summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-25 16:55:56 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-25 16:55:56 -0300
commit154fc82a1f8c529840f591456e8d131a5f74cbf3 (patch)
tree99ed9cbd2649009f7b444a31d59956769487c978 /extra
parentd59c722c306fa39fcecf011b411b77faffca5cbd (diff)
libproxy: cmake complained about flags, put them before build dir
Diffstat (limited to 'extra')
-rw-r--r--extra/libproxy/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
index c82563fbc..7c0b48819 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -22,7 +22,7 @@ build() {
cd "${srcdir}"
mkdir build
cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
-DCMAKE_SKIP_RPATH=ON \
@@ -31,7 +31,8 @@ build() {
-WITH_WEBKIT=OFF \
-WITH_MOZJS=OFF \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ ../${pkgname}-${pkgver}
make
}