From owner-svn-ports-all@freebsd.org Sun Jan 31 08:21:31 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6C2CA733D1; Sun, 31 Jan 2016 08:21:31 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA5BA1D76; Sun, 31 Jan 2016 08:21:31 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0V8LUWf067889; Sun, 31 Jan 2016 08:21:30 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0V8LUgS067887; Sun, 31 Jan 2016 08:21:30 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601310821.u0V8LUgS067887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 31 Jan 2016 08:21:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407584 - in head/games/trojka: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 08:21:32 -0000 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 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"