Date: Wed, 15 Jan 2003 03:50:02 -0800 (PST) From: Michael Hostbaek <mich@freebsdcluster.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/47097: New port: games/braincurses Message-ID: <200301151150.h0FBo2sb019599@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/47097; it has been noted by GNATS. From: Michael Hostbaek <mich@freebsdcluster.org> To: Simon 'corecode' Schubert <corecode@corecode.ath.cx> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/47097: New port: games/braincurses Date: Wed, 15 Jan 2003 12:40:48 +0100 --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Simon 'corecode' Schubert (corecode) writes: > Lately Michael L.Hostbaek told: > > > XLDFLAGS+= -L${LOCALBASE}/lib -lncurses > > what for is that localbase stuff? Excellent question. The port builds fine without it. I have removed it in the attached patch ! > > how about a file/Makefile using bsd.prog.mk? > if not, the parentheses are not needed: > cd ${WRKSRC} && \ > ${CXX} ... && \ > ${CXX} ... I have chosen the latter.. Thanks for pointing it out to me. -- Best Regards, Michael Landin Hostbaek FreeBSDCluster.org - an International Community */ PGP-key available upon request /* --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="port-braincurses.diff" diff -u -ruN braincurses.bak/Makefile braincurses/Makefile --- braincurses.bak/Makefile Wed Jan 15 12:29:22 2003 +++ braincurses/Makefile Wed Jan 15 12:31:35 2003 @@ -13,13 +13,14 @@ MAINTAINER= mich@freebsdcluster.org -LDFLAGS+= -L${LOCALBASE}/lib -lncurses +LDFLAGS+= -lncurses WRKSRC= ${WRKDIR}/${PORTNAME} do-build: - (cd ${WRKSRC} && ${CXX} -c -o curses/windows.o curses/windows.cpp) - (cd ${WRKSRC} && ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp) - (cd ${WRKSRC} && ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o) + cd ${WRKSRC} && \ + ${CXX} -c -o curses/windows.o curses/windows.cpp && \ + ${CXX} ${CFLAGS} -c ${PORTNAME}.cpp && \ + ${CXX} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} curses/windows.o ${PORTNAME}.o do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin --U+BazGySraz5kW0T-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301151150.h0FBo2sb019599>