summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-07-05 07:07:37 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-07-05 07:07:37 +0000
commitcec71a952a8689ac1222e1818fba77636158c63c (patch)
tree5bdcda53da2e540a8da9ac922d94563d01649832 /security/cyrus-sasl2-saslauthd
parent8e2c20ab7cb97bbbcce9c6bffe41abd651a462c0 (diff)
downloadfreebsd-ports-cec71a952a8689ac1222e1818fba77636158c63c.zip
Workaround to make it buildable without enabling gsspai. It is
known problem of cyrus-sasl-2.1.14. Reported by: many
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile1
-rw-r--r--security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 69a09c066404..1ee6b6379134 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -77,6 +77,7 @@ CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME}
CONFIGURE_ARGS+=--enable-gssapi
.else
CONFIGURE_ARGS+=--disable-gssapi
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-saslauthd::mechanisms.h
.endif
.include <bsd.port.pre.mk>
diff --git a/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h b/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h
new file mode 100644
index 000000000000..c370441487e1
--- /dev/null
+++ b/security/cyrus-sasl2-saslauthd/files/extra-patch-saslauthd::mechanisms.h
@@ -0,0 +1,13 @@
+Index: saslauthd/mechanisms.h
+diff -u saslauthd/mechanisms.h.orig saslauthd/mechanisms.h
+--- saslauthd/mechanisms.h.orig Sat Jul 5 15:41:07 2003
++++ saslauthd/mechanisms.h Sat Jul 5 15:41:14 2003
+@@ -52,7 +52,7 @@
+ * Figure out which optional drivers we support.
+ */
+ #ifndef AUTH_KRB5
+-# if defined(HAVE_KRB5_H)
++# if defined(HAVE_KRB5_H) && defined(STATIC_GSSAPIV2)
+ # define AUTH_KRB5
+ # endif
+ #endif