ports/net/openafs/files/patch-configure
Benjamin Kaduk 24b74b98e6 Update net/openafs to upstream 1.6.20.1
This brings in support for 10.3, so remove that BROKEN.

Also bring in some Makefile logic to skip building the kernel module
on FreeBSD releases known to not be supported by upstream; the
server can still be built in those cases, allowing the 11.x BROKEN
to be removed as well.

Approved by:	brd (ports committer)
2017-03-10 05:57:42 +00:00

41 lines
1 KiB
Text

--- configure.orig 2016-12-15 13:48:00 UTC
+++ configure
@@ -34144,13 +34144,15 @@ case $AFS_SYSNAME in
;;
i386_fbsd_*)
+ KERN_OPTMZ=
+ LWP_OPTMZ=
MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
- MT_LIBS="-pthread"
- PAM_OPTMZ=-O2
- PAM_CFLAGS="-pipe -fPIC"
+ MT_LIBS="${_MT_LIBS:--pthread}"
+ PAM_OPTMZ=
+ PAM_CFLAGS="${_PAM_CFLAGS:--pipe -fPIC}"
SHLIB_LDFLAGS="-shared -Xlinker -x"
SHLIB_LINKER="${MT_CC} -shared"
- XCFLAGS="-pipe"
+ XCFLAGS="${_XCFLAGS:--pipe}"
;;
i386_dfbsd_*)
@@ -34164,12 +34166,15 @@ case $AFS_SYSNAME in
;;
amd64_fbsd_*)
+ KERN_OPTMZ=
+ LWP_OPTMZ=
MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
- MT_LIBS="-pthread"
- PAM_CFLAGS="-O2 -pipe -fPIC"
+ MT_LIBS="${_MT_LIBS:--pthread}"
+ PAM_OPTMZ=
+ PAM_CFLAGS="${_PAM_CFLAGS:--O2 -pipe -fPIC}"
SHLIB_LDFLAGS="-shared -Xlinker -x"
SHLIB_LINKER="${MT_CC} -shared"
- XCFLAGS="-O2 -pipe -fPIC"
+ XCFLAGS="${_XCFLAGS:--O2 -pipe -fPIC}"
;;
*nbsd2*|*nbsd3*|*nbsd4*|*nbsd5*|*nbsd6*)