pkgsrc-Bulk archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [clang] pkgsrc NetBSD 5.99.55/x86_64 2011-07-22 09:26
On Sun, Jul 24, 2011 at 03:28:17AM +0200, Joerg Sonnenberger wrote:
> imake wasn't marked as faulty in the last run as I tried a few
> workaround. I've given up for the moment :(
try this:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/imake/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 21 May 2010 22:10:11 -0000 1.10
+++ Makefile 26 Jul 2011 13:17:52 -0000
@@ -22,7 +22,11 @@
REPLACE_SH+= mkhtmlindex.sh
.include "../../mk/compiler.mk"
-.if empty(PKGSRC_COMPILER:Mgcc)
+.if !empty(PKGSRC_COMPILER:Mclang)
+DEPENDS+=ucpp-[0-9]*:../../devel/ucpp
+CONFIGURE_ENV+= ac_cv_path_RAWCPP="ucpp -s"
+
+.elif empty(PKGSRC_COMPILER:Mgcc)
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
. if ${OPSYS} == "SunOS"
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index