Date: Sat, 24 Dec 2016 00:46:35 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429300 - head/games/openbor Message-ID: <201612240046.uBO0kZJ6027779@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Dec 24 00:46:35 2016 New Revision: 429300 URL: https://svnweb.freebsd.org/changeset/ports/429300 Log: games/openbor: fix bogus but unused substitution --- version.sh.bak 2016-11-05 19:01:19 UTC +++ version.sh @@ -27,7 +27,7 @@ fi } # Support the Bazaar VCS as an alternative to SVN through the bzr-svn plugin -function get_revnum { +VERSION_BUILD=4420() { if test -d "../.svn" || test -d "./.svn"; then VERSION_BUILD=`svn info | grep "Last Changed Rev" | sed s/Last\ Changed\ Rev:\ //g` elif test -d ".bzr"; then Modified: head/games/openbor/Makefile (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Sat Dec 24 00:37:19 2016 (r429299) +++ head/games/openbor/Makefile Sat Dec 24 00:46:35 2016 (r429300) @@ -95,7 +95,7 @@ post-patch: @${GREP} -Flr 'malloc.h' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ 's,malloc\.h,stdlib.h,' @${REINPLACE_CMD} -e 's/^function \(.*\) {/\1() {/' \ - -e 's/^get_revnum/VERSION_BUILD=${SVN_REV}/' \ + -e 's/^get_revnum$$/VERSION_BUILD=${SVN_REV}/' \ ${WRKSRC}/version.sh do-configure:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612240046.uBO0kZJ6027779>