From f66a1f152a0236dfa53d91e17580b0b627abdd2e Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 27 Jan 2014 13:05:07 +0000 Subject: Support stage Use compiler.mk to determine which compiler is being used Remove license_file for well known license --- devel/bam/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'devel/bam') diff --git a/devel/bam/Makefile b/devel/bam/Makefile index b6dc65eb012d..150c523b3433 100644 --- a/devel/bam/Makefile +++ b/devel/bam/Makefile @@ -7,18 +7,19 @@ CATEGORIES= devel MASTER_SITES= http://github.com/downloads/matricks/bam/ MAINTAINER= beyert@cs.ucr.edu -COMMENT= A fast and flexible build system using Lua +COMMENT= Fast and flexible build system using Lua LICENSE= ZLIB -LICENSE_FILE= ${WRKSRC}/license.txt +USES= compiler USE_BZIP2= yes PLIST_FILES= bin/bam -NO_STAGE= yes +.include + do-build: -.if defined(CC) && ${CC:T:Mclang} +.if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|-ldl||g' ${WRKSRC}/make_unix_clang.sh (cd ${WRKSRC} && ${SH} make_unix_clang.sh) .else @@ -27,6 +28,6 @@ do-build: .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bam ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bam ${STAGEDIR}${PREFIX}/bin -.include +.include -- cgit