diff options
author | Markus Dittrich <markusle@gentoo.org> | 2007-06-01 01:02:30 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2007-06-01 01:02:30 +0000 |
commit | 92797a61b6ca35028aa7f21ec9523f77f45f06a7 (patch) | |
tree | 0244b17d39f91aa1ba5c28d6d222c5b653af667b /sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild | |
parent | Added server db USE flags (diff) | |
download | gentoo-2-92797a61b6ca35028aa7f21ec9523f77f45f06a7.tar.gz gentoo-2-92797a61b6ca35028aa7f21ec9523f77f45f06a7.tar.bz2 gentoo-2-92797a61b6ca35028aa7f21ec9523f77f45f06a7.zip |
More cleanup.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild')
-rw-r--r-- | sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild index d63768cea7b8..67e81cd92a2d 100644 --- a/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild +++ b/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild,v 1.1 2007/05/30 13:25:07 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/Macaulay2/Macaulay2-0.9.95-r2.ebuild,v 1.2 2007/06/01 01:02:30 markusle Exp $ inherit elisp-common eutils flag-o-matic toolchain-funcs autotools @@ -50,17 +50,17 @@ src_compile() { emake DEFS=-DHAVE_SINGULAR_ERROR || die "failed to build libfac" make install || die "failed to install libfac" - CXXFLAGS="${CXXFLAGS} -Wno-deprecated" cd "${S}" sed -e "/^docm2RelDir/s:Macaulay2:${P}:" \ -i include/config.Makefile.in || \ die "failed to fix makefile" + + CXXFLAGS="${CXXFLAGS} -Wno-deprecated" + append-ldflags "-L${WORKDIR}/$(get_libdir)" emake -j1 && CPPFLAGS="-I/usr/include/gc -I${WORKDIR}/include" \ - LDFLAGS="-L${WORKDIR}/$(get_libdir)" \ ./configure --prefix="${D}/usr" --disable-encap \ --with-lapacklibs="-llapack -lblas" || \ die "failed to configure Macaulay" - # fix install paths emake -j1 || die "failed to build Macaulay" } |