Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2002 16:18:56 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        Christer Gundersen <dtun3z@online.no>
Cc:        ports <ports@FreeBSD.org>
Subject:   Re: 0verkill
Message-ID:  <3DF75760.1010802@liwing.de>
References:  <1039601344.230.1.camel@funshine.carebears.net>	 <3DF744C6.6040709@liwing.de> <1039612379.14354.1.camel@funshine.carebears.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Christer Gundersen wrote:
 > On ons, 2002-12-11 at 14:59, Jens Rehsack wrote:
 >
 >>Christer Gundersen wrote:
 >>
 >>>hi!
 >>>
 >>>i found a error in this port.
 >>>
 >>>It compiles without any problems on my FreeBSD 4.7, but i`m having
 >>>troble running it.
 >>>
 >>>When starting 0verkil, 0verkill wants the file
 >>>/usr/local/share/0verkill/datasprites.dat, but there are no such.
 >>>The file that 0verkill REALLY wants is
 >>>/usr/local/share/0verkill/data/sprites.dat
 >>>
 >>>just a typo somewhere i guess.
 >>>
 >>>
 >>
 >>Hi Christer,
 >>
 >>is it possible for you to send just a little bit more information, eg.
 >>"uname -a" output, where to find Overkill ('cause my system didn't know
 >>anything 'bout a port named [Oo]verkill)
 >>
 >>It would also helpful seeing the error message.
 >>
 >>Jens
 >
 >
 > ofcurse, here it comes:
 > $ uname -a
 > FreeBSD funshine.carebears.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #3:
 > Fri Dec  6 00:05:58 GMT 2002
 > root@funshine.carebears.net:/usr/src/sys/compile/FUNSHINE  i386
 >
 > cd /usr/ports/games/0verkill
 > (make install procedure, works nice.)
 >
 > $ 0verkill
 > Can't open file "/usr/local/share/0verkill/datasprites.dat"!
 >

Here's a patch that should help you. Would you please be so kind and
submit a PR, because I do not have the time to do it. Please set me to "CC".

Jens

----- BEGIN Makefile.patch ----
--- Makefile.orig       Wed Dec 11 16:14:13 2002
+++ Makefile    Wed Dec 11 16:14:25 2002
@@ -33,7 +33,7 @@
   .endif

   post-patch:
-       @${REINPLACE_CMD} -e 's|data/|${DATADIR}/data|g' ${WRKSRC}/cfg.h
+       @${REINPLACE_CMD} -e 's|data/|${DATADIR}/data/|g' ${WRKSRC}/cfg.h
          @${REINPLACE_CMD} -e 's|grx/|${DATADIR}/grx/|g'
${WRKSRC}/data/sprites.dat
          @${REINPLACE_CMD} -e 's|-O3 ||g ; \
                   s|gcc |\$$\(CC\) |g' ${WRKSRC}/Makefile.in
----- END Makefile.patch ----
-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                    gggg    06112 Halle
                                       g
                                   g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DF75760.1010802>