svn commit: r542848 - in branches/2020Q3/net/bsdec2-image-upload: . files

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jul 22 10:18:18 UTC 2020


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>


More information about the svn-ports-all mailing list