summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-01-06 15:39:41 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-01-06 15:39:41 +0000
commite181f6ac840f07bea377609005d4928b2a48dcd4 (patch)
tree7dddb923b7688791b8956ebaa77bf97da9ea815d /sci-mathematics/yafu
parentCleanup (diff)
downloadgentoo-2-e181f6ac840f07bea377609005d4928b2a48dcd4.tar.gz
gentoo-2-e181f6ac840f07bea377609005d4928b2a48dcd4.tar.bz2
gentoo-2-e181f6ac840f07bea377609005d4928b2a48dcd4.zip
Fixing ggnfs default paths for live ebuild too
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'sci-mathematics/yafu')
-rw-r--r--sci-mathematics/yafu/ChangeLog5
-rw-r--r--sci-mathematics/yafu/yafu-9999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/sci-mathematics/yafu/ChangeLog b/sci-mathematics/yafu/ChangeLog
index adafeb5a2b50..a7a470e6ab34 100644
--- a/sci-mathematics/yafu/ChangeLog
+++ b/sci-mathematics/yafu/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-mathematics/yafu
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yafu/ChangeLog,v 1.6 2013/01/06 15:37:17 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yafu/ChangeLog,v 1.7 2013/01/06 15:39:41 patrick Exp $
+
+ 06 Jan 2013; Patrick Lauer <patrick@gentoo.org> yafu-9999.ebuild:
+ Fixing ggnfs default paths for live ebuild too
*yafu-1.33-r2 (06 Jan 2013)
diff --git a/sci-mathematics/yafu/yafu-9999.ebuild b/sci-mathematics/yafu/yafu-9999.ebuild
index 6832df91d5d6..41e0e6d21dda 100644
--- a/sci-mathematics/yafu/yafu-9999.ebuild
+++ b/sci-mathematics/yafu/yafu-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yafu/yafu-9999.ebuild,v 1.1 2013/01/06 14:24:33 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yafu/yafu-9999.ebuild,v 1.2 2013/01/06 15:39:41 patrick Exp $
EAPI=4
DESCRIPTION="Yet another factoring utility"
@@ -31,6 +31,9 @@ src_prepare() {
sed -i -e 's:\"config.h\":<gmp-ecm/config.h>:g' top/driver.c || die "Failed to rectify things"
sed -i -e 's:# LIBS += -L../msieve/lib/linux/x86_64:LIBS += -lmsieve -lz -ldl:' Makefile || die "Failed to rectify things"
sed -i -e 's:CFLAGS = -g:#CFLAGS = -g:' Makefile || die "Failed to rectify things"
+
+ # proper ggnfs default path
+ sed -i -e 's~strcpy(fobj->nfs_obj.ggnfs_dir,"./");~strcpy(fobj->nfs_obj.ggnfs_dir,"/usr/bin/");~' factor/factor_common.c || die "Failed to rectify things"
}
src_compile() {