Permalink
Browse files

lief: cleanup

  • Loading branch information...
blshkv committed Jan 11, 2019
1 parent a3b21f8 commit 0272e41ac48cbd859a015e0e779be6675413d60f
Showing with 8 additions and 51 deletions.
  1. +0 −48 dev-util/lief/lief-0.9.0_p20181231-r1.ebuild
  2. +8 −3 dev-util/lief/lief-0.9.0_p20181231.ebuild

This file was deleted.

Oops, something went wrong.
@@ -15,10 +15,9 @@ SRC_URI="https://github.com/lief-project/LIEF/archive/${HASH_COMMIT}.tar.gz -> $

LICENSE="Apache-2.0"
SLOT="0"
#https://github.com/lief-project/LIEF/issues/251
KEYWORDS="~amd64 ~x86"

IUSE="+python"
IUSE="examples +python"

RDEPEND="python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
@@ -28,15 +27,21 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

S=${WORKDIR}/LIEF-${HASH_COMMIT}

CMAKE_BUILD_TYPE=
#Release

src_configure(){
use examples && die "unable to compile examples, see https://github.com/lief-project/LIEF/issues/251"

#cmake/LIEFOptions.cmake
#if(NOT PYBIND11_CPP_STANDARD AND NOT CMAKE_CXX_STANDARD)
local FORCE32=NO
use x86 && FORCE32=YES

#examples fail to compile
#https://github.com/lief-project/LIEF/issues/251
local mycmakeargs=(
-DLIEF_EXAMPLES=OFF
-DLIEF_EXAMPLES="$(usex examples ON OFF)"
-DLIEF_INSTALL_PYTHON="$(usex python)"
-DLIEF_FORCE32="$FORCE32"
)

0 comments on commit 0272e41

Please sign in to comment.