From 8ded21e0248a7ca3845a2ccabafebee86f877858 Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 8 Jan 2012 22:19:03 +0000 Subject: Add a workaround for PR 45266 (krb5-config issue in NetBSD base): clear BUILDLINK_INCDIRS.heimdal. Otherwise -I/usr/include/krb5 appears in CFLAGS, which breaks the build because the compiler finds krb5's base64.h instead of Amaya's. krb5 is pulled in by curl, which is a several-times-indirect dependency, and nothing in this package uses it, or apparently anything that needs it, directly. --- www/amaya/hacks.mk | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 www/amaya/hacks.mk (limited to 'www') diff --git a/www/amaya/hacks.mk b/www/amaya/hacks.mk new file mode 100644 index 00000000000..5b279aee38e --- /dev/null +++ b/www/amaya/hacks.mk @@ -0,0 +1,9 @@ +# $NetBSD: hacks.mk,v 1.1 2012/01/08 22:19:03 dholland Exp $ + +.include "../../mk/bsd.prefs.mk" + +# Workaround for PR 45266 +.if ${OPSYS} == "NetBSD" +BUILDLINK_INCDIRS.heimdal= # empty +.endif + -- cgit v1.2.3