diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2009-11-04 22:11:58 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2009-11-04 22:11:58 +0000 |
commit | b64c7a77295364ecfe600891fe6a276ae13a404f (patch) | |
tree | d160bf4a9d56a16b9ec6b575ae95cff544e8eb40 /lang/clang-devel | |
parent | 41b9d9eed0994bf0016b19511c8bd566110fb37a (diff) | |
download | ports-b64c7a77295364ecfe600891fe6a276ae13a404f.tar.gz ports-b64c7a77295364ecfe600891fe6a276ae13a404f.zip |
Fix plist (missing DATADIR).
Add conflicts for llvm-devel and the forthcoming clang-devel.
Add USE_GCC=4.2+ in hopes of fixing 6.x builds.
Reported by: pointhat
Notes
Notes:
svn path=/head/; revision=243809
Diffstat (limited to 'lang/clang-devel')
-rw-r--r-- | lang/clang-devel/Makefile | 16 | ||||
-rw-r--r-- | lang/clang-devel/pkg-plist | 1 |
2 files changed, 10 insertions, 7 deletions
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile index 637014641686..00f282ed3f02 100644 --- a/lang/clang-devel/Makefile +++ b/lang/clang-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= clang PORTVERSION= 2.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel lang MASTER_SITES= http://llvm.org/releases/${PORTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -17,6 +17,8 @@ EXTRACT_ONLY= ${LLVM_SOURCE} MAINTAINER= brooks@FreeBSD.org COMMENT= C, Objective-C, and (soon) C++ compiler +CONFLICTS= clang-devel-2.[0-9]* llvm-devel-2.[0-9]* + CLANG_NAME= clang-${PORTVERSION} CLANG_SOURCE= ${CLANG_NAME}${EXTRACT_SUFX} LLVM_NAME= llvm-${PORTVERSION} @@ -25,8 +27,8 @@ LLVM_SOURCE= ${LLVM_NAME}${EXTRACT_SUFX} WRKSRC= ${WRKDIR}/${LLVM_NAME} INSTALL_WRKSRC= ${WRKSRC}/tools/clang -BUILD_DEPENDS+= llvm=2.6:${PORTSDIR}/devel/llvm -RUN_DEPENDS+= llvm=2.6:${PORTSDIR}/devel/llvm +BUILD_DEPENDS+= llvm-as:${PORTSDIR}/devel/llvm +RUN_DEPENDS+= llvm-as:${PORTSDIR}/devel/llvm .if defined(PACKAGE_BUILDING) || defined(MAINTAINER_MODE) BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif @@ -35,6 +37,7 @@ BUILD_DEPENDS+= f2c:${PORTSDIR}/lang/f2c .endif GNU_CONFIGURE= yes +USE_GCC= 4.2+ USE_GMAKE= yes USE_PERL5_BUILD=yes MAKE_JOBS_SAFE= yes @@ -109,9 +112,8 @@ build-plist: cd ${PREFIX} && \ ${FIND} ${PLIST_DIR_LIST} -type d | \ ${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST} - ${FIND} ${DOCSDIR} -type d | ${SORT} -r | \ - ${SED} -e 's|${DATADIR}|%%DATADIR%%|' \ - -e 's|${DOCSDIR}|%%DOCSDIR%%|' \ - -e 's|^|%%PORTDOCS%%@dirrm |' >> ${PLIST} + ${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \ + ${SED} -e 's|${DATADIR}|@dirrm %%DATADIR%%|' \ + -e 's|${DOCSDIR}|%%PORTDOCS%%@dirrm %%DOCSDIR%%|' >> ${PLIST} .include <bsd.port.post.mk> diff --git a/lang/clang-devel/pkg-plist b/lang/clang-devel/pkg-plist index 53fbbda13f19..1387c22cc5fe 100644 --- a/lang/clang-devel/pkg-plist +++ b/lang/clang-devel/pkg-plist @@ -40,3 +40,4 @@ libexec/clang-cc %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang %%PORTDOCS%%@dirrm %%DOCSDIR%%/html %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%% |