Date: Thu, 19 Sep 2013 16:52:40 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327643 - head/dns/ddns/files Message-ID: <201309191652.r8JGqeK3092336@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Thu Sep 19 16:52:40 2013 New Revision: 327643 URL: http://svnweb.freebsd.org/changeset/ports/327643 Log: dns/ddns: fix build without gcc - Fix build without gcc PR: ports/182226 Submitted by: Natacha Porté <natbsd instinctive.eu> (maintainer) Added: head/dns/ddns/files/patch-BSDmakefile (contents, props changed) Added: head/dns/ddns/files/patch-BSDmakefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/ddns/files/patch-BSDmakefile Thu Sep 19 16:52:40 2013 (r327643) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191652.r8JGqeK3092336>