svn commit: r336054 - in head/dns: bind98 bind99

Erwin Lansing erwin at FreeBSD.org
Tue Dec 10 10:01:21 UTC 2013


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 at 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


More information about the svn-ports-head mailing list