summaryrefslogtreecommitdiff
path: root/sys-cluster
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-11-12 22:53:22 +0000
committerrandomdan <randomdan@localhost>2010-11-12 22:53:22 +0000
commitac41de1e1a6c0ccc6f2fef9be0f314c9e5bd9241 (patch)
tree57ec242c16583bf81c7ca3eb78eea4e641dcf42b /sys-cluster
parentVersion of grub that doesn't add not applicable patch (diff)
downloadportage-ac41de1e1a6c0ccc6f2fef9be0f314c9e5bd9241.tar.bz2
portage-ac41de1e1a6c0ccc6f2fef9be0f314c9e5bd9241.tar.xz
portage-ac41de1e1a6c0ccc6f2fef9be0f314c9e5bd9241.zip
Pass cflags and linkflags to bjam
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/netfs/Manifest2
-rw-r--r--sys-cluster/netfs/netfs-0.ebuild5
2 files changed, 4 insertions, 3 deletions
diff --git a/sys-cluster/netfs/Manifest b/sys-cluster/netfs/Manifest
index 21340bf..f69bbce 100644
--- a/sys-cluster/netfs/Manifest
+++ b/sys-cluster/netfs/Manifest
@@ -1 +1 @@
-EBUILD netfs-0.ebuild 805 RMD160 74eeb5145f0360744e51cc93c18356e6eacb4803 SHA1 aad6244e8de43af240d93604a38d27f9d1cb6cae SHA256 308ae8de001e1f1bc8cf7d072ce18834706e6b334917a5f153b195b41688666f
+EBUILD netfs-0.ebuild 894 RMD160 d071a27b5abe4a7c7c8229e5fe7a72d74174f2af SHA1 21900383affe63c5fae5358076922a1327e4993c SHA256 f56162a94ffcf388b444d2e67541bc07997a0512666b05320fc49bba9bf15f80
diff --git a/sys-cluster/netfs/netfs-0.ebuild b/sys-cluster/netfs/netfs-0.ebuild
index 397a504..0990294 100644
--- a/sys-cluster/netfs/netfs-0.ebuild
+++ b/sys-cluster/netfs/netfs-0.ebuild
@@ -23,12 +23,13 @@ use !debug && var="variant=release"
src_compile() {
cd ${S}/netfs || die
- ${BJAM} ${var} -q || die
+ ${BJAM} ${var} -q cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die
}
src_install() {
cd ${S}/netfs || die
- ${BJAM} ${var} install -qj2 --bindir=${D}/usr/sbin --libdir=${D}/usr/lib || die
+ ${BJAM} ${var} install -qj2 --bindir=${D}/usr/sbin --libdir=${D}/usr/lib \
+ cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die
dosym /usr/sbin/netfs /sbin/mount.netfs || die