svn commit: r458028 - in head/devel/libdistance: . files
Pietro Cerutti
gahr at FreeBSD.org
Thu Jan 4 13:03:59 UTC 2018
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:
More information about the svn-ports-head
mailing list