From owner-svn-ports-all@freebsd.org Thu Jan 4 13:03:59 2018 Return-Path: Delivered-To: svn-ports-all@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 949BDEB2927; Thu, 4 Jan 2018 13:03:59 +0000 (UTC) (envelope-from gahr@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 6145A68A1A; Thu, 4 Jan 2018 13:03:59 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w04D3wZW071666; Thu, 4 Jan 2018 13:03:58 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w04D3wLc071664; Thu, 4 Jan 2018 13:03:58 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201801041303.w04D3wLc071664@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Thu, 4 Jan 2018 13:03:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458028 - in head/devel/libdistance: . files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: in head/devel/libdistance: . files X-SVN-Commit-Revision: 458028 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2018 13:03:59 -0000 Author: gahr Date: Thu Jan 4 13:03:58 2018 New Revision: 458028 URL: https://svnweb.freebsd.org/changeset/ports/458028 Log: devel/libdistance: adjust for new Tcl pkg-config file Modified: head/devel/libdistance/Makefile head/devel/libdistance/files/patch-swig_tcl_Makefile Modified: head/devel/libdistance/Makefile ============================================================================== --- head/devel/libdistance/Makefile Thu Jan 4 12:58:50 2018 (r458027) +++ head/devel/libdistance/Makefile Thu Jan 4 13:03:58 2018 (r458028) @@ -23,6 +23,10 @@ CFLAGS+= -fPIC pre-build: mkdir -p ${STAGEDIR}/usr/local/tests/${PORTNAME} +post-patch: + ${REINPLACE_CMD} 's|%%TCL_SHLIB_VER%%|${TCL_SHLIB_VER}|' \ + ${WRKSRC}/swig/tcl/Makefile + MAKE_JOBS_UNSAFE= yes .include Modified: head/devel/libdistance/files/patch-swig_tcl_Makefile ============================================================================== --- head/devel/libdistance/files/patch-swig_tcl_Makefile Thu Jan 4 12:58:50 2018 (r458027) +++ head/devel/libdistance/files/patch-swig_tcl_Makefile Thu Jan 4 13:03:58 2018 (r458028) @@ -17,7 +17,7 @@ -distance.so: distance_wrap.o - gcc -shared distance_wrap.o ../../libdistance.a \ - -o distance.so -+CFLAGS= -I ../.. `pkg-config --cflags tcl` -fPIC ++CFLAGS= -I ../.. `pkg-config --cflags tcl%%TCL_SHLIB_VER%%` -fPIC +SWIG?= swig -clean: