Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 2004 00:22:10 -0000
From:      Joe Kelsey <joe@zircon.seattle.wa.us>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73845: Cannot build ximian-connector without security/heimdal on 4.x
Message-ID:  <20041112002210.14570.qmail@zircon.seattle.wa.us>
Resent-Message-ID: <200411120030.iAC0UVwx051648@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73845
>Category:       ports
>Synopsis:       Cannot build ximian-connector without security/heimdal on 4.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 00:30:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Joe Kelsey
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Joseph M. Kelsey
>Environment:
System: FreeBSD zircon.zircon.seattle.wa.us 4.10-STABLE FreeBSD 4.10-STABLE #4: Fri Oct 22 12:06:41 PDT 2004 joe@zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON i386

>Description:
	There is a big, complex .if in Makefile for
	mail/ximian-connector related to heimdal in 4.x systems.  This
	entire .if doesn't work since you cannot compile
	ximian-connector with the ancient version of heimdal included as
	part of 4.x.  You *must* use security/heimdal.  No ifs, ands or
	buts.

>How-To-Repeat:
	Try to build ximian-connector without first installing
	security/heimdal even if you have defined MAKE_KERBEROS5 on
	4.x.  It doesn't work.
>Fix:

Remove that big, complex, useless .if and just include security/heimdal
on 4.x.

--- Makefile.old	Sun Nov  7 14:24:18 2004
+++ Makefile	Thu Nov 11 16:16:49 2004
@@ -36,14 +36,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000 && defined(MAKE_KERBEROS5) && \
-	exists(/usr/lib/libkrb5.so) && !defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+=	--with-krb5=/usr
-.elif ( ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5) ) || \
-	defined(PACKAGE_BUILDING)
-LIB_DEPENDS+=		krb5:${PORTSDIR}/security/heimdal
-CONFIGURE_ARGS+=	--with-krb5=${LOCALBASE}
-.elif ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
+.if ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
 	exists(/usr/lib/libkrb5.so)
 CONFIGURE_ARGS+=	--with-krb5=/usr
 .else
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041112002210.14570.qmail>