diff options
author | nia <nia@pkgsrc.org> | 2021-06-15 12:35:11 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-06-15 12:35:11 +0000 |
commit | d88ab543d29380eaccc69bffef52c549532ad9c2 (patch) | |
tree | e93bc87b323d7cd531e5da2585458c167c3222fa /comms | |
parent | 41aee44aead39a546ff0adc784a8ed856c557223 (diff) | |
download | pkgsrc-d88ab543d29380eaccc69bffef52c549532ad9c2.tar.gz |
conserver: avoid hardcoding a list of 64-bit archs
Diffstat (limited to 'comms')
-rw-r--r-- | comms/conserver/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/comms/conserver/Makefile b/comms/conserver/Makefile index a1a8edebba9..b6faeb18583 100644 --- a/comms/conserver/Makefile +++ b/comms/conserver/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-logfile=${VARBASE}/log/conserver .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 |