From owner-svn-ports-all@FreeBSD.ORG Tue Mar 18 07:46:08 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DE62CC4; Tue, 18 Mar 2014 07:46:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6079C7D7; Tue, 18 Mar 2014 07:46:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2I7k8SS016741; Tue, 18 Mar 2014 07:46:08 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2I7k7Dp016737; Tue, 18 Mar 2014 07:46:07 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201403180746.s2I7k7Dp016737@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 18 Mar 2014 07:46:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348518 - in head/graphics/flasm: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 07:46:08 -0000 Author: ehaupt Date: Tue Mar 18 07:46:07 2014 New Revision: 348518 URL: http://svnweb.freebsd.org/changeset/ports/348518 QAT: https://qat.redports.org/buildarchive/r348518/ Log: - Support staging - Respect CC and hence fix build with clang - Respect CFLAGS Added: head/graphics/flasm/files/patch-Makefile (contents, props changed) Modified: head/graphics/flasm/Makefile head/graphics/flasm/files/patch-unflasm.c Modified: head/graphics/flasm/Makefile ============================================================================== --- head/graphics/flasm/Makefile Tue Mar 18 07:42:43 2014 (r348517) +++ head/graphics/flasm/Makefile Tue Mar 18 07:46:07 2014 (r348518) @@ -11,13 +11,14 @@ DISTNAME= flasm16src MAINTAINER= kuriyama@FreeBSD.org COMMENT= Command line assembler/disassembler of flash actionscript bytecode -PLIST_FILES= bin/flasm USES= bison dos2unix gmake zip -NO_WRKSUBDIR= YES +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/flasm + MAKE_ARGS= CFLAGS="${CFLAGS}" -NO_STAGE= yes do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/flasm ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/flasm ${STAGEDIR}${PREFIX}/bin .include Added: head/graphics/flasm/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/flasm/files/patch-Makefile Tue Mar 18 07:46:07 2014 (r348518) @@ -0,0 +1,10 @@ +--- ./Makefile.orig 2014-03-18 08:44:13.925827724 +0100 ++++ ./Makefile 2014-03-18 08:44:31.479832342 +0100 +@@ -1,6 +1,5 @@ + UNAME = $(shell uname) +-CC = gcc +-CFLAGS = -g -Wall -O2 ++CC ?= gcc + LIBS = -lz + OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o + GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core Modified: head/graphics/flasm/files/patch-unflasm.c ============================================================================== --- head/graphics/flasm/files/patch-unflasm.c Tue Mar 18 07:42:43 2014 (r348517) +++ head/graphics/flasm/files/patch-unflasm.c Tue Mar 18 07:46:07 2014 (r348518) @@ -1,5 +1,5 @@ ---- unflasm.c.orig 2007-06-10 03:40:47.000000000 +0900 -+++ unflasm.c 2010-07-22 12:09:29.000000000 +0900 +--- ./unflasm.c.orig 2014-03-18 08:44:06.055828097 +0100 ++++ ./unflasm.c 2014-03-18 08:44:06.060828422 +0100 @@ -1012,29 +1012,11 @@ }