Date: Fri, 26 Jun 2015 12:48:38 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390631 - in head/devel/libCello: . files Message-ID: <201506261248.t5QCmcbA019307@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506261248.t5QCmcbA019307>