games-simulation/lincity-ng: Use autotools eclass around autogen.sh
authorJames Le Cuirot <chewi@gentoo.org>
Tue, 5 Mar 2019 23:05:04 +0000 (23:05 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Wed, 6 Mar 2019 22:35:08 +0000 (22:35 +0000)
This deals with dependencies and we should also run elibtoolize.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-simulation/lincity-ng/lincity-ng-2.9_beta.ebuild

index c71738c6f41bc61f81394e1743b441e9469f17cf..45efc9209306a684b7a514a48dbacf7c4e41c092 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit multiprocessing
+inherit autotools libtool multiprocessing
 
 DESCRIPTION="City simulation game"
 HOMEPAGE="https://github.com/lincity-ng/lincity-ng"
@@ -33,7 +33,10 @@ src_prepare() {
        default
        sed -i "/COPYING COPYING-data.txt COPYING-fonts.txt CREDITS /d" \
                Jamfile || die
-       ./autogen.sh || die
+
+       # Can't use eautoreconf as it does weird jam stuff.
+       autotools_run_tool ./autogen.sh
+       elibtoolize
 }
 
 src_compile() {