summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-11-13 01:55:40 +0000
committerrandomdan <randomdan@localhost>2010-11-13 01:55:40 +0000
commit1864f5c50e1e0e2e71a3f19706d8d17e7141ab0e (patch)
tree9891fa30b100f7b258ff9fbc90f363e8f829f363
parentPass cflags and linkflags to bjam (diff)
downloadportage-1864f5c50e1e0e2e71a3f19706d8d17e7141ab0e.tar.bz2
portage-1864f5c50e1e0e2e71a3f19706d8d17e7141ab0e.tar.xz
portage-1864f5c50e1e0e2e71a3f19706d8d17e7141ab0e.zip
Add cflags and linkflags
-rw-r--r--www-apps/project2/Manifest2
-rw-r--r--www-apps/project2/project2-9999.ebuild5
2 files changed, 4 insertions, 3 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest
index f85fcf8..4a3925e 100644
--- a/www-apps/project2/Manifest
+++ b/www-apps/project2/Manifest
@@ -1,3 +1,3 @@
EBUILD project2-0.1.ebuild 593 RMD160 14c820a79e8bc9f19428e4f8850d90caea043602 SHA1 f674e6b78969d92698a38079f817fbe04954b035 SHA256 30f3d2a6e74b7d6ae849950ca7599db4cec19bed5db5036ef5837d2056334aab
EBUILD project2-0.2.ebuild 616 RMD160 2fb1c49e7cfa2879fdbb1290c40f7fb798bdbcd4 SHA1 ebbb82f0ab81dcdb9562552a7ed252865e4aeb76 SHA256 0e36e57bc4196fdf5d66a0c3c076e842b3aa4018ad934f272d3019b16fce0795
-EBUILD project2-9999.ebuild 742 RMD160 d9194e5361a81717e9ad2d88cd33d9a8e7f9d0f5 SHA1 c239cd8ce4fe698bc00e32d4e0db38ea4e759dc5 SHA256 43a5705f7928647ac4f61bbaddcaece443dbcd4059cad90c2978e46a71c26f74
+EBUILD project2-9999.ebuild 827 RMD160 27604c22c4df41cffbb69c3d5b50ba070379401a SHA1 8d8caff89cd34edf14bd24295938e52fae6f64d1 SHA256 904fc615d79da1fc80acaecd9a973e76666cc2ffe1f3c62c4ef2774c4056ff53
diff --git a/www-apps/project2/project2-9999.ebuild b/www-apps/project2/project2-9999.ebuild
index 37c1034..394a20e 100644
--- a/www-apps/project2/project2-9999.ebuild
+++ b/www-apps/project2/project2-9999.ebuild
@@ -25,10 +25,11 @@ use !debug && var="variant=release"
src_compile() {
cd ${S}/project2 || die
- ${BJAM} ${var} -qj2 || die
+ ${BJAM} ${var} -q cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die
}
src_install() {
cd ${S}/project2 || die
- ${BJAM} ${var} install -qj2 --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib || die
+ ${BJAM} ${var} install -q --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib \
+ cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die
}