Date: Thu, 2 Jan 2020 09:23:48 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> 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 Message-ID: <202001020923.0029NmU0039005@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001020923.0029NmU0039005>