From owner-svn-ports-head@freebsd.org Sat Jul 9 18:43:42 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DB1CB849F1; Sat, 9 Jul 2016 18:43:42 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CED0714EA; Sat, 9 Jul 2016 18:43:41 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u69IhetN050617; Sat, 9 Jul 2016 18:43:40 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u69IhegC050615; Sat, 9 Jul 2016 18:43:40 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201607091843.u69IhegC050615@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sat, 9 Jul 2016 18:43:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418287 - in head/devel/gradle: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 18:43:42 -0000 Author: pi Date: Sat Jul 9 18:43:40 2016 New Revision: 418287 URL: https://svnweb.freebsd.org/changeset/ports/418287 Log: 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 Approved by: gasol.wu@gmail.com (maintainer timeout) Modified: head/devel/gradle/Makefile head/devel/gradle/files/gradle.in Modified: head/devel/gradle/Makefile ============================================================================== --- head/devel/gradle/Makefile Sat Jul 9 17:11:52 2016 (r418286) +++ head/devel/gradle/Makefile Sat Jul 9 18:43:40 2016 (r418287) @@ -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 Modified: head/devel/gradle/files/gradle.in ============================================================================== --- head/devel/gradle/files/gradle.in Sat Jul 9 17:11:52 2016 (r418286) +++ head/devel/gradle/files/gradle.in Sat Jul 9 18:43:40 2016 (r418287) @@ -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 "$@"