From 17ae854613f3aa5ed78e2e6e54f5ac63a7de829b Mon Sep 17 00:00:00 2001
From: grant <grant@pkgsrc.org>
Date: Wed, 3 Aug 2005 04:18:31 +0000
Subject: hack to work around autoconf brain damage when using icc.

---
 multimedia/vlc/hacks.mk | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 multimedia/vlc/hacks.mk

(limited to 'multimedia')

diff --git a/multimedia/vlc/hacks.mk b/multimedia/vlc/hacks.mk
new file mode 100644
index 00000000000..6d5a2c06d80
--- /dev/null
+++ b/multimedia/vlc/hacks.mk
@@ -0,0 +1,8 @@
+# $NetBSD: hacks.mk,v 1.1 2005/08/03 04:18:31 grant Exp $
+
+# the autoconf test for the Darwin linker wrongly succeeds when using
+# icc/Linux because icc ignores unknown flags. override this brain
+# damage.
+.if ${OPSYS} != "Darwin"
+CONFIGURE_ENV+=		ac_cv_ld_darwin=no
+.endif
-- 
cgit v1.2.3