svn commit: r490370 - branches/2019Q1/multimedia/dvb-apps
Bernhard Froehlich
decke at FreeBSD.org
Tue Jan 15 13:11:42 UTC 2019
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 at 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>
More information about the svn-ports-all
mailing list