Skip to content

Commit

Permalink
dev-libs/cdk: drop libtool
Browse files Browse the repository at this point in the history
In some cases, configure seems to be producing a Makefile with a broken
install target (which lacks the needed libtool install finalisation). Let's
just disable libtool for now, we don't need it.

Closes: https://bugs.gentoo.org/790773
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed May 19, 2021
1 parent 557966a commit 2fec2a9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ IUSE="examples unicode"

DEPEND=">=sys-libs/ncurses-5.2:0=[unicode?]"
RDEPEND="${DEPEND}"
BDEPEND="sys-devel/libtool
virtual/pkgconfig"
BDEPEND="virtual/pkgconfig"

PATCHES=( "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch )

Expand All @@ -27,9 +26,10 @@ src_configure() {
export ac_cv_prog_LIBTOOL=glibtool
fi

# --with-libtool dropped for now because of broken Makefile
# bug #790773
econf \
--disable-rpath-hack \
--with-libtool \
--with-shared \
--with-pkg-config \
--with-ncurses$(usex unicode "w" "")
Expand All @@ -39,7 +39,8 @@ src_install() {
# parallel make installs duplicate libs
emake -j1 \
DESTDIR="${D}" \
DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install
DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" \
install

if use examples ; then
local x
Expand Down

0 comments on commit 2fec2a9

Please sign in to comment.