pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/djbsort We don't install multiple architectures, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d16dd0065c5
branches:  trunk
changeset: 383720:0d16dd0065c5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Aug 09 09:14:16 2018 +0000

description:
We don't install multiple architectures, so don't build them. Bump
PKGREVISION defensively, since it's hard to be sure the binary package
hasn't changed.

diffstat:

 math/djbsort/Makefile            |   3 ++-
 math/djbsort/distinfo            |   4 ++--
 math/djbsort/patches/patch-build |  20 ++++++++++++++++++--
 3 files changed, 22 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r a1bef9420c56 -r 0d16dd0065c5 math/djbsort/Makefile
--- a/math/djbsort/Makefile     Thu Aug 09 07:42:34 2018 +0000
+++ b/math/djbsort/Makefile     Thu Aug 09 09:14:16 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2018/07/31 06:34:11 schmonz Exp $
+# $NetBSD: Makefile,v 1.5 2018/08/09 09:14:16 schmonz Exp $
 
 DISTNAME=              djbsort-20180729
+PKGREVISION=           1
 CATEGORIES=            math
 MASTER_SITES=          ${HOMEPAGE}
 
diff -r a1bef9420c56 -r 0d16dd0065c5 math/djbsort/distinfo
--- a/math/djbsort/distinfo     Thu Aug 09 07:42:34 2018 +0000
+++ b/math/djbsort/distinfo     Thu Aug 09 09:14:16 2018 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2018/07/31 06:34:11 schmonz Exp $
+$NetBSD: distinfo,v 1.4 2018/08/09 09:14:16 schmonz Exp $
 
 SHA1 (djbsort-20180729.tar.gz) = 7b64b9c5b3c6428cb6bc16638876f57ffff3c58b
 RMD160 (djbsort-20180729.tar.gz) = 65455661524b5d2cdd21c1c329a9065cfc9b3b0d
 SHA512 (djbsort-20180729.tar.gz) = b46c36514ce0c2c1716421d4da216d2e7ddb80e8e9a1b97b274ab0b3fe7271ea946a65485e81d4dc76c080658b41ef1e2fa64a225594532f1be98dc29535b2a6
 Size (djbsort-20180729.tar.gz) = 29347 bytes
-SHA1 (patch-build) = 0f1ae219495cc63fc301aa1f9ae1c1655da3aaa3
+SHA1 (patch-build) = eab611f7868f00a92781eb5a1eed6451607fb30b
 SHA1 (patch-test) = b5ba29b15d7baa896bf9e47a1522e88e73df4c9e
 SHA1 (patch-upgrade) = 2bec25c36e1ed28c67e4967ac929780d28bb2e68
diff -r a1bef9420c56 -r 0d16dd0065c5 math/djbsort/patches/patch-build
--- a/math/djbsort/patches/patch-build  Thu Aug 09 07:42:34 2018 +0000
+++ b/math/djbsort/patches/patch-build  Thu Aug 09 09:14:16 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: patch-build,v 1.1 2018/07/31 05:38:56 schmonz Exp $
+$NetBSD: patch-build,v 1.2 2018/08/09 09:14:16 schmonz Exp $
 
 Don't bake build host into binary packages.
+Don't build for multiple architectures.
 
---- build.orig 2018-07-17 14:55:25.000000000 +0000
+--- build.orig 2018-07-29 18:33:39.000000000 +0000
 +++ build
 @@ -35,6 +35,7 @@ version = readfile('version').strip()
  shorthostname = platform.node().split('.')[0].lower()
@@ -12,3 +13,18 @@
  
  startdir = os.getcwd()
  
+@@ -98,11 +99,11 @@ def guessarchitectures(c):
+     if p.returncode:
+       lognow('dumpmachine exited %s' % (p.returncode))
+     out = out.decode()
+-    if out.startswith('x86_64'): return ['x86','amd64']
++    if out.startswith('x86_64'): return ['amd64']
+     if out.startswith('i686'): return ['x86']
+     if out.startswith('i386'): return ['x86']
+-    if out.startswith('aarch64'): return ['arm','armeabi','aarch64']
+-    if out.startswith('arm'): return ['arm','armeabi']
++    if out.startswith('aarch64'): return ['aarch64']
++    if out.startswith('arm'): return ['armeabi']
+     return
+   except Exception as e:
+     lognow('dumpmachine failed %s' % e)



Home | Main Index | Thread Index | Old Index