Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2019 15:02:07 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505092 - in head/devel/yajl-tcl: . files
Message-ID:  <201906251502.x5PF27RX037959@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Tue Jun 25 15:02:06 2019
New Revision: 505092
URL: https://svnweb.freebsd.org/changeset/ports/505092

Log:
  devel/yajl-tcl: update to 1.7.0
  
  Release notes: https://github.com/flightaware/yajl-tcl/releases/tag/v1.7.0

Added:
  head/devel/yajl-tcl/files/
  head/devel/yajl-tcl/files/patch-tclconfig_tcl.m4   (contents, props changed)
Modified:
  head/devel/yajl-tcl/Makefile
  head/devel/yajl-tcl/distinfo

Modified: head/devel/yajl-tcl/Makefile
==============================================================================
--- head/devel/yajl-tcl/Makefile	Tue Jun 25 14:36:24 2019	(r505091)
+++ head/devel/yajl-tcl/Makefile	Tue Jun 25 15:02:06 2019	(r505092)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	yajl-tcl
-PORTVERSION=	1.6.2
+PORTVERSION=	1.7.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -12,14 +12,14 @@ COMMENT=	Tcl bindings for Yet Another JSON Library
 LICENSE=	BSD3CLAUSE
 
 LIB_DEPENDS=	libyajl.so:devel/yajl
+TEST_DEPENDS=	dtplite:devel/tcllib
 
+USES=		autoreconf pkgconfig tcl:tea
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	flightaware
 
-USES+=		autoreconf pkgconfig tcl:tea
-
 TEST_TARGET=	test
-TEST_DEPENDS=	dtplite:devel/tcllib
 
 PLIST_FILES=	lib/yajltcl${PORTVERSION}/libyajltcl.so.1 \
 		lib/yajltcl${PORTVERSION}/pkgIndex.tcl \

Modified: head/devel/yajl-tcl/distinfo
==============================================================================
--- head/devel/yajl-tcl/distinfo	Tue Jun 25 14:36:24 2019	(r505091)
+++ head/devel/yajl-tcl/distinfo	Tue Jun 25 15:02:06 2019	(r505092)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1489656086
-SHA256 (flightaware-yajl-tcl-v1.6.2_GH0.tar.gz) = 28b5b70ffe95b287b41d200ceeb10571d5d5266c2d3625ec3609dd48c8a87f3f
-SIZE (flightaware-yajl-tcl-v1.6.2_GH0.tar.gz) = 490576
+TIMESTAMP = 1561470652
+SHA256 (flightaware-yajl-tcl-v1.7.0_GH0.tar.gz) = df5fe5977b244eda572a99d294087cbd1795457a2ee1ae3dab32ddc58d44dbf9
+SIZE (flightaware-yajl-tcl-v1.7.0_GH0.tar.gz) = 493118

Added: head/devel/yajl-tcl/files/patch-tclconfig_tcl.m4
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/yajl-tcl/files/patch-tclconfig_tcl.m4	Tue Jun 25 15:02:06 2019	(r505092)
@@ -0,0 +1,36 @@
+--- tclconfig/tcl.m4.orig	2018-05-07 16:24:46 UTC
++++ tclconfig/tcl.m4
+@@ -1602,9 +1602,8 @@ dnl AC_CHECK_TOOL(AR, ar)
+ 	    UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ 	    TCL_LIB_VERSIONS_OK=nodots
+ 	    ;;
+-	NetBSD-*|FreeBSD-[[3-4]].*)
+-	    # FreeBSD 3.* and greater have ELF.
+-	    # NetBSD 2.* has ELF and can use 'cc -shared' to build shared libs
++	NetBSD-*)
++	    # NetBSD has ELF and can use 'cc -shared' to build shared libs
+ 	    SHLIB_CFLAGS="-fPIC"
+ 	    SHLIB_LD='${CC} -shared ${SHLIB_CFLAGS}'
+ 	    SHLIB_SUFFIX=".so"
+@@ -1618,20 +1617,12 @@ dnl AC_CHECK_TOOL(AR, ar)
+ 		CFLAGS="$CFLAGS -pthread"
+ 	    	LDFLAGS="$LDFLAGS -pthread"
+ 	    ])
+-	    case $system in
+-	    FreeBSD-3.*)
+-	    	# FreeBSD-3 doesn't handle version numbers with dots.
+-	    	UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-	    	SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so'
+-	    	TCL_LIB_VERSIONS_OK=nodots
+-		;;
+-	    esac
+ 	    ;;
+ 	FreeBSD-*)
+ 	    # This configuration from FreeBSD Ports.
+ 	    SHLIB_CFLAGS="-fPIC"
+ 	    SHLIB_LD="${CC} -shared"
+-	    TCL_SHLIB_LD_EXTRAS="-soname \$[@]"
++	    SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,-soname,\$[@]"
+ 	    SHLIB_SUFFIX=".so"
+ 	    LDFLAGS=""
+ 	    AS_IF([test $doRpath = yes], [



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