From owner-svn-src-all@FreeBSD.ORG Wed Nov 13 05:25:49 2013 Return-Path: Delivered-To: svn-src-all@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 ESMTPS id C30D8BAC; Wed, 13 Nov 2013 05:25:49 +0000 (UTC) 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 B34D323FF; Wed, 13 Nov 2013 05:25:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAD5PncN075353; Wed, 13 Nov 2013 05:25:49 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAD5PnBS075352; Wed, 13 Nov 2013 05:25:49 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201311130525.rAD5PnBS075352@svn.freebsd.org> From: Glen Barber Date: Wed, 13 Nov 2013 05:25:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258084 - head/usr.bin/svn/svn X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 05:25:49 -0000 Author: gjb Date: Wed Nov 13 05:25:49 2013 New Revision: 258084 URL: http://svnweb.freebsd.org/changeset/base/258084 Log: Somewhat mimic how the devel/subversion port prepopulates 'Sponsored by:' in the FreeBSD commit template. Support for this has already existed ^/head/contrib/subversion but it was not enabled in usr.bin/svn/svn/Makefile. To use the pre-populated 'Sponsored by:' entry, set ORGANIZATION in make.conf(5), for example: ORGANIZATION= "The FreeBSD Foundation" Reviewed by: peter Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/svn/svn/Makefile Modified: head/usr.bin/svn/svn/Makefile ============================================================================== --- head/usr.bin/svn/svn/Makefile Wed Nov 13 05:22:39 2013 (r258083) +++ head/usr.bin/svn/svn/Makefile Wed Nov 13 05:25:49 2013 (r258084) @@ -53,4 +53,13 @@ DPADD= ${LIBSVN_CLIENT} ${LIBSVN_WC} ${L ${LIBBSDXML} ${LIBAPR} ${LIBSQLITE} ${LIBZ} ${LIBCRYPT} ${LIBMAGIC} \ ${LIBCRYPTO} ${LIBSSL} ${LIBPTHREAD} +.if(defined(ORGANIZATION) && !empty(ORGANIZATION)) +DPSRCS+= freebsd-organization.h +CLEANFILES+= freebsd-organization.h +CFLAGS+= -I. -DHAS_ORGANIZATION_NAME +freebsd-organization.h: + @echo '#define ORGANIZATION_NAME ${ORGANIZATION}' \ + > freebsd-organization.h +.endif + .include