mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04: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
2 changed files with 5 additions and 1 deletions
|
@ -23,6 +23,10 @@ CFLAGS+= -fPIC
|
||||||
pre-build:
|
pre-build:
|
||||||
mkdir -p ${STAGEDIR}/usr/local/tests/${PORTNAME}
|
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
|
MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
-distance.so: distance_wrap.o
|
-distance.so: distance_wrap.o
|
||||||
- gcc -shared distance_wrap.o ../../libdistance.a \
|
- gcc -shared distance_wrap.o ../../libdistance.a \
|
||||||
- -o distance.so
|
- -o distance.so
|
||||||
+CFLAGS= -I ../.. `pkg-config --cflags tcl` -fPIC
|
+CFLAGS= -I ../.. `pkg-config --cflags tcl%%TCL_SHLIB_VER%%` -fPIC
|
||||||
+SWIG?= swig
|
+SWIG?= swig
|
||||||
|
|
||||||
-clean:
|
-clean:
|
||||||
|
|
Loading…
Add table
Reference in a new issue