diff options
author | wg <wg@FreeBSD.org> | 2013-10-26 20:46:37 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-26 20:46:37 +0800 |
commit | 0fadf5e01034d799b3d8afe81142875f345b1a28 (patch) | |
tree | a120b8ed5a27566b048c3b7c8ad5098ae496fd56 /games | |
parent | 6deaac33bae46c0be8ce424ffc5c4dc95046dd3e (diff) | |
download | freebsd-ports-gnome-0fadf5e01034d799b3d8afe81142875f345b1a28.tar.gz freebsd-ports-gnome-0fadf5e01034d799b3d8afe81142875f345b1a28.tar.zst freebsd-ports-gnome-0fadf5e01034d799b3d8afe81142875f345b1a28.zip |
games/xdeblock: fix build with clang
- Fix build with clang
- Allow staging [1]
PR: ports/182797
Submitted by: KATO Tsuguru <tkato432 yahoo.com> [1]
Diffstat (limited to 'games')
-rw-r--r-- | games/xdeblock/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile index df2c83af94bc..ff4f2fe501f6 100644 --- a/games/xdeblock/Makefile +++ b/games/xdeblock/Makefile @@ -16,15 +16,16 @@ WRKSRC= ${WRKDIR}/xdeblo_v1.0 USES= imake USE_XORG= xpm NO_INSTALL_MANPAGES= yes +CFLAGS+= -Wno-return-type -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin - @${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf - ${CHMOD} 777 ${PREFIX}/lib/X11/xdeblock/mapf - ${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf + (cd ${WRKSRC} && ${INSTALL_PROGRAM} xdeblo ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf + ${CHMOD} 777 ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf + (cd ${WRKSRC}/mapf && ${INSTALL_DATA} *.txt \ + ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf) .include <bsd.port.mk> |