Index: libdispatch/Makefile =================================================================== --- libdispatch/Makefile (revision 350408) +++ libdispatch/Makefile (working copy) @@ -10,6 +10,8 @@ MAINTAINER= brooks@FreeBSD.org COMMENT= Grand Central Dispatch API support library +LICENSE= APACHE20 + USE_AUTOTOOLS= aclocal autoconf ACLOCAL_ARGS= -Im4 GNU_CONFIGURE= yes @@ -18,10 +20,6 @@ # This is needed because PIC support check in autoconf could fail for clang otherwise. CONFIGURE_ENV= lt_cv_prog_compiler_pic_works=yes -OPTIONS_DEFINE= CLANG -OPTIONS_DEFAULT= CLANG -CLANG_DESC= Build with LLVM/Clang (required for blocks support) - _MAN3= dispatch.3 \ dispatch_after.3 \ dispatch_after_f.3 \ @@ -80,11 +78,17 @@ .include +.if (${OSVERSION} < 1000024) +OPTIONS_DEFINE= CLANG +OPTIONS_DEFAULT= CLANG +CLANG_DESC= Build with LLVM/Clang (required for blocks support) +.endif + .if ${OSVERSION} <= 800107 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900002) IGNORE= is not supported on this OS version .endif -.if ${OSVERSION} > 900000 +.if ((${OSVERSION} > 900000) && (${OSVERSION} < 1000706)) .if ${ARCH} == "powerpc BROKEN= Does not configure on powerpc-9 .elif ${ARCH} == "sparc64