From owner-svn-ports-head@freebsd.org Thu Jan 11 20:05:36 2018 Return-Path: Delivered-To: svn-ports-head@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 2F2BBE792FF; Thu, 11 Jan 2018 20:05:36 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09C338348A; Thu, 11 Jan 2018 20:05:36 +0000 (UTC) (envelope-from amdmi3@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 3EAD519B06; Thu, 11 Jan 2018 20:05:35 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0BK5Z3h006158; Thu, 11 Jan 2018 20:05:35 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0BK5Y76006156; Thu, 11 Jan 2018 20:05:34 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201801112005.w0BK5Y76006156@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 11 Jan 2018 20:05:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458783 - in head/games/ascii-invaders: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/ascii-invaders: . files X-SVN-Commit-Revision: 458783 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.25 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, 11 Jan 2018 20:05:36 -0000 Author: amdmi3 Date: Thu Jan 11 20:05:34 2018 New Revision: 458783 URL: https://svnweb.freebsd.org/changeset/ports/458783 Log: - Fix dependency on ncurses and respect it properly Added: head/games/ascii-invaders/files/ head/games/ascii-invaders/files/patch-Makefile (contents, props changed) Modified: head/games/ascii-invaders/Makefile Modified: head/games/ascii-invaders/Makefile ============================================================================== --- head/games/ascii-invaders/Makefile Thu Jan 11 20:01:45 2018 (r458782) +++ head/games/ascii-invaders/Makefile Thu Jan 11 20:05:34 2018 (r458783) @@ -4,6 +4,7 @@ PORTNAME= ascii-invaders PORTVERSION= 1.0.1 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org @@ -14,6 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= macdice + +USES= ncurses + +CFLAGS+= -isystem${LOCALBASE}/include -isystem${NCURSESINC} +LDFLAGS+= -L${NCURSESLIB} -ltinfo PLIST_FILES= bin/ascii_invaders Added: head/games/ascii-invaders/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/ascii-invaders/files/patch-Makefile Thu Jan 11 20:05:34 2018 (r458783) @@ -0,0 +1,16 @@ +--- Makefile.orig 2016-12-09 02:53:39 UTC ++++ Makefile +@@ -1,5 +1,5 @@ + CFLAGS+=-Wall +-LIBS=-lcurses ++LIBS= -lncurses + + all: ascii_invaders + +@@ -7,5 +7,5 @@ clean: + rm -f invaders.o ascii_invaders + + ascii_invaders: invaders.o +- $(CC) $(CFLAGS) $(LIBS) invaders.o -o ascii_invaders ++ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) invaders.o -o ascii_invaders +