diff options
author | bapt <bapt@FreeBSD.org> | 2011-06-21 00:58:07 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2011-06-21 00:58:07 +0800 |
commit | 01731788c6af385c6b0ff77413d1e8787bb1f24b (patch) | |
tree | 2e5bd69fb7c16f5b56462fd7686dcca4ae3aa0fb /devel/libcli | |
parent | 0b1375609aa47a1c69e13943018b75bfd658399a (diff) | |
download | freebsd-ports-gnome-01731788c6af385c6b0ff77413d1e8787bb1f24b.tar.gz freebsd-ports-gnome-01731788c6af385c6b0ff77413d1e8787bb1f24b.tar.zst freebsd-ports-gnome-01731788c6af385c6b0ff77413d1e8787bb1f24b.zip |
Fix build with clang
Diffstat (limited to 'devel/libcli')
-rw-r--r-- | devel/libcli/files/patch-Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/libcli/files/patch-Makefile b/devel/libcli/files/patch-Makefile index 099dab36e1b7..7b4683465af8 100644 --- a/devel/libcli/files/patch-Makefile +++ b/devel/libcli/files/patch-Makefile @@ -1,12 +1,14 @@ --- ./Makefile.orig 2011-05-04 04:52:15.000000000 +0200 -+++ ./Makefile 2011-05-04 06:51:14.794591784 +0200 -@@ -8,16 +8,14 @@ ++++ ./Makefile 2011-06-20 18:57:17.703992054 +0200 +@@ -7,17 +7,15 @@ + REVISION = 5 LIB = libcli.so - CC = gcc +-CC = gcc -DEBUG = -g -OPTIM = -O3 -CFLAGS += $(DEBUG) $(OPTIM) -Wall -Wformat-security -Wno-format-zero-length ++CC ?= gcc +CFLAGS += -Wall -Wformat-security -Wno-format-zero-length LDFLAGS += -shared LIBPATH += -L. |