- Fix build with clang

PR:		175042
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-02-07 14:46:35 +00:00
parent b2644687a1
commit 165adb350f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311857
2 changed files with 12 additions and 11 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: wmshuffle # Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# Date created: 15 May 2002
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= wmshuffle PORTNAME= wmshuffle
PORTVERSION= 0.6 PORTVERSION= 0.6
@ -13,10 +9,19 @@ MASTER_SITES= http://www.linuks.mine.nu/dockapp/ \
http://freebsd.nsu.ru/distfiles/ http://freebsd.nsu.ru/distfiles/
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= A dockable Shuffle game for WindowMaker and AfterStep COMMENT= Dockable Shuffle game for WindowMaker and AfterStep
USE_GMAKE= yes
USE_XORG= xpm USE_XORG= xpm
USE_GMAKE= yes
PLIST_FILES= bin/wmshuffle \
%%DATADIR%%/skin-feiticeira.xpm \
%%DATADIR%%/skin-lucyenne.xpm
PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e \
's|^void .*main|int main|' ${WRKSRC}/wmshuffle.c
post-install: post-install:
@${MKDIR} ${DATADIR} @${MKDIR} ${DATADIR}

View file

@ -1,4 +0,0 @@
bin/wmshuffle
%%DATADIR%%/skin-feiticeira.xpm
%%DATADIR%%/skin-lucyenne.xpm
@dirrm share/wmshuffle