diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-15 21:12:02 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-15 21:12:02 +0000 |
commit | 57582e8278affe109364fcb20e808c740126b9af (patch) | |
tree | fd21f924796888ba6269c9696380d92ff8972df5 /games | |
parent | e412bbb36a9c2b9d0b967ce2b70735a3bc07d621 (diff) | |
download | ports-57582e8278affe109364fcb20e808c740126b9af.tar.gz ports-57582e8278affe109364fcb20e808c740126b9af.zip |
Notes
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 |