diff options
author | adam <adam@pkgsrc.org> | 2010-10-26 07:29:03 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2010-10-26 07:29:03 +0000 |
commit | ab12aa6778f6607f53e1889788bb621f3140220b (patch) | |
tree | 8e90a079513fd9a3e1d4d1f19bcddb55b2680ebf /lang/clang | |
parent | 213541b69e3bcb761210d8db0079e8c4a6044b96 (diff) | |
download | pkgsrc-ab12aa6778f6607f53e1889788bb621f3140220b.tar.gz |
Fix building when OCaml is installed
Diffstat (limited to 'lang/clang')
-rw-r--r-- | lang/clang/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile index 26a123728c5..79b22f02057 100644 --- a/lang/clang/Makefile +++ b/lang/clang/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/10/25 12:47:09 adam Exp $ +# $NetBSD: Makefile,v 1.8 2010/10/26 07:29:03 adam Exp $ DISTNAME= clang-2.8 CATEGORIES= lang @@ -18,6 +18,7 @@ WRKSRC= ${WRKDIR}/llvm-${PKGVERSION_NOREV} USE_LANGUAGES= c c++ USE_TOOLS+= chown perl:build gmake GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-bindings # disable OCaml MAKE_DIRS+= etc/llvm @@ -34,7 +35,7 @@ SUBST_FILES.perl= tools/llvm-config/llvm-config.in.in SUBST_SED.perl= -e 's,@PERL@,${PERL5},' post-extract: - mv ${WRKDIR}/clang-${PKGVERSION_NOREV} ${WRKDIR}/llvm-2.8/tools/clang + mv ${WRKDIR}/clang-${PKGVERSION_NOREV} ${WRKSRC}/tools/clang # XXX Darwin only? pre-install: |