1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- eroaster fails to run due to the use of 'whrandom' in the application's

gnometools.py.  whrandom has been deprecated in favor of random.  This patch
  simply uses a REINPLACE_CMD to replace whrandom with random.

PR:		ports/117793
Submitted by:	Chess Griffin <chess@chessgriffin.com>
Approved by:	maintainer timeout (1 month)
This commit is contained in:
Pav Lucistnik 2007-12-14 20:33:21 +00:00
parent 836c324dbc
commit f2570d4f04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203630

View File

@ -7,7 +7,7 @@
PORTNAME= eroaster
PORTVERSION= 2.2.0.0.6
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= eroaster
@ -41,5 +41,7 @@ post-patch::
@cd ${WRKSRC} && ${RM} process.py.orig
@${REINPLACE_CMD} -e 's|share/applets/Utility|share/gnome/apps/Utilities|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's| --activate-goad-server=eroaster||' ${WRKSRC}/eroaster.desktop
@${REINPLACE_CMD} -e 's|whrandom|random|' ${WRKSRC}/gnometools.py
@${RM} ${WRKSRC}/gnometools.py.bak
.include <bsd.port.mk>