Index: head/devel/ccons/Makefile =================================================================== --- head/devel/ccons/Makefile (revision 372051) +++ head/devel/ccons/Makefile (revision 372052) @@ -1,47 +1,47 @@ # Created by: Danilo Egea Gondolfo # $FreeBSD$ PORTNAME= ccons PORTVERSION= r251 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GOOGLE_CODE MAINTAINER= danilo@FreeBSD.org COMMENT= Interactive Console for the C Programming Language LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= llvm-config33:${PORTSDIR}/devel/llvm33 \ clang++33:${PORTSDIR}/lang/clang33 RUN_DEPENDS= clang++33:${PORTSDIR}/lang/clang33 LIB_DEPENDS= libncurses.so:${PORTSDIR}/devel/ncurses ONLY_FOR_ARCHS= i386 amd64 USES= cmake CMAKE_ARGS+= -DLLVM_CONFIG_EXECUTABLE=${LOCALBASE}/bin/llvm-config33 CXXFLAGS+= -fno-rtti -LDFLAGS+= -lclang -CXX= clang++33 -CC= clang33 -PLIST_FILES= bin/ccons man/man1/ccons.1.gz +SUB_FILES= ccons.sh +PLIST_FILES= bin/ccons man/man1/ccons.1.gz \ + bin/ccons-bin WRKSRC= ${WRKDIR}/ccons .include .if ${OSVERSION} >= 1000054 CXXFLAGS+= -stdlib=libc++ .endif .if ${OSVERSION} < 900044 BROKEN= ccons does not work on FreeBSD < 9.0-RELEASE .endif do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/ccons ${STAGEDIR}${PREFIX}/bin/ccons + @${INSTALL_PROGRAM} ${WRKSRC}/ccons ${STAGEDIR}${PREFIX}/bin/ccons-bin + @${INSTALL_SCRIPT} ${WRKDIR}/ccons.sh ${STAGEDIR}${PREFIX}/bin/ccons @${INSTALL_MAN} ${WRKSRC}/man/ccons.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ccons.1 .include Index: head/devel/ccons/files/ccons.sh.in =================================================================== --- head/devel/ccons/files/ccons.sh.in (nonexistent) +++ head/devel/ccons/files/ccons.sh.in (revision 372052) @@ -0,0 +1,5 @@ +#!/bin/sh +# $FreeBSD$ + +LD_LIBRARY_PATH="%%LOCALBASE%%/llvm33/lib/" %%LOCALBASE%%/bin/ccons-bin + Property changes on: head/devel/ccons/files/ccons.sh.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/ccons/files/patch-CMakeLists.txt =================================================================== --- head/devel/ccons/files/patch-CMakeLists.txt (nonexistent) +++ head/devel/ccons/files/patch-CMakeLists.txt (revision 372052) @@ -0,0 +1,18 @@ +--- CMakeLists.txt.orig 2013-06-22 02:01:31 UTC ++++ CMakeLists.txt +@@ -8,13 +8,13 @@ if(NOT LLVM_CONFIG_EXECUTABLE) + message(FATAL_ERROR "LLVM was not found!") + endif(NOT LLVM_CONFIG_EXECUTABLE) + +-exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --libs engine target linker bitreader bitwriter codegen mc mcdisassembler instrumentation x86 OUTPUT_VARIABLE LLVM_LIBS) ++set(LLVM_LIBS "-lLLVM-3.3") + exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --libdir OUTPUT_VARIABLE LLVM_LIBDIR) + exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --ldflags OUTPUT_VARIABLE LLVM_LDFLAGS) + exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --includedir OUTPUT_VARIABLE LLVM_INCLUDE_DIR) + exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --cflags OUTPUT_VARIABLE LLVM_C_FLAGS) + exec_program(${LLVM_CONFIG_EXECUTABLE} ARGS --cxxflags OUTPUT_VARIABLE LLVM_CXX_FLAGS) +-set(CLANG_LIBS "-lclangFrontend -lclangAST -lclangLex -lclangCodeGen -lclangSema -lclangSerialization -lclangParse -lclangAST -lclangBasic -lclangAnalysis -lclangEdit") ++set(CLANG_LIBS "-lclang -lclangCodeGen -lclangAST") + + Project(ccons) + Property changes on: head/devel/ccons/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property