Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 743013 Details for
Bug 816144
dev-lang/swi-prolog-8.2.3-r2: Fails to compile tty support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild that works on my box
swi-prolog-8.2.3-r2.ebuild (text/plain), 2.88 KB, created by
Vladimir Mihajlovic
on 2021-10-05 01:31:23 UTC
(
hide
)
Description:
ebuild that works on my box
Filename:
MIME Type:
Creator:
Vladimir Mihajlovic
Created:
2021-10-05 01:31:23 UTC
Size:
2.88 KB
patch
obsolete
># Copyright 1999-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >inherit cmake flag-o-matic multilib > >PATCHSET_VER="0" > >DESCRIPTION="versatile implementation of the Prolog programming language" >HOMEPAGE="https://www.swi-prolog.org/" >SRC_URI="https://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz > https://dev.gentoo.org/~keri/distfiles/swi-prolog/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz" > >LICENSE="BSD-2" >SLOT="0" >KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" >IUSE="archive berkdb debug doc +gmp java +libedit minimal odbc pcre qt5 readline ssl test uuid X yaml" >RESTRICT="!test? ( test )" > >RDEPEND="sys-libs/ncurses:= > sys-libs/zlib > virtual/libcrypt:= > archive? ( app-arch/libarchive:= ) > berkdb? ( >=sys-libs/db-4:= ) > odbc? ( dev-db/unixODBC ) > pcre? ( dev-libs/libpcre ) > readline? ( sys-libs/readline:= ) > libedit? ( dev-libs/libedit ) > gmp? ( dev-libs/gmp:0= ) > ssl? ( dev-libs/openssl:0= ) > java? ( >=virtual/jdk-1.8:* ) > uuid? ( dev-libs/ossp-uuid ) > qt5? ( > dev-qt/qtwidgets:5 > dev-qt/qtgui:5 > ) > X? ( > virtual/jpeg:0 > x11-libs/libX11 > x11-libs/libXft > x11-libs/libXinerama > x11-libs/libXpm > x11-libs/libXt > x11-libs/libICE > x11-libs/libSM ) > yaml? ( dev-libs/libyaml )" > >DEPEND="${RDEPEND} > X? ( x11-base/xorg-proto ) > java? ( test? ( =dev-java/junit-3.8* ) )" > >S="${WORKDIR}/swipl-${PV}" >BUILD_DIR="${S}/build" >CMAKE_USE_DIR="${S}" >LINK_FLAGS=$(pkg-config --libs ncurses) > >src_prepare() { > if [[ -d "${WORKDIR}"/${PV} ]] ; then > eapply "${WORKDIR}"/${PV} > fi > eapply_user > > sed -i -e "s|\(SWIPL_INSTALL_PREFIX\) lib/.*)|\1 $(get_libdir)/swipl)|" CMakeLists.txt || die > sed -i -e "s|\(SWIPL_INSTALL_CMAKE_CONFIG_DIR\) lib/|\1 $(get_libdir)/|" CMakeLists.txt || die > > sed -i "/project(SWI-Prolog)/a set(CMAKE_REQUIRED_LIBRARIES $\{CMAKE_REQUIRED_LIBRARIES} $LINK_FLAGS)" CMakeLists.txt || die > sed -i "/project(SWI-Prolog)/a set(CMAKE_EXE_LINKER_FLAGS \"$LINK_FLAGS $\{CMAKE_EXE_LINKER_FLAGS}\")" CMakeLists.txt || die > > cmake_src_prepare >} > >src_configure() { > append-flags -fno-strict-aliasing > use debug && append-flags -DO_DEBUG > > mycmakeargs=( > -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl > -DUSE_GMP=$(usex gmp) > -DINSTALL_DOCUMENTATION=$(use doc && usex archive) > -DSWIPL_PACKAGES_BASIC=$(usex !minimal) > -DSWIPL_PACKAGES_ARCHIVE=$(usex archive) > -DSWIPL_PACKAGES_ODBC=$(usex odbc) > -DSWIPL_PACKAGES_BDB=$(usex berkdb) > -DSWIPL_PACKAGES_PCRE=$(usex pcre) > -DSWIPL_PACKAGES_YAML=$(usex yaml) > -DSWIPL_PACKAGES_SSL=$(usex ssl) > -DSWIPL_PACKAGES_JAVA=$(usex java) > -DSWIPL_PACKAGES_QT=$(usex qt5) > -DSWIPL_PACKAGES_X=$(usex X) > -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi) > ) > > cmake_src_configure >} > >src_compile() { > XDG_CONFIG_DIRS="${HOME}" \ > XDG_DATA_DIRS="${HOME}" \ > cmake_src_compile >} > >src_test() { > USE_PUBLIC_NETWORK_TESTS=false \ > USE_ODBC_TESTS=false \ > cmake_src_test -V >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 816144
:
742854
| 743013 |
746349