diff options
author | wg <wg@FreeBSD.org> | 2013-09-20 00:52:40 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-09-20 00:52:40 +0800 |
commit | 1101e8a060d1a118ab3339f4a34037c109b93e40 (patch) | |
tree | bc44e6a209525328b08611129b379a0fac83bfc0 /dns | |
parent | c21d3cf649084b84b51fb6ce0be3d708448dbe39 (diff) | |
download | freebsd-ports-gnome-1101e8a060d1a118ab3339f4a34037c109b93e40.tar.gz freebsd-ports-gnome-1101e8a060d1a118ab3339f4a34037c109b93e40.tar.zst freebsd-ports-gnome-1101e8a060d1a118ab3339f4a34037c109b93e40.zip |
dns/ddns: fix build without gcc
- Fix build without gcc
PR: ports/182226
Submitted by: Natacha Porté <natbsd instinctive.eu> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r-- | dns/ddns/files/patch-BSDmakefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dns/ddns/files/patch-BSDmakefile b/dns/ddns/files/patch-BSDmakefile new file mode 100644 index 000000000000..b2d34b0288b6 --- /dev/null +++ b/dns/ddns/files/patch-BSDmakefile @@ -0,0 +1,30 @@ +--- ./BSDmakefile.orig 2013-09-19 11:31:40.022802767 +0200 ++++ ./BSDmakefile 2013-09-19 11:32:24.482713883 +0200 +@@ -16,9 +16,9 @@ + + DEPDIR=depends + ALLDEPS=$(DEPDIR)/all +-CFLAGS=-c -g -O3 -Wall -Wextra -Werror -fno-builtin -std=c99 -pedantic -DHAVE_CONFIG_H +-LDFLAGS=-g -O3 -Wall -Wextra -Werror -fno-builtin -std=c99 -pedantic -DHAVE_CONFIG_H +-CC=gcc ++CFLAGS?=-g -O3 -Wall -Wextra -Werror -fno-builtin -std=c99 -pedantic -DHAVE_CONFIG_H ++LDFLAGS?=-g -O3 -Wall -Wextra -Werror -fno-builtin -std=c99 -pedantic -DHAVE_CONFIG_H ++CC?=gcc + + default: ddns-client ddns-server + +@@ -83,7 +83,7 @@ + @$(CC) -MM $(.IMPSRC) > $(DEPDIR)/$(.PREFIX).d + @grep -q "$(.PREFIX).d" $(ALLDEPS) \ + || echo ".include \"$(.PREFIX).d\"" >> $(ALLDEPS) +- $(CC) $(CFLAGS) -o $(.TARGET) $(.IMPSRC) ++ $(CC) $(CFLAGS) -c -o $(.TARGET) $(.IMPSRC) + + .m.o: + @mkdir -p $(DEPDIR) +@@ -91,4 +91,4 @@ + @$(CC) -MM $(.IMPSRC) > depends/$(.PREFIX).d + @grep -q "$(.PREFIX).d" $(ALLDEPS) \ + || echo ".include \"$(.PREFIX).d\"" >> $(ALLDEPS) +- $(CC) $(CFLAGS) -o $(.TARGET) $(.IMPSRC) ++ $(CC) $(CFLAGS) -c -o $(.TARGET) $(.IMPSRC) |