summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-06-27 23:07:44 +0000
committerasau <asau@pkgsrc.org>2014-06-27 23:07:44 +0000
commitbba4c52f3cb89a4b482a5a59141ed46db0b58c00 (patch)
tree827177e3d9813340de0a04e23ba88ceae015f0dc
parent37b699dc5c5ea9155fa71d093c80b060e3169b0d (diff)
downloadpkgsrc-bba4c52f3cb89a4b482a5a59141ed46db0b58c00.tar.gz
configure fails to detect <netinet/ip_icmp.h> presense on FreeBSD 10.
Work around it.
-rw-r--r--www/squid3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/squid3/Makefile b/www/squid3/Makefile
index c26cccba60a..bc2d0eccdbc 100644
--- a/www/squid3/Makefile
+++ b/www/squid3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2014/05/29 23:38:17 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2014/06/27 23:07:44 asau Exp $
DISTNAME= squid-3.4.5
PKGREVISION= 1
@@ -59,6 +59,11 @@ GNU_ARCH.i386= i486
CFLAGS+= -march=i486
.endif
+# Incorrect check for <netinet/ip_icmp.h> on FreeBSD:
+.if $(OPSYS) == "FreeBSD"
+CONFIGURE_ENV+= ac_cv_header_netinet_ip_icmp_h=yes
+.endif
+
INSTALLATION_DIRS= ${EGDIR}
SPECIAL_PERMS+= libexec/pinger ${SETUID_ROOT_PERMS}