diff options
author | mich <mich@FreeBSD.org> | 2016-09-06 23:42:55 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2016-09-06 23:42:55 +0800 |
commit | 7cd61ab68cd984c4246455dce79c046d8a5cb1f4 (patch) | |
tree | 2f37cbb4253ea6dd28f73d97d96b05098ca534bf /games | |
parent | 4ad6d5f8f8c41da963149edc749c0dfa040f040c (diff) | |
download | freebsd-ports-gnome-7cd61ab68cd984c4246455dce79c046d8a5cb1f4.tar.gz freebsd-ports-gnome-7cd61ab68cd984c4246455dce79c046d8a5cb1f4.tar.zst freebsd-ports-gnome-7cd61ab68cd984c4246455dce79c046d8a5cb1f4.zip |
- Fix build error on 9x
Reported by: pkg-fallout@
Diffstat (limited to 'games')
-rw-r--r-- | games/braincurses/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games/braincurses/Makefile b/games/braincurses/Makefile index e68f0b8e8435..fa9968ceb376 100644 --- a/games/braincurses/Makefile +++ b/games/braincurses/Makefile @@ -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 |