Date: Tue, 15 Jan 2019 13:11:41 +0000 (UTC) From: Bernhard Froehlich <decke@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r490370 - branches/2019Q1/multimedia/dvb-apps Message-ID: <201901151311.x0FDBfqO027228@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: decke Date: Tue Jan 15 13:11:41 2019 New Revision: 490370 URL: https://svnweb.freebsd.org/changeset/ports/490370 Log: MFH: r490299 multimedia/dvb-apps: Fix build with GCC-based architectures PR: 234942 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Approved by: portmgr (miwi) Modified: branches/2019Q1/multimedia/dvb-apps/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/multimedia/dvb-apps/Makefile ============================================================================== --- branches/2019Q1/multimedia/dvb-apps/Makefile Tue Jan 15 12:52:46 2019 (r490369) +++ branches/2019Q1/multimedia/dvb-apps/Makefile Tue Jan 15 13:11:41 2019 (r490370) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901151311.x0FDBfqO027228>