ports/83733: [MAINTAINER UPDATE] games/viruskiller: Respect DATADIR and DOCSDIR variables
Alejandro Pulver
alejandro at varnet.biz
Tue Jul 19 15:50:18 UTC 2005
>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:
More information about the freebsd-ports-bugs
mailing list