pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/bcal math/bcal: restrict to 64 bit platforms



details:   https://anonhg.NetBSD.org/pkgsrc/rev/003349e30c3f
branches:  trunk
changeset: 396935:003349e30c3f
user:      sjmulder <sjmulder%pkgsrc.org@localhost>
date:      Wed Jun 12 20:57:07 2019 +0000

description:
math/bcal: restrict to 64 bit platforms

bcal is 64 bit only by design so use ONLY_FOR_PLATFORM to prevent build
failures on unsupported platforms.

diffstat:

 math/bcal/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 48ae0c855ab0 -r 003349e30c3f math/bcal/Makefile
--- a/math/bcal/Makefile        Wed Jun 12 20:53:05 2019 +0000
+++ b/math/bcal/Makefile        Wed Jun 12 20:57:07 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/05/06 09:17:12 sjmulder Exp $
+# $NetBSD: Makefile,v 1.3 2019/06/12 20:57:07 sjmulder Exp $
 
 DISTNAME=      bcal-2.1
 CATEGORIES=    math
@@ -10,10 +10,11 @@
 COMMENT=       Storage and general-purpose calculator
 LICENSE=       gnu-gpl-v3
 
-USE_TOOLS+=    gmake
+# "Only 64-bit operating systems are supported." (README.md)
+ONLY_FOR_PLATFORM=     ${LP64PLATFORMS}
 
+USE_TOOLS+=    gmake
 DEPENDS+=      bc-[0-9]*:../../math/bc
-
 MAKE_FLAGS+=   MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
 
 .include "../../mk/readline.buildlink3.mk"



Home | Main Index | Thread Index | Old Index