pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/conserver



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 15 12:35:11 UTC 2021

Modified Files:
        pkgsrc/comms/conserver: Makefile

Log Message:
conserver: avoid hardcoding a list of 64-bit archs


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/comms/conserver/Makefile

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

Modified files:

Index: pkgsrc/comms/conserver/Makefile
diff -u pkgsrc/comms/conserver/Makefile:1.32 pkgsrc/comms/conserver/Makefile:1.33
--- pkgsrc/comms/conserver/Makefile:1.32        Mon Jun 24 10:59:41 2019
+++ pkgsrc/comms/conserver/Makefile     Tue Jun 15 12:35:11 2021
@@ -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=${VARBAS
 
 .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