Date: Tue, 19 Jul 2005 12:45:37 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83733: [MAINTAINER UPDATE] games/viruskiller: Respect DATADIR and DOCSDIR variables Message-ID: <1121787937.0@phobos.mars.bsd> Resent-Message-ID: <200507191550.j6JFoHWI033348@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83733 >Category: ports >Synopsis: [MAINTAINER UPDATE] games/viruskiller: Respect DATADIR and DOCSDIR variables >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 15:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: Respect DATADIR and DOCSDIR variables instead of using their actual values directly. >How-To-Repeat: >Fix: --- viruskiller.diff begins here --- diff -urN viruskiller.old/Makefile viruskiller/Makefile --- viruskiller.old/Makefile Tue Jul 19 12:35:25 2005 +++ viruskiller/Makefile Tue Jul 19 12:39:10 2005 @@ -26,7 +26,9 @@ post-patch: # Fix Makefile - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ + @${REINPLACE_CMD} -e 's|$$(PREFIX)/share/$$(PROG)|${DATADIR}| ; \ + s|$$(PREFIX)/share/doc/$$(PROG)|${DOCSDIR}| ; \ + s|sdl-config|${SDL_CONFIG}| ; \ s|\(-Wall\)|${CFLAGS} \1|' \ ${WRKSRC}/${MAKEFILE} --- viruskiller.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121787937.0>