1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Do not link against librt for shm_open(2).

- Remove 6.x cruft.
- Bump PORTREVISION.

PR:		ports/168207
Submitted by:	Jan Beich <jbeich@tormail.org>
This commit is contained in:
Juergen Lock 2012-06-25 19:55:36 +00:00
parent ae6a9048ee
commit 921e739b00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299963

View File

@ -7,6 +7,7 @@
PORTNAME= libv4l
PORTVERSION= 0.8.8
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/
DISTNAME= v4l-utils-${PORTVERSION}
@ -29,13 +30,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/lib
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 700000
@${REINPLACE_CMD} -e 's|-fvisibility=hidden||g' -e 's|-lrt||g' \
${WRKSRC}/libv4l1/Makefile \
${WRKSRC}/libv4l2/Makefile \
${WRKSRC}/libv4lconvert/Makefile
.endif
@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
-e 's|-lrt||g' \
${WRKSRC}/libv4l1/Makefile \
${WRKSRC}/libv4l2/Makefile \
${WRKSRC}/libv4lconvert/Makefile