summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2004-04-11 19:29:59 +0000
committerStefan Jones <cretin@gentoo.org>2004-04-11 19:29:59 +0000
commit766f98ee3e869fa9f9bb8ab7b71658ec8b859f43 (patch)
tree7e05fc61e22bb61083c5b4ce5fa7103a01fbad4b /dev-libs/beecrypt
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-766f98ee3e869fa9f9bb8ab7b71658ec8b859f43.tar.gz
gentoo-2-766f98ee3e869fa9f9bb8ab7b71658ec8b859f43.tar.bz2
gentoo-2-766f98ee3e869fa9f9bb8ab7b71658ec8b859f43.zip
Fix bug #47520
Diffstat (limited to 'dev-libs/beecrypt')
-rw-r--r--dev-libs/beecrypt/ChangeLog3
-rw-r--r--dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild13
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index 3ee37687d358..1a1048210ea4 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for dev-libs/beecrypt
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.14 2004/04/11 11:12:03 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.15 2004/04/11 19:29:59 cretin Exp $
11 Apr 2004; Stefan Jones <cretin@gentoo.org> beecrypt-3.1.0-r1.ebuild:
Mark as stable for the rest of the archs
+ Also add scanning of CFLAGS to set optimisations
25 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> beecrypt-3.1.0-r1.ebuild:
Stable on amd64.
diff --git a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
index 5021a8e62f07..a3c2715d3a8c 100644
--- a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
+++ b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.8 2004/04/11 11:12:03 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.9 2004/04/11 19:29:59 cretin Exp $
+
+inherit flag-o-matic
DESCRIPTION="Beecrypt is a general-purpose cryptography library."
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
@@ -33,10 +35,17 @@ src_unpack() {
}
src_compile() {
+ conf=""
+ arch=`get-flag march`
+ [ -n "$arch" ] && conf="--with-arch=$arch"
+ cpu=`get-flag mcpu`
+ [ -n "$cpu" ] && conf="$conf --with-cpu=$cpu"
+
econf \
`use_with python` \
--enable-shared \
- --enable-static || die
+ --enable-static \
+ $conf || die
emake || die "emake failed"
}