Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 09:56:56 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488526 - in head/devel/sbt: . files
Message-ID:  <201812270956.wBR9uu2C084552@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Thu Dec 27 09:56:56 2018
New Revision: 488526
URL: https://svnweb.freebsd.org/changeset/ports/488526

Log:
  Use java getLastModifiedTime now that openjdk8 port supports millisecond
  resolution.
  
  'struct stat' ABI changed in FreeBSD 12, breaking FreeBSD specific JNA code
  that is no longer needed.

Modified:
  head/devel/sbt/Makefile
  head/devel/sbt/files/sbt.sh.in
  head/devel/sbt/files/sbtopts

Modified: head/devel/sbt/Makefile
==============================================================================
--- head/devel/sbt/Makefile	Thu Dec 27 09:53:53 2018	(r488525)
+++ head/devel/sbt/Makefile	Thu Dec 27 09:56:56 2018	(r488526)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sbt
 PORTVERSION=	1.2.7
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	https://github.com/sbt/sbt/releases/download/v${PORTVERSION}/
 

Modified: head/devel/sbt/files/sbt.sh.in
==============================================================================
--- head/devel/sbt/files/sbt.sh.in	Thu Dec 27 09:53:53 2018	(r488525)
+++ head/devel/sbt/files/sbt.sh.in	Thu Dec 27 09:56:56 2018	(r488526)
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec "%%LOCALBASE%%/bin/java" -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -Dsbt.watch.mode=polling -jar "%%DATADIR%%/sbt-launch.jar" "$@"
+exec "%%LOCALBASE%%/bin/java" -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -Dsbt.watch.mode=polling -Dsbt.io.jdktimestamps=true -jar "%%DATADIR%%/sbt-launch.jar" "$@"

Modified: head/devel/sbt/files/sbtopts
==============================================================================
--- head/devel/sbt/files/sbtopts	Thu Dec 27 09:53:53 2018	(r488525)
+++ head/devel/sbt/files/sbtopts	Thu Dec 27 09:56:56 2018	(r488526)
@@ -2,3 +2,6 @@
 # This triggers rebuilds on src changes after max. 0.5 seconds (instead of 10 seconds).
 # Reference: https://github.com/sbt/sbt/issues/3868
 -Dsbt.watch.mode=polling
+# Use java getLastModifiedTime now that it supports millisecond resolution
+# 'struct stat' ABI changed in FreeBSD 12, breaking JNA code
+-Dsbt.io.jdktimestamps=true



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