Date: Tue, 6 Sep 2016 15:42:55 +0000 (UTC) From: Michael Landin <mich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421438 - head/games/braincurses Message-ID: <201609061542.u86FgtNt002767@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mich Date: Tue Sep 6 15:42:55 2016 New Revision: 421438 URL: https://svnweb.freebsd.org/changeset/ports/421438 Log: - Fix build error on 9x Reported by: pkg-fallout@ Modified: head/games/braincurses/Makefile Modified: head/games/braincurses/Makefile ============================================================================== --- head/games/braincurses/Makefile Tue Sep 6 15:36:49 2016 (r421437) +++ head/games/braincurses/Makefile Tue Sep 6 15:42:55 2016 (r421438) @@ -12,19 +12,21 @@ COMMENT= Clone of the Mastermind game LICENSE= GPLv2 USES= gmake ncurses +USE_CSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= bderrly -#LDFLAGS+= -L${LOCALBASE}/lib -lncurses +LDFLAGS+= -L${LOCALBASE}/lib -lncurses OPTIONS_DEFINE= DOCS -#do-build: -# cd ${WRKSRC} && \ -# ${CXX} -c -o main.o code.o braincurses.o && \ -# ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \ -# ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} windows/windows.o ${PORTNAME}.o +do-build: + cd ${WRKSRC} && \ + ${CXX} ${CFLAGS} -c -o main.o main.cpp && \ + ${CXX} ${CFLAGS} -c -o code.o code.cpp && \ + ${CXX} ${CFLAGS} -c -o braincurses.o braincurses.cpp && \ + ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} code.o ${PORTNAME}.o main.o do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609061542.u86FgtNt002767>