Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 10:01:21 +0000 (UTC)
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336054 - in head/dns: bind98 bind99
Message-ID:  <201312101001.rBAA1LqY076315@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: erwin
Date: Tue Dec 10 10:01:21 2013
New Revision: 336054
URL: http://svnweb.freebsd.org/changeset/ports/336054

Log:
  Fix build with GSSAPI option without Kerberos
  
  PR:		184560
  Submitted by:	Dewayne <dewayne@heuristicsystems.com.au>

Modified:
  head/dns/bind98/Makefile
  head/dns/bind99/Makefile

Modified: head/dns/bind98/Makefile
==============================================================================
--- head/dns/bind98/Makefile	Tue Dec 10 08:27:52 2013	(r336053)
+++ head/dns/bind98/Makefile	Tue Dec 10 10:01:21 2013	(r336054)
@@ -157,7 +157,11 @@ CONFIGURE_ARGS+=	--disable-threads
 
 .if ${PORT_OPTIONS:MGSSAPI}
 CONFIGURE_ARGS+=	--with-gssapi
+.if defined(HEIMDAL_HOME)
+LDFLAGS+=		-L${LIBDIR} -lgssapi -lkrb5
+.else
 LDFLAGS+=		-L${LIBDIR} -lgssapi_krb5
+.endif
 .else
 CONFIGURE_ARGS+=	--without-gssapi
 .endif

Modified: head/dns/bind99/Makefile
==============================================================================
--- head/dns/bind99/Makefile	Tue Dec 10 08:27:52 2013	(r336053)
+++ head/dns/bind99/Makefile	Tue Dec 10 10:01:21 2013	(r336054)
@@ -164,7 +164,11 @@ CONFIGURE_ARGS+=	--disable-threads
 
 .if ${PORT_OPTIONS:MGSSAPI}
 CONFIGURE_ARGS+=	--with-gssapi
+.if defined(HEIMDAL_HOME)
+LDFLAGS+=		-L${LIBDIR} -lgssapi -lkrb5
+.else
 LDFLAGS+=		-L${LIBDIR} -lgssapi_krb5
+.endif
 .else
 CONFIGURE_ARGS+=        --without-gssapi
 .endif



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