summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-01-08 22:19:03 +0000
committerdholland <dholland@pkgsrc.org>2012-01-08 22:19:03 +0000
commit8ded21e0248a7ca3845a2ccabafebee86f877858 (patch)
tree32f437209600e495b740ec9aac383d2000751bf5 /www
parent0ca2654ac489901efc221db319e65f047bc20073 (diff)
downloadpkgsrc-8ded21e0248a7ca3845a2ccabafebee86f877858.tar.gz
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.
Diffstat (limited to 'www')
-rw-r--r--www/amaya/hacks.mk9
1 files changed, 9 insertions, 0 deletions
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
+