pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/rpm2pkg



Module Name:    pkgsrc
Committed By:   abs
Date:           Sat Oct 27 21:03:09 UTC 2018

Modified Files:
        pkgsrc/pkgtools/rpm2pkg: Makefile

Log Message:
Fix both stupid errors in PKG_DEVELOPER and gcc-8 check


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 pkgsrc/pkgtools/rpm2pkg/Makefile

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

Modified files:

Index: pkgsrc/pkgtools/rpm2pkg/Makefile
diff -u pkgsrc/pkgtools/rpm2pkg/Makefile:1.67 pkgsrc/pkgtools/rpm2pkg/Makefile:1.68
--- pkgsrc/pkgtools/rpm2pkg/Makefile:1.67       Sat Oct 27 21:01:29 2018
+++ pkgsrc/pkgtools/rpm2pkg/Makefile    Sat Oct 27 21:03:09 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2018/10/27 21:01:29 abs Exp $
+# $NetBSD: Makefile,v 1.68 2018/10/27 21:03:09 abs Exp $
 
 PKGNAME=       rpm2pkg-3.2.3
 CATEGORIES=    pkgtools
@@ -32,7 +32,7 @@ MAKE_FLAGS+=          ACTIVE_CC=clang
 
 # using pkgsrc gcc8 fails to build with WARNS on NetBSD with:
 # .../stdlib.h:115:1: error: ignoring attribute ‘pure’ in declaration of a built-in function ‘abs’ because it conflicts with attribute ‘const’ [-Werror=attributes]
-.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" && !empty(CC_VERSION:Mgcc-8)
+.if defined(PKG_DEVELOPER) && ${PKG_DEVELOPER} != "no" && empty(CC_VERSION:Mgcc-8*)
 MAKE_ENV+=     WARNS=4
 .else
 MAKE_ENV+=     NOGCCERROR=yes



Home | Main Index | Thread Index | Old Index