aboutsummaryrefslogtreecommitdiffstats
path: root/www/cacheboy15-devel
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2008-07-01 06:13:16 +0800
committeradrian <adrian@FreeBSD.org>2008-07-01 06:13:16 +0800
commit415498fbcd088f7ee49c7ade1d923eb66f4833f0 (patch)
treee06f7db62290a8c7414fa6ab918a78b3d7999ddd /www/cacheboy15-devel
parent53ff915c3bd428c439a5c405442fc4f64dfe3014 (diff)
downloadfreebsd-ports-gnome-415498fbcd088f7ee49c7ade1d923eb66f4833f0.tar.gz
freebsd-ports-gnome-415498fbcd088f7ee49c7ade1d923eb66f4833f0.tar.zst
freebsd-ports-gnome-415498fbcd088f7ee49c7ade1d923eb66f4833f0.zip
A commit to squid a few months ago broke using openssl's MD5 implementation
without compiling in ssl. This fix disables including the openssl headers unless SSL support is compiled in, leaving the md5 stuff to hopefully compile correctly.
Diffstat (limited to 'www/cacheboy15-devel')
-rw-r--r--www/cacheboy15-devel/Makefile2
-rw-r--r--www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h19
2 files changed, 20 insertions, 1 deletions
diff --git a/www/cacheboy15-devel/Makefile b/www/cacheboy15-devel/Makefile
index f9adc9def42a..aa7c68e2769d 100644
--- a/www/cacheboy15-devel/Makefile
+++ b/www/cacheboy15-devel/Makefile
@@ -76,7 +76,7 @@
PORTNAME= cacheboy
DISTVERSION= 1.3.3
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= CACHEBOY_1.3.3
diff --git a/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h b/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
new file mode 100644
index 000000000000..b3c910dae24d
--- /dev/null
+++ b/www/cacheboy15-devel/files/patch-libiapp-iapp_ssl.h
@@ -0,0 +1,19 @@
+--- libiapp/iapp_ssl.h (revision 12992)
++++ libiapp/iapp_ssl.h (working copy)
+@@ -3,6 +3,9 @@
+
+ #include "../include/config.h"
+
++/* Don't include these if we are -not- building with SSL support */
++
++#if USE_SSL
+ #if HAVE_OPENSSL_SSL_H
+ #include <openssl/ssl.h>
+ #endif
+@@ -12,5 +15,6 @@
+ #if HAVE_OPENSSL_ENGINE_H
+ #include <openssl/engine.h>
+ #endif
++#endif /* USE_SSL */
+
+ #endif