Date: Wed, 30 Jan 2013 22:20:55 GMT From: Denis Generalov <gd@rambler-co.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175715: games/warzone2100 build error Message-ID: <201301302220.r0UMKtw8099925@red.freebsd.org> Resent-Message-ID: <201301302230.r0UMU1ud040931@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175715 >Category: ports >Synopsis: games/warzone2100 build error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 30 22:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Denis Generalov >Release: FreeBSD 9.1-STABLE amd64 >Organization: Rambler >Environment: FreeBSD tyl.rambler.ramblermedia.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r244924: Tue Jan 1 21:05:19 MSK 2013 gd@tyl.rambler.ramblermedia.com:/tmp/gd/usr/src/sys/GENERIC amd64 >Description: When you try to compile games/warzone2100, you get an error: Making all in src gmake[2]: Entering directory `/tmp/gd/usr/ports/games/warzone2100/work/warzone2100-3.1.0/src' cd .. && ./build_tools/autorevision -t h -o /tmp/gd/usr/ports/games/warzone2100/work/warzone2100-3.1.0/src/autorevision.cache > /tmp/gd/usr/ports/games/warzone2100/work/warzone2100-3.1.0/src/autorevision.h.new ./build_tools/autorevision: not found gmake[2]: *** [autorevision.h] Error 127 gmake[2]: Leaving directory `/tmp/gd/usr/ports/games/warzone2100/work/warzone2100-3.1.0/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/gd/usr/ports/games/warzone2100/work/warzone2100-3.1.0' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/games/warzone2100. > >How-To-Repeat: >Fix: Patch attached with submission follows: Diff mode was set to CVS, but there's no CVS subdirectory Trying /usr/ports ... found ===> Generating patch ===> Viewing diff with more diff -ruN --exclude=CVS /usr/ports/games/warzone2100/Makefile ./Makefile --- /usr/ports/games/warzone2100/Makefile 2013-01-31 02:01:05.000000000 +0400 +++ ./Makefile 2013-01-31 02:04:43.000000000 +0400 @@ -14,7 +14,8 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ unzip:${PORTSDIR}/archivers/unzip \ - ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex + ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ + bash:${PORTSDIR}/shells/bash LIB_DEPENDS= physfs:${PORTSDIR}/devel/physfs \ png15:${PORTSDIR}/graphics/png \ vorbis:${PORTSDIR}/audio/libvorbis \ @@ -60,6 +61,8 @@ post-patch: @${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|g' \ + ${WRKSRC}/build_tools/autorevision .if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -Ee 's|install-dist_docDATA$$||' \ ${WRKSRC}/Makefile.in ===> Done >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301302220.r0UMKtw8099925>