- Fix build in HEAD (unknown clang option -R)

- Convert USE_BZIP to USES
This commit is contained in:
Dmitry Marakasov 2014-04-04 10:13:00 +00:00
parent 929fabc9bd
commit 4255a740dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350086

View file

@ -7,12 +7,12 @@ PORTREVISION= 7
CATEGORIES= games CATEGORIES= games
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ MASTER_SITES= http://mirror.amdmi3.ru/distfiles/
# SF/brikx/Brikx/${PORTVERSION} # SF/brikx/Brikx/${PORTVERSION}
EXTRACT_SUFX= -src.tar.bz2 DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game - remove all tiles from the table COMMENT= Puzzle game - remove all tiles from the table
USE_BZIP2= yes USES= tar:bzip2
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
USE_SDL= sdl mixer image ttf USE_SDL= sdl mixer image ttf
@ -29,6 +29,7 @@ DESKTOP_ENTRIES="Brikx" \
false false
post-patch: post-patch:
@${REINPLACE_CMD} -e '/\/-L\/-R\// d' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/DIR_DATA/ s|data/|${DATADIR}/|' \ @${REINPLACE_CMD} -e '/DIR_DATA/ s|data/|${DATADIR}/|' \
${WRKSRC}/src/brikx.h ${WRKSRC}/src/brikx.h