Date: Sun, 31 Jan 2016 08:21:30 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407584 - in head/games/trojka: . files Message-ID: <201601310821.u0V8LUgS067887@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Jan 31 08:21:30 2016 New Revision: 407584 URL: https://svnweb.freebsd.org/changeset/ports/407584 Log: games/trojka: Respect LDFLAGS, document ncurses requirement Also specific libncurses rather the libcurses (it's the same thing on FreeBSD so that's a no-op). This port could use some TLC, modern GCC spews easily fixed warnings everywhere. Modified: head/games/trojka/Makefile head/games/trojka/files/patch-Makefile Modified: head/games/trojka/Makefile ============================================================================== --- head/games/trojka/Makefile Sun Jan 31 08:20:01 2016 (r407583) +++ head/games/trojka/Makefile Sun Jan 31 08:21:30 2016 (r407584) @@ -16,4 +16,6 @@ LICENSE_NAME= Trojka Copyright LICENSE_FILE= ${WRKSRC}/COPYRIGHT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +USES= ncurses + .include <bsd.port.mk> Modified: head/games/trojka/files/patch-Makefile ============================================================================== --- head/games/trojka/files/patch-Makefile Sun Jan 31 08:20:01 2016 (r407583) +++ head/games/trojka/files/patch-Makefile Sun Jan 31 08:21:30 2016 (r407584) @@ -1,6 +1,6 @@ --- Makefile.orig 1995-10-20 21:17:43 UTC +++ Makefile -@@ -6,14 +6,24 @@ +@@ -6,21 +6,31 @@ # @@ -27,7 +27,15 @@ clean: rm -f $(PROGS) *.o core a.out trojka.scores -@@ -53,3 +63,5 @@ hpux: + + trojka: $(OBJS) + # $(CC) $(CFLAGS) $(OBJS) -lcurses -ltermlib -o trojka +- $(CC) $(CFLAGS) $(OBJS) -lcurses -o trojka ++ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -lncurses -o trojka + + + # patch for HP-UX, need 'codelibs' +@@ -53,3 +63,5 @@ hpux: linux: make trojka "CFLAGS=-DLINUX"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601310821.u0V8LUgS067887>