aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2012-06-26 03:55:36 +0800
committernox <nox@FreeBSD.org>2012-06-26 03:55:36 +0800
commit968b3f2fa087b20fae91f982fc46e47e619b265e (patch)
tree852e850edf473ca0fbdf82dc20e70ad7726c36a1
parent2ee0db0071ae58d4d24e7b373412d89c2fbe0da2 (diff)
downloadfreebsd-ports-gnome-968b3f2fa087b20fae91f982fc46e47e619b265e.tar.gz
freebsd-ports-gnome-968b3f2fa087b20fae91f982fc46e47e619b265e.tar.zst
freebsd-ports-gnome-968b3f2fa087b20fae91f982fc46e47e619b265e.zip
- 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>
-rw-r--r--multimedia/libv4l/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/multimedia/libv4l/Makefile b/multimedia/libv4l/Makefile
index b1dcd4b90ccf..c22689122782 100644
--- a/multimedia/libv4l/Makefile
+++ b/multimedia/libv4l/Makefile
@@ -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