1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

devel/gradle: Add missing dependency

Gradle uses native-platform which has compiled its native component
with g++, and requires that libstdc++.so.6 is available. See
https://github.com/adammurdoch/native-platform/issues/8.

PR:		208471
MFH:		2016Q3
Submitted by:	Tobias Kortkamp <t@tobik.me>
Approved by:	gasol.wu@gmail.com (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2016-07-09 18:43:40 +00:00
parent ba485b72fe
commit 5394c67c41
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418287
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= gradle
PORTVERSION= 2.12
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= https://services.gradle.org/distributions/
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
@ -12,6 +13,11 @@ COMMENT= Project automation tool
LICENSE= APACHE20
# Gradle depends on native-platform which has a native component that
# requires libstdc++.so.6, because it was compiled with g++.
# See https://github.com/adammurdoch/native-platform/issues/8
LIB_DEPENDS= libstdc++.so.6:misc/compat9x
USES= zip
USE_JAVA= yes
NO_BUILD= yes

View File

@ -1,2 +1,2 @@
#!/usr/bin/env bash
#!/bin/sh
exec "%%JAVA%%" -Dorg.gradle.native=false $JAVA_OPTS -classpath "%%DATADIR%%/lib/gradle-launcher-%%PORTVERSION%%.jar" org.gradle.launcher.GradleMain "$@"