aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-07-05 15:07:37 +0800
committerume <ume@FreeBSD.org>2003-07-05 15:07:37 +0800
commit7b2dafff7fb7a71e21129e43c7f00183c072d2fa (patch)
tree54df79d97d810d9390f25e9f5677159d1174c7d3 /security/cyrus-sasl2-saslauthd
parent0f2aa9724baa4a53564f76378700d1815b26e023 (diff)
downloadfreebsd-ports-gnome-7b2dafff7fb7a71e21129e43c7f00183c072d2fa.tar.gz
freebsd-ports-gnome-7b2dafff7fb7a71e21129e43c7f00183c072d2fa.tar.zst
freebsd-ports-gnome-7b2dafff7fb7a71e21129e43c7f00183c072d2fa.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