From owner-svn-ports-head@freebsd.org Thu Jan 2 09:23:48 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89C271F280F; Thu, 2 Jan 2020 09:23:48 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47pMzS39rjz481X; Thu, 2 Jan 2020 09:23:48 +0000 (UTC) (envelope-from bapt@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 646401932A; Thu, 2 Jan 2020 09:23:48 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0029NmKx039007; Thu, 2 Jan 2020 09:23:48 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0029NmU0039005; Thu, 2 Jan 2020 09:23:48 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <202001020923.0029NmU0039005@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 2 Jan 2020 09:23:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r521813 - in head/games/tty-solitaire: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/games/tty-solitaire: . files X-SVN-Commit-Revision: 521813 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2020 09:23:48 -0000 Author: bapt Date: Thu Jan 2 09:23:47 2020 New Revision: 521813 URL: https://svnweb.freebsd.org/changeset/ports/521813 Log: Modify the makefile so we can specify the ncurses implementation from the command line Added: head/games/tty-solitaire/files/ head/games/tty-solitaire/files/patch-Makefile (contents, props changed) Modified: head/games/tty-solitaire/Makefile Modified: head/games/tty-solitaire/Makefile ============================================================================== --- head/games/tty-solitaire/Makefile Thu Jan 2 09:19:02 2020 (r521812) +++ head/games/tty-solitaire/Makefile Thu Jan 2 09:23:47 2020 (r521813) @@ -17,6 +17,8 @@ GH_ACCOUNT= mpereira USES= gmake ncurses +MAKE_ARGS= NCURSES=-l${NCURSES_IMPL} + PORTDOCS= * PLIST_FILES= bin/ttysolitaire Added: head/games/tty-solitaire/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/tty-solitaire/files/patch-Makefile Thu Jan 2 09:23:47 2020 (r521813) @@ -0,0 +1,16 @@ +--- Makefile.orig 2018-11-10 05:00:46 UTC ++++ Makefile +@@ -6,10 +6,11 @@ CFLAGS += -W -Wall -pedantic -ansi -std=c99 -DVERSION= + + # OS X installs ncurses with wide character support, but not as "libncurses". + ifeq ($(shell uname -s),Darwin) +- LDFLAGS += -lncurses ++ NCURSES = -lncurses + else +- LDFLAGS += -lncursesw ++ NCURSES = -lncursesw + endif ++LDFLAGS += $(NCURSES) + + PREFIX ?= /usr/local +