Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 13:03:58 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474736 - in head/lang/julia: . files
Message-ID:  <201807161303.w6GD3wl2090660@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Jul 16 13:03:57 2018
New Revision: 474736
URL: https://svnweb.freebsd.org/changeset/ports/474736

Log:
  lang/julia: update to 0.6.4
  
  PR:		229799
  Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)

Modified:
  head/lang/julia/Makefile   (contents, props changed)
  head/lang/julia/distinfo   (contents, props changed)
  head/lang/julia/files/patch-Makefile   (contents, props changed)

Modified: head/lang/julia/Makefile
==============================================================================
--- head/lang/julia/Makefile	Mon Jul 16 12:56:56 2018	(r474735)
+++ head/lang/julia/Makefile	Mon Jul 16 13:03:57 2018	(r474736)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	julia
-PORTVERSION=	0.6.3
+PORTVERSION=	0.6.4
 DISTVERSIONSUFFIX=	-full
-PORTREVISION=	1
 CATEGORIES=	lang math
 MASTER_SITES=	https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/
 

Modified: head/lang/julia/distinfo
==============================================================================
--- head/lang/julia/distinfo	Mon Jul 16 12:56:56 2018	(r474735)
+++ head/lang/julia/distinfo	Mon Jul 16 13:03:57 2018	(r474736)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1528732844
-SHA256 (julia-0.6.3-full.tar.gz) = 2b5b0d84e49ca88fdec6d54a64eba4ce77f5c5cb8f34d307f3ba0ec04a89913a
-SIZE (julia-0.6.3-full.tar.gz) = 90879414
+TIMESTAMP = 1531703695
+SHA256 (julia-0.6.4-full.tar.gz) = 2b2f5543ad4206eb40c7b850cdfc5a812c6df0b2b5bcf6a3206c0e446d988f1b
+SIZE (julia-0.6.4-full.tar.gz) = 90983649

Modified: head/lang/julia/files/patch-Makefile
==============================================================================
--- head/lang/julia/files/patch-Makefile	Mon Jul 16 12:56:56 2018	(r474735)
+++ head/lang/julia/files/patch-Makefile	Mon Jul 16 13:03:57 2018	(r474736)
@@ -1,4 +1,4 @@
---- Makefile.orig	2018-05-27 21:19:34 UTC
+--- Makefile.orig	2018-07-09 19:17:10 UTC
 +++ Makefile
 @@ -71,7 +71,6 @@ $(build_prefix)/.examples: $(wildcard $(JULIAHOME)/exa
  	@mkdir -p $(build_docdir)/examples
@@ -17,7 +17,7 @@
  	@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT) $(build_private_libdir)/inference.ji JULIA_BUILD_MODE=$(JULIA_BUILD_MODE)
  
  ifneq ($(CPUID_SPECIFIC_BINARIES), 0)
-@@ -333,7 +332,7 @@ define stringreplace
+@@ -351,7 +350,7 @@ define stringreplace
  	$(build_depsbindir)/stringreplace $$(strings -t x - $1 | grep '$2' | awk '{print $$1;}') '$3' 255 "$(call cygpath_w,$1)"
  endef
  
@@ -26,7 +26,7 @@
  	@$(MAKE) $(QUIET_MAKE) all
  	@for subdir in $(bindir) $(datarootdir)/julia/site/$(VERSDIR) $(docdir) $(man1dir) $(includedir)/julia $(libdir) $(private_libdir) $(sysconfdir); do \
  		mkdir -p $(DESTDIR)$$subdir; \
-@@ -378,9 +377,6 @@ endif
+@@ -396,9 +395,6 @@ endif
  	$(INSTALL_M) $(JULIAHOME)/contrib/build_sysimg.jl $(DESTDIR)$(datarootdir)/julia/
  	# Copy in all .jl sources as well
  	cp -R -L $(build_datarootdir)/julia $(DESTDIR)$(datarootdir)/
@@ -36,7 +36,7 @@
  	# Remove perf suite
  	-rm -rf $(DESTDIR)$(datarootdir)/julia/test/perf/
  	# Remove various files which should not be installed
-@@ -388,37 +384,43 @@ endif
+@@ -406,51 +402,43 @@ endif
  	-rm -f $(DESTDIR)$(datarootdir)/julia/test/Makefile
  	# Copy in beautiful new man page
  	$(INSTALL_F) $(build_man1dir)/julia.1 $(DESTDIR)$(man1dir)/
@@ -73,6 +73,20 @@
 -	$(call stringreplace,$(DESTDIR)$(libdir)/libjulia-debug.$(SHLIB_EXT),sys-debug.$(SHLIB_EXT)$$,$(private_libdir_rel)/sys-debug.$(SHLIB_EXT))
  endif
  
+-	# On FreeBSD, remove the build's libdir from each library's RPATH
+-ifeq ($(OS),FreeBSD)
+-	$(JULIAHOME)/contrib/fixup-rpath.sh $(build_depsbindir)/patchelf $(DESTDIR)$(libdir) $(build_libdir)
+-	$(JULIAHOME)/contrib/fixup-rpath.sh $(build_depsbindir)/patchelf $(DESTDIR)$(private_libdir) $(build_libdir)
+-	$(JULIAHOME)/contrib/fixup-rpath.sh $(build_depsbindir)/patchelf $(DESTDIR)$(bindir) $(build_libdir)
+-	# Set libgfortran's RPATH to ORIGIN instead of GCCPATH. It's only libgfortran that
+-	# needs to be fixed here, as libgcc_s and libquadmath don't have RPATHs set. If we
+-	# don't set libgfortran's RPATH, it won't be able to find its friends on systems
+-	# that don't have the exact GCC port installed used for the build.
+-	for lib in $(DESTDIR)$(private_libdir)/libgfortran*$(SHLIB_EXT)*; do \
+-		$(build_depsbindir)/patchelf --set-rpath '$$ORIGIN' $$lib; \
+-	done
+-endif
+-
  	mkdir -p $(DESTDIR)$(sysconfdir)
  	cp -R $(build_sysconfdir)/julia $(DESTDIR)$(sysconfdir)/
 +



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