Date: Sun, 6 Jan 2013 16:56:56 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310002 - head/security/cyrus-sasl2-saslauthd Message-ID: <201301061656.r06GuuHj080258@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Sun Jan 6 16:56:55 2013 New Revision: 310002 URL: http://svnweb.freebsd.org/changeset/ports/310002 Log: If security/krb5 is installed and OPENLDAP option is enabled, it failed to build unless KRB5_HOME is set properly. Now, only when KRB5_HOME is set properly, it build with security/krb5. Spotted by: David Gessel <gessel__at__blackrosetech.com> Modified: head/security/cyrus-sasl2-saslauthd/Makefile Modified: head/security/cyrus-sasl2-saslauthd/Makefile ============================================================================== --- head/security/cyrus-sasl2-saslauthd/Makefile Sun Jan 6 16:50:14 2013 (r310001) +++ head/security/cyrus-sasl2-saslauthd/Makefile Sun Jan 6 16:56:55 2013 (r310002) @@ -27,6 +27,10 @@ DOCSDIR= ${PREFIX}/share/doc/cyrus-sasl2 MAKE_JOBS_SAFE= yes +# This doesn't work due to absence of .al support in our libtool +#USE_AUTOTOOLS= libtool +#LIBTOOLFILES= ${CONFIGURE_SCRIPT} saslauthd/configure + MAN8= saslauthd.8 USE_RC_SUBR= saslauthd @@ -44,6 +48,7 @@ CONFIGURE_ARGS= --sysconfdir=${PREFIX}/e --with-rc4=openssl \ --with-saslauthd=${SASLAUTHD_RUNPATH} \ --disable-krb4 +CONFIGURE_ENV+= andrew_cv_runpath_switch=none OPTIONS_DEFINE= BDB OPENLDAP HTTPFORM OPENLDAP_DESC= Use OpenLDAP @@ -76,11 +81,12 @@ CONFIGURE_ARGS+=--enable-httpform .if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so) CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME} --with-gss_impl=mit -LDFLAGS+= "-R${KRB5_HOME}/lib" +LDFLAGS+= -R${KRB5_HOME}/lib .elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a) CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal .elif !defined(WITHOUT_GSSAPI) && exists(/usr/lib/libkrb5.a) -CONFIGURE_ARGS+=--enable-gssapi +CONFIGURE_ARGS+=--enable-gssapi=/usr +CFLAGS+= -nostdinc -I/usr/include .else CONFIGURE_ARGS+=--disable-gssapi .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301061656.r06GuuHj080258>