diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-16 05:12:02 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-16 05:12:02 +0800 |
commit | c9aa10175cc41946bb0e7ae6c9dba262fcd5c60d (patch) | |
tree | fd21f924796888ba6269c9696380d92ff8972df5 /games | |
parent | 5d1734abaee1adda46dcc873c9e63dc62ac373d7 (diff) | |
download | freebsd-ports-gnome-c9aa10175cc41946bb0e7ae6c9dba262fcd5c60d.tar.gz freebsd-ports-gnome-c9aa10175cc41946bb0e7ae6c9dba262fcd5c60d.tar.zst freebsd-ports-gnome-c9aa10175cc41946bb0e7ae6c9dba262fcd5c60d.zip |
Fix build on -current.
Diffstat (limited to 'games')
-rw-r--r-- | games/hoichess/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/hoichess/Makefile b/games/hoichess/Makefile index 8f3d4df519c8..e667ea93da7b 100644 --- a/games/hoichess/Makefile +++ b/games/hoichess/Makefile @@ -20,10 +20,12 @@ OPTIONS_DEFINE= DOCS post-patch: @${RM} ${WRKSRC}/src/lib/getopt.h @${REINPLACE_CMD} -e '1,/^LDFLAG/d' ${WRKSRC}/src/Makefile.config - @${ECHO} 'INSTALL = ${INSTALL}' >> ${WRKSRC}/src/Makefile.config + @${ECHO_CMD} 'INSTALL = ${INSTALL}' >> ${WRKSRC}/src/Makefile.config + @${ECHO_CMD} 'CXXFLAGS += $${CPPFLAGS}' >> ${WRKSRC}/src/Makefile.config @${REINPLACE_CMD} -Ee '/INSTALL|install/s/ -D / /' \ ${WRKSRC}/src/Makefile ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '1,/^####/d' ${WRKSRC}/src/Makefile + @${ECHO_CMD} 'LIBPATH = ${LDFLAGS}' >> ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -e '/^prefix/s|= .*|= ${STAGEDIR}$${PREFIX}|' \ -e '/bindir/s/games/bin/; /mandir/s/share//' ${WRKSRC}/Makefile |