aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2011-01-20 05:52:34 +0800
committerohauer <ohauer@FreeBSD.org>2011-01-20 05:52:34 +0800
commit6cd53eb53a62dfe0727e0207db27f71fa4a0bbe3 (patch)
treeaf8a068f723af7145643ab7e30792bf8b5c02eea
parent721ce488f581b003b24d5412a6f97864d01bbe28 (diff)
downloadfreebsd-ports-graphics-6cd53eb53a62dfe0727e0207db27f71fa4a0bbe3.tar.gz
freebsd-ports-graphics-6cd53eb53a62dfe0727e0207db27f71fa4a0bbe3.tar.zst
freebsd-ports-graphics-6cd53eb53a62dfe0727e0207db27f71fa4a0bbe3.zip
- mark port IGNORE if OSVERSION < 702000
since there is no strdup(3) available. Issue reported by pav (pointyhat build) Remark: Feature save only if OSVERSION >= 702000 Feature safe: yes
-rw-r--r--www/libmicrohttpd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index 8a229dc2681..a2a8467ccc6 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -20,6 +20,10 @@ LICENSE= LGPL21
OPTIONS= GNUTLS "Build with gnutls to support ssl" off
.include <bsd.port.options.mk>
+.if ${OSVERSION} < 702000
+IGNORE= strdup is not available in this OS release
+.endif
+
.if defined(WITH_GNUTLS)
LIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--with-gnutls=${LOCALBASE} --enable-https