summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-06-24 17:03:31 +0200
committerTupone Alfredo <tupone@gentoo.org>2018-06-24 17:03:31 +0200
commit8afacf582c83843c33fede17c2b69d9c65ca2bf6 (patch)
tree29f18e63425a015939fae6997a2b1572c6820a91 /dev-ada/gnatcoll-bindings
parentdev-python/brotlipy: Introducing the package (diff)
downloadgentoo-8afacf582c83843c33fede17c2b69d9c65ca2bf6.tar.gz
gentoo-8afacf582c83843c33fede17c2b69d9c65ca2bf6.tar.bz2
gentoo-8afacf582c83843c33fede17c2b69d9c65ca2bf6.zip
dev-ada/gnatcoll-bindings: Do not require libiconv
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ada/gnatcoll-bindings')
-rw-r--r--dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
index 238c3d8a204..9de5b5e5868 100644
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018.ebuild
@@ -38,10 +38,8 @@ S="${WORKDIR}"/${MYP}-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
- GCC_PV=7.3.0
- GCC=${CHOST}-gcc-${GCC_PV}
build () {
- GCC=${CHOST}-gcc-${GCC_PV} gprbuild -j$(makeopts_jobs) -m -p -v \
+ GCC=${CHOST}-gcc-7.3.0 gprbuild -j$(makeopts_jobs) -m -p -v \
-XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \
-XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \
-XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \
@@ -62,9 +60,8 @@ src_compile() {
src_install() {
build () {
- gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr \
- -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr \
- --build-name=$2
+ gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \
+ -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2
}
for kind in shared static-libs static-pic ; do
if use $kind; then