pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/conserver conserver: avoid hardcoding a list of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a6c2d225e82
branches:  trunk
changeset: 454708:9a6c2d225e82
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 15 12:35:11 2021 +0000

description:
conserver: avoid hardcoding a list of 64-bit archs

diffstat:

 comms/conserver/Makefile |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r 543710c41aa7 -r 9a6c2d225e82 comms/conserver/Makefile
--- a/comms/conserver/Makefile  Tue Jun 15 10:51:42 2021 +0000
+++ b/comms/conserver/Makefile  Tue Jun 15 12:35:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2019/06/24 10:59:41 nia Exp $
+# $NetBSD: Makefile,v 1.33 2021/06/15 12:35:11 nia Exp $
 #
 
 DISTNAME=      conserver-7.2.7
@@ -22,10 +22,11 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \
-       ${MACHINE_ARCH} == x86_64
+.for arch in ${LP64PLATFORMS}
+.  if !empty(MACHINE_PLATFORM:M${arch})
 CONFIGURE_ARGS+=       --with-64bit
-.endif
+.  endif
+.endfor
 
 BUILD_DEFS+=   VARBASE CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST
 



Home | Main Index | Thread Index | Old Index