public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/primerD/
Date: Wed,  3 Feb 2021 06:33:54 +0000 (UTC)	[thread overview]
Message-ID: <1612334023.38747aba5b528c356618d31da8f9275c0d7b618d.andrewammerlaan@gentoo> (raw)

commit:     38747aba5b528c356618d31da8f9275c0d7b618d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Feb  3 06:33:43 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Feb  3 06:33:43 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=38747aba

sci-biology/primerD: fix some include statements

though it still does not compile

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/primerD/primerD-1.0.0.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/sci-biology/primerD/primerD-1.0.0.ebuild b/sci-biology/primerD/primerD-1.0.0.ebuild
index 1aefce6cb..b5365336a 100644
--- a/sci-biology/primerD/primerD-1.0.0.ebuild
+++ b/sci-biology/primerD/primerD-1.0.0.ebuild
@@ -16,12 +16,24 @@ SRC_URI="primerD.tar.gz"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
+# make: *** No rule to make target '/usr/include/linux/new.h', needed by 'Main.o'.  Stop.
 KEYWORDS=""
 
 S="${WORKDIR}"/primerD
 
 src_prepare(){
-	sed -e "s:CC=g++:CC=$(tc-getCXX):; s:-Wall -g:${CFLAGS}:" -i Makefile || die
+	default
+	sed -i -e "s:CC=g++:CC=$(tc-getCXX):; s:-Wall -g:${CFLAGS}:" \
+		-e "s:/usr/include/g++-3/stl_algobase.h:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/bits/stl_algobase.h:g" \
+		-e "s:/usr/include/g++-3/stl_relops.h:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/bits/stl_relops.h:g" \
+		-e "s:/usr/include/g++-3/stl_pair.h:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/bits/stl_pair.h:g" \
+		-e "s:/usr/include/g++-3/type_traits.h:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/ext/type_traits.h:g" \
+		-e "s:/usr/include/g++-3/stl_config.h:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/pstl/pstl_config.h:g" \
+		-e "s:/usr/include/g++-3/:/usr/lib/gcc/${CHOST}/$(gcc-fullversion)/include/g++-v$(gcc-major-version )/:g" \
+		-e "s:/usr/include/_G_config.h:/usr/include/stdio.h:g" \
+		-e "s:/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/:/usr/include/linux/:g" \
+		Makefile || die
+
 }
 
 src_install(){


             reply	other threads:[~2021-02-03  6:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03  6:33 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-25 13:10 [gentoo-commits] proj/sci:master commit in: sci-biology/primerD/ Andrew Ammerlaan
2021-08-31  9:45 Andrew Ammerlaan
2015-02-13 21:53 Martin Mokrejs
2015-01-10 14:37 Justin Lecher
2015-01-07 21:42 Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612334023.38747aba5b528c356618d31da8f9275c0d7b618d.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox