From owner-svn-ports-head@FreeBSD.ORG Thu Sep 19 16:52:40 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E60BB9A6; Thu, 19 Sep 2013 16:52:40 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D3A642AE0; Thu, 19 Sep 2013 16:52:40 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JGqeYn092338; Thu, 19 Sep 2013 16:52:40 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8JGqeK3092336; Thu, 19 Sep 2013 16:52:40 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201309191652.r8JGqeK3092336@svn.freebsd.org> From: William Grzybowski Date: Thu, 19 Sep 2013 16:52:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327643 - head/dns/ddns/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 16:52:41 -0000 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é (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)