pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/bsdec2-image-upload



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Wed May 22 08:58:39 UTC 2019

Modified Files:
        pkgsrc/sysutils/bsdec2-image-upload: Makefile

Log Message:
Fix build on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/bsdec2-image-upload/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/bsdec2-image-upload/Makefile
diff -u pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.1 pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.2
--- pkgsrc/sysutils/bsdec2-image-upload/Makefile:1.1    Wed May 22 08:45:10 2019
+++ pkgsrc/sysutils/bsdec2-image-upload/Makefile        Wed May 22 08:58:39 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/05/22 08:45:10 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2019/05/22 08:58:39 jmcneill Exp $
 
 GITHUB_PROJECT=        bsdec2-image-upload
 DISTNAME=      1.2.2
@@ -14,8 +14,16 @@ LICENSE=     2-clause-bsd
 
 WRKSRC=                ${WRKDIR}/bsdec2-image-upload-1.2.2
 
+MAKE_ENV+=     NOMAN=1
 CFLAGS+=       -DCERTFILE=\"${PREFIX}/share/mozilla-rootcerts/cacert.pem\"
 
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mgcc)
+CFLAGS+=       -Wno-error=pointer-sign \
+               -Wno-error=maybe-uninitialized \
+               -Wno-error=discarded-qualifiers
+.endif
+
 INSTALLATION_DIRS+=    bin
 
 do-install:



Home | Main Index | Thread Index | Old Index