diff options
-rw-r--r-- | devel/gradle/Makefile | 6 | ||||
-rw-r--r-- | devel/gradle/files/gradle.in | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/gradle/Makefile b/devel/gradle/Makefile index f563b504ae18..66d4905fa53a 100644 --- a/devel/gradle/Makefile +++ b/devel/gradle/Makefile @@ -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 diff --git a/devel/gradle/files/gradle.in b/devel/gradle/files/gradle.in index 5d40f0075233..0d526d4cec3f 100644 --- a/devel/gradle/files/gradle.in +++ b/devel/gradle/files/gradle.in @@ -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 "$@" |