bzflag 1.10.2 is out (bugfix release)
Nuno Teixeira
nunotex at freeshell.org
Sat Dec 27 10:49:27 PST 2003
Hi Chuck,
Have you found the problem? I think that it is a new bugfix release
1.10.4 but I think there is no tarball available yet.
Did you try CVS sources to see if it solves the problem?
Thanks very much,
Nuno Teixeira
On Wed, Dec 24, 2003 at 11:53:53AM -0500, Chuck Swiger wrote:
> Hi, Tim--
>
> I am a FreeBSD porter responsible for supporting BZFlag, and Nuno is an
> enthusiatic fan of your game who is nudging me to update the port. :-)
>
> [ ... ]
> I've got the start of an update to the port, but the source tarball seems
> to have some auto-generated files not present-- ./configure fails working
> from the original sources. With mkdir and touch, I've worked around that:
>
> diff -duwrP bzflag_orig/Makefile bzflag/Makefile
> --- bzflag_orig/Makefile Mon Dec 22 18:19:26 2003
> +++ bzflag/Makefile Mon Dec 22 19:24:37 2003
> @@ -6,17 +6,15 @@
>
> PORTNAME= bzflag
> -PORTVERSION= 1.10.0
> +PORTVERSION= 1.10.2
> CATEGORIES= games
> MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
> MASTER_SITE_SUBDIR= ${PORTNAME}
> -DISTNAME= ${PORTNAME}-${PORTVERSION:R}.20031209
> +DISTNAME= ${PORTNAME}-${PORTVERSION}.20031221
>
> MAINTAINER= chuck at pkix.net
> COMMENT= A multiplayer 3D tank battle game
>
> -WRKSRC= ${WRKDIR}/${PORTNAME}-1.9.10.20031209
> -
> USE_GL= yes
> USE_REINPLACE= yes
> USE_GMAKE= yes
> @@ -30,5 +28,11 @@
> post-patch:
> @${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \
> s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in
> + @${MKDIR} ${WRKSRC}/src/platform/MacOSX/BZFlag.pbproj
> + @${MKDIR} ${WRKSRC}/src/platform/MacOSX/English.lproj/MainMenu.nib
> + @${TOUCH} ${WRKSRC}/src/platform/MacOSX/Makefile.in
> + @${TOUCH} ${WRKSRC}/src/platform/MacOSX/BZFlag.pbproj/Makefile.in
> + @${TOUCH} ${WRKSRC}/src/platform/MacOSX/English.lproj/Makefile.in
> + @${TOUCH}
> ${WRKSRC}/src/platform/MacOSX/English.lproj/MainMenu.nib/Makefile.in
>
> .include <bsd.port.mk>
> diff -duwrP bzflag_orig/distinfo bzflag/distinfo
> --- bzflag_orig/distinfo Mon Dec 22 18:19:26 2003
> +++ bzflag/distinfo Mon Dec 22 18:27:40 2003
> @@ -1 +1 @@
> -MD5 (bzflag-1.10.20031209.tar.gz) = 2dd502bfdee96b9d5055ea3125a4b95a
> +MD5 (bzflag-1.10.2.20031221.tar.gz) = 2b90a11ea72f358b181da2e2107664ee
>
> Only in bzflag_orig/files: patch-src::bzadmin::CursesUI.cxx
> Only in bzflag_orig/files: patch-src::bzflag::Makefile.in
>
> ========
>
> However, there is a second issue involving some autoconf-fu with the
> Makefile install targets:
>
> transform = @program_transform_name@
>
> ...that line gets turned into a sed script containing configure's
> target-triplet, which causes the programs and manpages to be installed
> as (for example) "i386-portbld-freebsd4.9-bzfrelay" rather than
> "bzfrelay".
>
> Something like the following works:
>
> --- bzflag_orig/files/patch-man::Makefile.in Wed Dec 31 19:00:00 1969
> +++ bzflag/files/patch-man::Makefile.in Mon Dec 22 19:53:18 2003
> @@ -0,0 +1,11 @@
> +--- man/Makefile.in_orig Mon Dec 22 19:42:24 2003
> ++++ man/Makefile.in Mon Dec 22 19:43:02 2003
> +@@ -145,7 +145,7 @@
> + esac; \
> + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
> + inst=`echo $$inst | sed -e 's/^.*\///'`; \
> +- inst=`echo $$inst | sed '$(transform)'`.$$ext; \
> ++ inst=`echo $$inst`.$$ext; \
> + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \
> + $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \
> + done
> +
> ...but maybe someone else can figure out how to turn this re-writing off
> globally, rather than patching individual Makefiles...?
>
--
nunotex at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the freebsd-ports
mailing list