Date: Wed, 22 Jul 2020 10:18:18 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r542848 - in branches/2020Q3/net/bsdec2-image-upload: . files Message-ID: <202007221018.06MAIIHk059515@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed Jul 22 10:18:17 2020 New Revision: 542848 URL: https://svnweb.freebsd.org/changeset/ports/542848 Log: MFH: r542847 net/bsdec2-image-upload: fix build on GCC architectures -W\#warnings is incorrect for GCC: cc1: error: -Werror=#warnings: No option -W#warnings Approved by: portmgr (fix build blanket) Added: branches/2020Q3/net/bsdec2-image-upload/files/ - copied from r542847, head/net/bsdec2-image-upload/files/ Modified: branches/2020Q3/net/bsdec2-image-upload/Makefile Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/net/bsdec2-image-upload/Makefile ============================================================================== --- branches/2020Q3/net/bsdec2-image-upload/Makefile Wed Jul 22 10:17:26 2020 (r542847) +++ branches/2020Q3/net/bsdec2-image-upload/Makefile Wed Jul 22 10:18:17 2020 (r542848) @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss -USES= ssl tar:tgz uidfix +USES= compiler ssl tar:tgz uidfix CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} @@ -23,4 +23,10 @@ MAKE_ARGS+= BINDIR=${PREFIX}/bin PLIST_FILES= bin/bsdec2-image-upload -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == gcc +EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007221018.06MAIIHk059515>