From ba27da1244778e0841299924274c52d53cdf07ef Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 23 Aug 2013 22:13:01 +0000 Subject: Tidy up fix/hack for conditional binding, gcc 4.6 compat --- sys-cluster/netfs/Manifest | 4 ++-- sys-cluster/netfs/netfs-827.ebuild | 40 -------------------------------------- sys-cluster/netfs/netfs-829.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 sys-cluster/netfs/netfs-827.ebuild create mode 100644 sys-cluster/netfs/netfs-829.ebuild diff --git a/sys-cluster/netfs/Manifest b/sys-cluster/netfs/Manifest index 8f3e35e..04b69ba 100644 --- a/sys-cluster/netfs/Manifest +++ b/sys-cluster/netfs/Manifest @@ -1,2 +1,2 @@ -DIST netfs-827.tar.bz2 18256 SHA256 487e8f9739a0f50e805fb6454a5d0fbb00c14972114f13907b100d8ff89c0c7b SHA512 47b90b503419de933bffc17f82637c956a1856198539aa4aeb812c3cd0e5b253a6fb3eeccdc42c3bcc9cda5bed6bd59fcd2c60f705cfd3ea0cb59ea9e7e2a43b WHIRLPOOL 74ff7a2e8fd2923acd6a68e2ff9931118bd5bf0c97a607c0dc52f1320dbf170a3727036487c3bbfb9c06a7b5de68ffc6628be9b7045ed2e0827078dcc5c9bae8 -EBUILD netfs-827.ebuild 1039 SHA256 2c9b505602696911cc2367eacdf1eb2137058d549daca9173a611fbd8636c765 SHA512 d88a861e72eb035672861c42705784a18a0e0fac1b26ac22352abf0fe48837d2ba9fa4a1df6120eb7222b6cf9544f7d3f26a3291c502d8f7b8b21f9f82971379 WHIRLPOOL 63e0ab0adb09a19c2a1e168f1a349e15f28f631fefb94631d46c6d36000c73964f4262431bb3f03e06baf831aa79909ec49101f955f2dc673296ac30c21650ab +DIST netfs-829.tar.bz2 18453 SHA256 2be7f51e37457600422b908a2050c693973a5b4f7505239e19b32e60aed0a65a SHA512 caa0d32d461364b74707d668464d420a7c81e39014eb06047ec9658c6622f9b1cfffc04c1854655dc2184dfe5f33f3c4ab690de2d61b3139bbb86f2d9f9f6916 WHIRLPOOL c5eb3a2836e649bc084df92a7616e8deb3bf37ee4f69a34e2f79388975e8cb201b0dc0b3c9a9a490a7f8ccd0dcef555f1f1bd389bbeb2176f00fd31d66cf28e7 +EBUILD netfs-829.ebuild 1039 SHA256 2c9b505602696911cc2367eacdf1eb2137058d549daca9173a611fbd8636c765 SHA512 d88a861e72eb035672861c42705784a18a0e0fac1b26ac22352abf0fe48837d2ba9fa4a1df6120eb7222b6cf9544f7d3f26a3291c502d8f7b8b21f9f82971379 WHIRLPOOL 63e0ab0adb09a19c2a1e168f1a349e15f28f631fefb94631d46c6d36000c73964f4262431bb3f03e06baf831aa79909ec49101f955f2dc673296ac30c21650ab diff --git a/sys-cluster/netfs/netfs-827.ebuild b/sys-cluster/netfs/netfs-827.ebuild deleted file mode 100644 index 66b20f9..0000000 --- a/sys-cluster/netfs/netfs-827.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -EAPI="3" - -DESCRIPTION="Cluster capable network filesytem" -HOMEPAGE="http://netfs.randomdan.homeip.net/" - -SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2" -LICENSE="GPL" -SLOT="0" -KEYWORDS="x86 amd64" -IUSE="debug" - -DEPEND="dev-libs/Ice - dev-cpp/libxmlpp - dev-libs/boost - dev-util/boost-build" -RDEPEND="${DEPEND}" -use !debug && var="variant=release" - -src_prepare() { - sed -ie "s|^using gcc .*|using gcc : : : \"${CXXFLAGS}\" \"${LDFLAGS}\" ;|" ${S}/Jamroot.jam -} - -src_compile() { - BJAM=`ls -1 /usr/bin/bjam* | tail -1` - cd ${S}/netfs || die - setarch $(uname -m) -RL ${BJAM} ${BJAMOPTS} ${var} -q || die -} - -src_install() { - BJAM=`ls -1 /usr/bin/bjam* | tail -1` - cd ${S}/netfs || die - setarch $(uname -m) -RL ${BJAM} ${BJAMOPTS} ${var} install -q --bindir=${D}/usr/sbin --libdir=${D}/usr/lib || die - - dosym /usr/sbin/netfs /sbin/mount.netfs || die - - newinitd ${S}/netfs/etc/init netfsd || die - insinto /etc/netfs || die - doins ${S}/netfs/etc/daemon.xml || die - doins ${S}/netfs/client.xml || die -} diff --git a/sys-cluster/netfs/netfs-829.ebuild b/sys-cluster/netfs/netfs-829.ebuild new file mode 100644 index 0000000..66b20f9 --- /dev/null +++ b/sys-cluster/netfs/netfs-829.ebuild @@ -0,0 +1,40 @@ +EAPI="3" + +DESCRIPTION="Cluster capable network filesytem" +HOMEPAGE="http://netfs.randomdan.homeip.net/" + +SRC_URI="http://releases.randomdan.homeip.net/download/${P}.tar.bz2" +LICENSE="GPL" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="debug" + +DEPEND="dev-libs/Ice + dev-cpp/libxmlpp + dev-libs/boost + dev-util/boost-build" +RDEPEND="${DEPEND}" +use !debug && var="variant=release" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : \"${CXXFLAGS}\" \"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +src_compile() { + BJAM=`ls -1 /usr/bin/bjam* | tail -1` + cd ${S}/netfs || die + setarch $(uname -m) -RL ${BJAM} ${BJAMOPTS} ${var} -q || die +} + +src_install() { + BJAM=`ls -1 /usr/bin/bjam* | tail -1` + cd ${S}/netfs || die + setarch $(uname -m) -RL ${BJAM} ${BJAMOPTS} ${var} install -q --bindir=${D}/usr/sbin --libdir=${D}/usr/lib || die + + dosym /usr/sbin/netfs /sbin/mount.netfs || die + + newinitd ${S}/netfs/etc/init netfsd || die + insinto /etc/netfs || die + doins ${S}/netfs/etc/daemon.xml || die + doins ${S}/netfs/client.xml || die +} -- cgit v1.2.3