Date: Thu, 4 Jan 2018 13:03:58 +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: r458028 - in head/devel/libdistance: . files Message-ID: <201801041303.w04D3wLc071664@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801041303.w04D3wLc071664>