Date: Sun, 6 Jan 2013 02:34:22 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/175042: games/wmtictactoe: Fix build with clang Message-ID: <20130106023422.b7b800dfa70fc2c45abc31f5@yahoo.com> Resent-Message-ID: <201301051810.r05IABYj001736@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175042 >Category: ports >Synopsis: games/wmtictactoe: Fix build with clang >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: Sat Jan 05 18:10:11 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Fix build with clang >How-To-Repeat: >Fix: diff -urN /usr/ports/games/wmtictactoe/Makefile games/wmtictactoe/Makefile --- /usr/ports/games/wmtictactoe/Makefile 2012-11-08 07:34:47.000000000 +0900 +++ games/wmtictactoe/Makefile 2013-01-02 02:46:39.000000000 +0900 @@ -1,27 +1,28 @@ -# New ports collection makefile for: wmtictactoe -# Date created: 28 Apr 1999 -# Whom: Jim Mock <jim@FreeBSD.org> -# +# Created by: Jim Mock <jim@FreeBSD.org> # $FreeBSD: head/games/wmtictactoe/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= wmtictactoe PORTVERSION= 1.1 PORTREVISION= 3 CATEGORIES= games windowmaker afterstep -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= jim -DISTNAME= wmtictactoe-1.1-1 +MASTER_SITES= LOCAL/jim +DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MAINTAINER= ports@FreeBSD.org -COMMENT= A dockable TicTacToe game for WindowMaker and AfterStep +COMMENT= Dockable TicTacToe game for WindowMaker and AfterStep -PLIST_FILES= bin/wmtictactoe -USE_GMAKE= yes WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe + USE_XORG= xpm +USE_GMAKE= yes + +PLIST_FILES= bin/wmtictactoe + +post-patch: + @${REINPLACE_CMD} -e \ + 's|^void .*main|int main|' ${WRKSRC}/wmtictactoe.c post-install: - @${ECHO} "===> Run 'wmtictactoe --help' for the available options" + @${ECHO_MSG} "===> Run 'wmtictactoe --help' for the available options" .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130106023422.b7b800dfa70fc2c45abc31f5>