mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
multimedia/dvb-apps: Fix build with GCC-based architectures
PR: 234942 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> MFH: 2019Q1
This commit is contained in:
parent
f712c6381c
commit
9c2ee92f7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490299
@ -16,14 +16,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING.LGPL
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/version.h:multimedia/v4l_compat \
|
||||
${LOCALBASE}/include/linux/input.h:devel/evdev-proto
|
||||
|
||||
USES= gmake iconv perl5 tar:bzip2
|
||||
USES= gmake iconv localbase:ldflags perl5 tar:bzip2
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
|
||||
MAKE_ARGS+= prefix="${PREFIX}"
|
||||
CFLAGS+= -I${LOCALBASE}/include -Wno-int-conversion
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|/usr/include|${LOCALBASE}/include|' \
|
||||
@ -49,5 +47,9 @@ post-patch:
|
||||
${WRKSRC}/test/test_vevent.c \
|
||||
${WRKSRC}/test/test_stillimage.c \
|
||||
${WRKSRC}/test/test_av.c
|
||||
.if exists(/usr/lib/libstdc++.so)
|
||||
@${REINPLACE_CMD} -e 's/-Wno-packed-bitfield-compat//' \
|
||||
${WRKSRC}/util/scan/Makefile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user