pkgsrc/net/netatalk/patches/patch-configure
2013-07-16 22:38:32 +00:00

14 lines
518 B
Text

$NetBSD: patch-configure,v 1.1 2013/07/16 22:38:32 fhajny Exp $
Even on SunOS, we decide bitness ourselves.
--- configure.orig 2012-09-28 07:49:32.000000000 +0000
+++ configure
@@ -17535,7 +17535,7 @@ $as_echo_n "checking if we have to build
# check for isainfo, if not found it has to be a 32 bit kernel (<=2.6)
if test -x /usr/bin/isainfo; then
# check for 64 bit platform
- if isainfo -kv | grep '^64-bit'; then
+ if test "$MACHINE_ARCH" = "x86_64"; then
COMPILE_64BIT_KMODULE=yes
fi
fi