diff options
author | ak <ak@FreeBSD.org> | 2012-06-02 19:07:41 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-06-02 19:07:41 +0800 |
commit | 6c27ab3b33c6f2d6fa93ec44369b582207497be6 (patch) | |
tree | 591317ff83c5d9a30759ee313681dd1eefc60f5c /games | |
parent | 5605c5e4c4961b8b9131109ddb46352823ae63a9 (diff) | |
download | freebsd-ports-gnome-6c27ab3b33c6f2d6fa93ec44369b582207497be6.tar.gz freebsd-ports-gnome-6c27ab3b33c6f2d6fa93ec44369b582207497be6.tar.zst freebsd-ports-gnome-6c27ab3b33c6f2d6fa93ec44369b582207497be6.zip |
- Fix error when running from read-only fs
Approved by: eadler, itetcu (mentors, implicit)
Diffstat (limited to 'games')
-rw-r--r-- | games/evilfinder/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/evilfinder/Makefile b/games/evilfinder/Makefile index e363ef1a7bd7..096209bcf476 100644 --- a/games/evilfinder/Makefile +++ b/games/evilfinder/Makefile @@ -7,7 +7,7 @@ PORTNAME= evilfinder PORTVERSION= 1.00 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://lcamtuf.coredump.cx/ DISTNAME= ef @@ -32,10 +32,12 @@ PLIST_SUB+= WRAPPER="@comment " post-patch: @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|evilnumbers.dat|${DATADIR}/evilnumbers.dat|; \ + s|.tmp-%d-%u|/tmp/.tmp-%d-%u|; \ s|./shuffle|${PREFIX}/libexec/ef-shuffle|" \ ${WRKSRC}/ef.c .if !defined(WITHOUT_WRAPPER) @${SED} -e "s|%%PREFIX%%|${PREFIX}|; \ + s|/dev/stdin|-stdin|; \ s|%%LOCALBASE%%|${LOCALBASE}|" \ ${FILESDIR}/evilfinder > ${WRKSRC}/evilfinder .endif |