diff options
author | az <az@FreeBSD.org> | 2007-07-05 02:17:56 +0800 |
---|---|---|
committer | az <az@FreeBSD.org> | 2007-07-05 02:17:56 +0800 |
commit | 2bf866422d84ca32b4ac7cc9fdaffb6939d9abd3 (patch) | |
tree | 41802c9c158a068eccc783d26708f86fe66eb488 /games | |
parent | 0641565fce06042999d82152f05b9c68b5ff1051 (diff) | |
download | freebsd-ports-gnome-2bf866422d84ca32b4ac7cc9fdaffb6939d9abd3.tar.gz freebsd-ports-gnome-2bf866422d84ca32b4ac7cc9fdaffb6939d9abd3.tar.zst freebsd-ports-gnome-2bf866422d84ca32b4ac7cc9fdaffb6939d9abd3.zip |
- Fix build with gcc 4.2
Pointed by: pav@ via pointyhat robot
Diffstat (limited to 'games')
-rw-r--r-- | games/qnetchess/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/qnetchess/Makefile b/games/qnetchess/Makefile index d7fe34f23515..7e23c0a45eea 100644 --- a/games/qnetchess/Makefile +++ b/games/qnetchess/Makefile @@ -25,6 +25,10 @@ MAKE_ARGS+= LOCALE_FILE="${LOCALE_FILE}" QTDIR="${QT_PREFIX}" PLIST_FILES= bin/QNetChess %%DATADIR%%/${PORTNAME}_ru.qm PLIST_DIRS= %%DATADIR%% +post-patch: + ${REINPLACE_CMD} -e 's|static char|static const char|' \ + ${WRKSRC}/xpm/* + do-install: ${MKDIR} ${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/QNetChess ${PREFIX}/bin |