pkgsrc/filesystems/openafs/patches/patch-configure
jakllsch 9d279d643a Fix build of OpenAFS userland on at least NetBSD/amd64 7.0.
Hopefully NetBSD/x86 -current also works.

Should merely be a build fix, but bump PKGREVISION anyway.

This commit allocates sysname numbers that have not yet been submitted
upstream.
2016-04-04 12:48:29 +00:00

23 lines
937 B
Text

$NetBSD: patch-configure,v 1.1 2016/04/04 12:48:29 jakllsch Exp $
--- configure.orig 2016-03-16 14:32:21.000000000 +0000
+++ configure
@@ -7559,6 +7559,9 @@ case $AFS_SYSNAME in
*_nbsd40) AFS_PARAM_COMMON=param.nbsd40.h ;;
*_nbsd50) AFS_PARAM_COMMON=param.nbsd50.h ;;
*_nbsd60) AFS_PARAM_COMMON=param.nbsd60.h ;;
+ *_nbsd70) AFS_PARAM_COMMON=param.nbsd70.h ;;
+ *_nbsd80) AFS_PARAM_COMMON=param.nbsd80.h ;;
+ *_nbsd90) AFS_PARAM_COMMON=param.nbsd90.h ;;
*_obsd31) AFS_PARAM_COMMON=param.obsd31.h ;;
*_obsd32) AFS_PARAM_COMMON=param.obsd32.h ;;
*_obsd33) AFS_PARAM_COMMON=param.obsd33.h ;;
@@ -23865,7 +23868,7 @@ case $AFS_SYSNAME in
XCFLAGS="-O2 -pipe -fPIC"
;;
- *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*)
+ *nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*|*nbsd*0)
MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
MT_LIBS="-pthread"
PAM_OPTMZ=-O2