svn commit: r429300 - head/games/openbor
Jan Beich
jbeich at FreeBSD.org
Sat Dec 24 00:46:36 UTC 2016
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:
More information about the svn-ports-head
mailing list