[MacPorts] #12753: libneon included in gnome-vfs doesn't like
/usr/include/gssapi
MacPorts
trac at macosforge.org
Sun Nov 25 03:03:19 PST 2007
#12753: libneon included in gnome-vfs doesn't like /usr/include/gssapi
---------------------------------+------------------------------------------
Reporter: stephen at xemacs.org | Owner: rhwood at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.5.0
Resolution: | Keywords:
---------------------------------+------------------------------------------
Comment (by stephen at xemacs.org):
Here's a patch to configure.in that permitted me to build gnome-vfs, with
the following warning:
{{{
Warning: violation by /dbus-1
Warning: gnome-vfs violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it
will be an error in future releases!
}}}
To build, I needed to do the equivalent of the following
{{{
1. port clean gnome-vfs
2. port extract gnome-vfs
3. cp configure.in configure.in.orig
4. cp configure configure.orig
5. patch < $THE_PATCH_BELOW
6. autoconf
7. diff -u configure.in.orig configure.in > dports/gnome/gnome-vfs/files
/patch-configure
8. diff -u configure.orig configure >> dports/gnome/gnome-vfs/files
/patch-configure
9. add the line "patchfiles patch-configure" to Portfile
10. port clean gnome-vfs
11. port upgrade gnome-vfs
}}}
I'd provide the patch-configure file, but due to version skew between the
ports tree autoconf (2.59) and the one I have installed (2.61), the
configure patch is huge and the tracker barfed. It's wrong, anyway, of
course, since it will break things if heimdal isn't installed.
{{{
--- configure.in.orig 2007-09-17 10:01:27.000000000 -0700
+++ configure.in 2007-11-25 02:30:53.000000000 -0800
@@ -463,7 +463,9 @@
AC_CHECK_FUNCS(gss_init_sec_context, [
AC_MSG_NOTICE([GSSAPI authentication support enabled])
AC_DEFINE(HAVE_GSSAPI, 1, [Define if GSSAPI support is
enabled])
- AC_CHECK_HEADERS(gssapi/gssapi_generic.h)
+ # This picks up Apple's /usr/include/gssapi/gssapi_generic.h
+ # which doesn't work properly with Heimdal
+ # AC_CHECK_HEADERS(gssapi/gssapi_generic.h)
have_gssapi=yes
# MIT Kerberos lacks GSS_C_NT_HOSTBASED_SERVICE
}}}
HTH
--
Ticket URL: <https://svn.macosforge.org/projects/macports/ticket/12753#comment:7>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list