1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Fix pkg-config includedir. Reported upstream:

https://github.com/lloyd/yajl/pull/139
This commit is contained in:
Pietro Cerutti 2014-07-10 18:35:04 +00:00
parent 784c87ea8e
commit 4d3b3b848c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361480

View File

@ -13,6 +13,8 @@ USE_GITHUB= yes
GH_ACCOUNT= lloyd
GH_COMMIT= 66cb08c
CFLAGS+= -g -O0
USE_LDCONFIG= yes
USES= cmake:outsource
@ -21,5 +23,7 @@ PLIST_SUB= VERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e "s,share/pkgconfig,libdata/pkgconfig,g" \
${WRKSRC}/src/CMakeLists.txt
@${REINPLACE_CMD} -e 's|include/yajl|include|' \
${WRKSRC}/src/yajl.pc.cmake
.include <bsd.port.mk>