- Fix build with newer clang

This commit is contained in:
Danilo Egea Gondolfo 2014-03-29 14:01:55 +00:00
parent 95af41b8f2
commit cb46ec5b88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349511

View File

@ -10,11 +10,16 @@ MASTER_SITES= http://bzflag.bz/~erik/files/ \
MAINTAINER= danilo@FreeBSD.org
COMMENT= Utility to display files or streams in random order
LICENSE= GPLv2
USES= gmake
GNU_CONFIGURE= yes
PLIST_FILES= bin/rand man/man1/rand.1.gz
post-patch:
@${REINPLACE_CMD} -e 's|}-R|}-L|g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/rand ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/rand.1 ${STAGEDIR}${MANPREFIX}/man/man1