View | Details | Raw Unified | Return to bug 213373
Collapse All | Expand All

(-)/usr/ports/devel/tbb/Makefile (+9 lines)
Lines 56-59 Link Here
56
	${MKDIR} ${STAGEDIR}${DOCSDIR}
56
	${MKDIR} ${STAGEDIR}${DOCSDIR}
57
	cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
57
	cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
58
58
59
post-install:
60
	${CP} ${WRKSRC}/tbb.pc.in ${STAGEDIR}${PREFIX}/libdata/pkgconfig/tbb.pc
61
	@${REINPLACE_CMD} -i '' \
62
		-e 's|@prefix@|${PREFIX}|g' \
63
		-e 's|@name@|${PORTNAME}|g' \
64
		-e 's|@description@|${COMMENT}|g' \
65
		-e 's|@version@|${DISTVERSION}|g' \
66
		${STAGEDIR}${PREFIX}/libdata/pkgconfig/tbb.pc
67
59
.include <bsd.port.post.mk>
68
.include <bsd.port.post.mk>
(-)/usr/ports/devel/tbb/files/patch-tbb.pc.in (+13 lines)
Line 0 Link Here
1
--- tbb.pc.in.orig	2016-06-20 14:46:51 UTC
2
+++ tbb.pc.in
3
@@ -0,0 +1,10 @@
4
+prefix=@prefix@
5
+exec_prefix=${prefix}
6
+libdir=${exec_prefix}/lib
7
+includedir=${prefix}/include
8
+
9
+Name: @name@
10
+Description: @description@
11
+Version: @version@
12
+Libs: -L${libdir} -ltbb
13
+Cflags: -I${includedir}
(-)/usr/ports/devel/tbb/pkg-plist (+1 lines)
Lines 103-105 Link Here
103
lib/libtbb.so.4
103
lib/libtbb.so.4
104
lib/libtbbmalloc.so
104
lib/libtbbmalloc.so
105
lib/libtbbmalloc.so.4
105
lib/libtbbmalloc.so.4
106
libdata/pkgconfig/tbb.pc

Return to bug 213373