svn commit: r258084 - head/usr.bin/svn/svn

Glen Barber gjb at FreeBSD.org
Wed Nov 13 05:25:49 UTC 2013


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 <bsd.prog.mk>


More information about the svn-src-head mailing list