Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 21:12:02 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365052 - head/games/hoichess
Message-ID:  <201408152112.s7FLC2da006082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Aug 15 21:12:02 2014
New Revision: 365052
URL: http://svnweb.freebsd.org/changeset/ports/365052
QAT: https://qat.redports.org/buildarchive/r365052/

Log:
  Fix build on -current.

Modified:
  head/games/hoichess/Makefile

Modified: head/games/hoichess/Makefile
==============================================================================
--- head/games/hoichess/Makefile	Fri Aug 15 21:11:53 2014	(r365051)
+++ head/games/hoichess/Makefile	Fri Aug 15 21:12:02 2014	(r365052)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408152112.s7FLC2da006082>