From owner-svn-ports-all@freebsd.org Fri Jun 26 12:48:38 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2B8B98C0D7; Fri, 26 Jun 2015 12:48:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B73471889; Fri, 26 Jun 2015 12:48:38 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5QCmcH1019309; Fri, 26 Jun 2015 12:48:38 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5QCmcbA019307; Fri, 26 Jun 2015 12:48:38 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201506261248.t5QCmcbA019307@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 26 Jun 2015 12:48:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390631 - in head/devel/libCello: . 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.20 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: Fri, 26 Jun 2015 12:48:39 -0000 Author: amdmi3 Date: Fri Jun 26 12:48:37 2015 New Revision: 390631 URL: https://svnweb.freebsd.org/changeset/ports/390631 Log: - Add missing dependency on execinfo and respect {c,ld}flags to fix build on 9.x Submitted by: pkg-fallout Approved by: portmgr blanket Modified: head/devel/libCello/Makefile head/devel/libCello/files/patch-Makefile Modified: head/devel/libCello/Makefile ============================================================================== --- head/devel/libCello/Makefile Fri Jun 26 12:43:32 2015 (r390630) +++ head/devel/libCello/Makefile Fri Jun 26 12:48:37 2015 (r390631) @@ -3,6 +3,7 @@ PORTNAME= libCello PORTVERSION= 1.1.7 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://libcello.org/static/ @@ -10,10 +11,13 @@ MAINTAINER= matthew.closson@gmail.com COMMENT= Higher level programming in C LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= dos2unix gmake +USES= dos2unix execinfo gmake DOS2UNIX_FILES= Makefile +CFLAGS+= ${EXECINFO_CPPFLAGS} + post-patch: ${REINPLACE_CMD} -E 's| abs\(| labs\(|' ${WRKSRC}/src/*.c Modified: head/devel/libCello/files/patch-Makefile ============================================================================== --- head/devel/libCello/files/patch-Makefile Fri Jun 26 12:43:32 2015 (r390630) +++ head/devel/libCello/files/patch-Makefile Fri Jun 26 12:48:37 2015 (r390631) @@ -1,5 +1,16 @@ ---- Makefile.orig 2015-03-10 20:42:37 UTC +--- Makefile.orig 2015-06-25 22:20:28 UTC +++ Makefile +@@ -18,8 +18,8 @@ DEMOS := $(wildcard demos/*.c) + DEMOS_OBJ := $(addprefix obj/,$(notdir $(DEMOS:.c=.o))) + DEMOS_EXE := $(DEMOS:.c=) + +-CFLAGS = -I ./include -std=gnu99 -Wall -Werror -Wno-unused -O3 -g +-LFLAGS = -shared -g -ggdb ++CFLAGS += -I ./include -std=gnu99 -Wall -Werror -Wno-unused ++LFLAGS = ${LDFLAGS} -shared + + PLATFORM := $(shell uname) + COMPILER := $(shell $(CC) -v 2>&1 ) @@ -42,8 +42,8 @@ else CFLAGS += -fPIC