mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
devel/libdistance: adjust for new Tcl pkg-config file
This commit is contained in:
parent
8aecb9e675
commit
33fd00cd11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458028
@ -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>
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user