Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2013 03:21:21 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/177552: games/xevil: Fix build
Message-ID:  <20130402032121.7ec635163c21c435fe498fa2@yahoo.com>
Resent-Message-ID: <201304011840.r31Ie15l029611@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177552
>Category:       ports
>Synopsis:       games/xevil: Fix build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 01 18:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/xevil/Makefile games/xevil/Makefile
--- /usr/ports/games/xevil/Makefile	2013-02-24 00:27:00.000000000 +0900
+++ games/xevil/Makefile	2013-03-31 01:29:17.000000000 +0900
@@ -10,7 +10,7 @@
 DISTNAME=	${PORTNAME}src${PORTVERSION:S/.r/r/}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A fast-action, networked, anti-social, kill-everything game
+COMMENT=	Fast-action, networked, anti-social, kill-everything game
 
 LICENSE=	GPLv2
 
@@ -18,13 +18,11 @@
 
 NO_WRKSUBDIR=yes
 
-BROKEN=		does not build
-
 USE_ZIP=	yes
 USE_XORG=	xpm
 USE_DOS2UNIX=	*.cpp *.h config.mk makefile
 MAKEFILE=	makefile
-MAKE_ARGS=	DEPTH="${WKRSRC}"
+MAKE_ARGS=	DEPTH="${WRKSRC}"
 ALL_TARGET=	${OPSYS:L}
 MAKE_JOBS_SAFE=	yes
 
@@ -33,14 +31,14 @@
 
 .include <bsd.port.options.mk>
 
-port-patch:
+post-patch:
 	@${FIND} ${WRKSRC} -name "*.xpm" | ${XARGS} ${REINPLACE_CMD} -e \
 		's|^static char|static const char|'
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/x11/${OPSYS:U}/${PORTNAME} ${PREFIX}/bin
 .if ${PORT_OPTIONS:MDOCS}
-	@{MKDIR} ${DOCSDIR}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
 	@${MKDIR} ${DOCSDIR}/instructions
 	${INSTALL_DATA} ${WRKSRC}/instructions/* ${DOCSDIR}/instructions
>Release-Note:
>Audit-Trail:
>Unformatted:



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