Summary: | games/wmshuffle: Fix build with clang | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tkato432 | ||||
Component: | Individual Port(s) | Assignee: | Martin Wilke <miwi> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
tkato432
2013-01-05 18:10:09 UTC
Responsible Changed From-To: freebsd-ports-bugs->araujo I'll take it. State Changed From-To: open->closed Responsible Changed From-To: araujo->miwi committed Author: miwi Date: Thu Feb 7 14:48:17 2013 New Revision: 311858 URL: http://svnweb.freebsd.org/changeset/ports/311858 Log: - Fix build with clang - Support PLIST_FILES - Trim header PR: 175035 Submitted by: ports fury Modified: head/games/wmtictactoe/Makefile (contents, props changed) Modified: head/games/wmtictactoe/Makefile ============================================================================== --- head/games/wmtictactoe/Makefile Thu Feb 7 14:46:35 2013 (r311857) +++ head/games/wmtictactoe/Makefile Thu Feb 7 14:48:17 2013 (r311858) @@ -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$ -# 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> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" |