diff options
author | ak <ak@FreeBSD.org> | 2012-08-06 06:14:38 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-08-06 06:14:38 +0800 |
commit | 7c72d290732f3513fbf918e2d1cf592d4530ddf6 (patch) | |
tree | 83fe739841069097297725da63dcbe20d5506dea /games/netrek-client-cow | |
parent | 484d3fe8d82d7b265d15401bc795a55701ebad13 (diff) | |
download | freebsd-ports-gnome-7c72d290732f3513fbf918e2d1cf592d4530ddf6.tar.gz freebsd-ports-gnome-7c72d290732f3513fbf918e2d1cf592d4530ddf6.tar.zst freebsd-ports-gnome-7c72d290732f3513fbf918e2d1cf592d4530ddf6.zip |
- Fix build with clang
PR: ports/169179
Submitted by: Kevin Zheng <kevinz5000@gmail.com> (maintainer)
Diffstat (limited to 'games/netrek-client-cow')
-rw-r--r-- | games/netrek-client-cow/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/games/netrek-client-cow/Makefile b/games/netrek-client-cow/Makefile index d0fcd0566506..036bccb7048f 100644 --- a/games/netrek-client-cow/Makefile +++ b/games/netrek-client-cow/Makefile @@ -25,6 +25,8 @@ CONFIGURE_ARGS+= NORSA='\#' post-patch: ${REINPLACE_CMD} -e 's|ushort damage|unsigned short damage|' \ ${WRKSRC}/short.c + ${REINPLACE_CMD} -e 's|inline void|void|' \ + ${WRKSRC}/local.[ch] ${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' \ ${WRKSRC}/x11sprite.c ${WRKSRC}/netrek-client-cow.desktop ${REINPLACE_CMD} -e 's|games|bin|' \ |