aboutsummaryrefslogtreecommitdiffstats
path: root/games/bsdgames/Makefile
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-11-21 03:10:51 +0800
committerglewis <glewis@FreeBSD.org>2003-11-21 03:10:51 +0800
commita259da5aca802d00411d8fa5db238b58eb4fa156 (patch)
treec162b5d4386c755b24c6f020c02cd587586a4a11 /games/bsdgames/Makefile
parent9cb4490f8d54a104ca0d6791ea616bfcc84a2ce3 (diff)
downloadfreebsd-ports-gnome-a259da5aca802d00411d8fa5db238b58eb4fa156.tar.gz
freebsd-ports-gnome-a259da5aca802d00411d8fa5db238b58eb4fa156.tar.zst
freebsd-ports-gnome-a259da5aca802d00411d8fa5db238b58eb4fa156.zip
. Have hack look in the correct location for itself. Fixes the
"Can't get status of hack" error and exit. PR: 59443 Submitted by: Mark Laws <mdl@60hz.org>
Diffstat (limited to 'games/bsdgames/Makefile')
-rw-r--r--games/bsdgames/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index f650b681474e..a7eaf18c38a7 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -54,6 +54,8 @@ post-extract:
post-patch:
@${FIND} ${WRKSRC} -name '*.c' -or -name '*.h' -or -name '*.6' -or \
-name 'index' | ${XARGS} ${REINPLACE_CMD} -e \
- 's|share/games|local/share/games|g' \
+ 's|share/games|local/share/games|g'
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ "${WRKSRC}/hack/hack.unix.c"
.include <bsd.port.mk>