diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-26 12:48:37 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-06-26 12:48:37 +0000 |
| commit | b71d4f215b826b5d0d548b8b06fe1754d4442d39 (patch) | |
| tree | 1691ee7a777290d1f05f41a18adf87a660cb807b | |
| parent | b1aa7e69205ec279acd5fd30d2668696cb107844 (diff) | |
Notes
| -rw-r--r-- | devel/libCello/Makefile | 6 | ||||
| -rw-r--r-- | devel/libCello/files/patch-Makefile | 13 |
2 files changed, 17 insertions, 2 deletions
diff --git a/devel/libCello/Makefile b/devel/libCello/Makefile index ad0bed8ad2c1..17961d8a19f5 100644 --- a/devel/libCello/Makefile +++ b/devel/libCello/Makefile @@ -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 diff --git a/devel/libCello/files/patch-Makefile b/devel/libCello/files/patch-Makefile index 213298e179cc..d14b3eb49222 100644 --- a/devel/libCello/files/patch-Makefile +++ b/devel/libCello/files/patch-Makefile @@ -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 |
