Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2016 18:43:40 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r418287 - in head/devel/gradle: . files
Message-ID:  <201607091843.u69IhegC050615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <t@tobik.me>
  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 "$@"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607091843.u69IhegC050615>