diff options
Diffstat (limited to 'sci-chemistry/freeon/freeon-9999.ebuild')
-rw-r--r-- | sci-chemistry/freeon/freeon-9999.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sci-chemistry/freeon/freeon-9999.ebuild b/sci-chemistry/freeon/freeon-9999.ebuild index 2fe44e90d..369e063f8 100644 --- a/sci-chemistry/freeon/freeon-9999.ebuild +++ b/sci-chemistry/freeon/freeon-9999.ebuild @@ -30,6 +30,15 @@ RDEPEND=" DEPEND="${DEPEND} virtual/pkgconfig" +src_prepare() { + # Get rid of the obsolete internal hdf5 + rm -r "${S}"/Modules/hdf5-1.8.3 + # as well as of the internal lapack + rm -r "${S}"/Modules/lapack + epatch "${FILESDIR}"/"${P}"-no_internal_libs.patch + eautoreconf +} + src_configure() { local myeconfargs=( --disable-internal-hdf5 |