diff options
Diffstat (limited to 'dev-libs/cryptlib/cryptlib-3.4.0.ebuild')
-rw-r--r-- | dev-libs/cryptlib/cryptlib-3.4.0.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-libs/cryptlib/cryptlib-3.4.0.ebuild b/dev-libs/cryptlib/cryptlib-3.4.0.ebuild index 004f959..ff83774 100644 --- a/dev-libs/cryptlib/cryptlib-3.4.0.ebuild +++ b/dev-libs/cryptlib/cryptlib-3.4.0.ebuild @@ -17,7 +17,7 @@ SRC_URI="ftp://ftp.franken.de/pub/crypt/cryptlib/cl${MY_PV}.zip doc? ( mirror://gentoo/${DOC_PREFIX}-manual.pdf.bz2 )" LICENSE="DB" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="doc ldap odbc python" @@ -30,7 +30,7 @@ RDEPEND="sys-libs/zlib DEPEND="${RDEPEND} app-arch/unzip" -DISTUTILS_SETUP_FILES="bindings/setup.py" +#DISTUTILS_SETUP_FILES="bindings/setup.py" RESTRICT_PYTHON_ABIS="3.*" src_unpack() { @@ -60,8 +60,9 @@ src_prepare() { sed -i -e 's/PLV="2"/PLV="3"/' tools/buildall.sh || die "sed tools/buildall.sh failed" #Fix where python will look for libraries - sed -i -e 's/\.\./\./g' bindings/setup.py \ - || die "sed setup.py failed" +# sed -i -e 's/\.\./\./g' bindings/setup.py \ +# || die "sed setup.py failed" + sed -i -e 's:bindings/::g' bindings/setup.py || die "sed setup.py failed" # Respect LDFLAGS and fix soname and strip issues. epatch "${FILESDIR}/${PN}-3.3.2-ld.patch" @@ -107,7 +108,9 @@ src_compile() { # Python bindings don't work with -O2 and higher. replace-flags -O* -O1 + pushd bindings > /dev/null distutils_src_compile + popd > /dev/null fi } @@ -120,7 +123,9 @@ src_install() { doins cryptlib.h || die if use python; then + pushd bindings > /dev/null distutils_src_install + popd > /dev/null fi dodoc README || die |