From owner-svn-ports-all@freebsd.org Sun Jan 31 13:00:18 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 2ED9EA739CF; Sun, 31 Jan 2016 13:00:18 +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 E4442C37; Sun, 31 Jan 2016 13:00:17 +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 u0VD0GP2052666; Sun, 31 Jan 2016 13:00:16 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0VD0GsZ052663; Sun, 31 Jan 2016 13:00:16 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601311300.u0VD0GsZ052663@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 13:00:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407625 - in head/games/sokoban: . 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 13:00:18 -0000 Author: marino Date: Sun Jan 31 13:00:16 2016 New Revision: 407625 URL: https://svnweb.freebsd.org/changeset/ports/407625 Log: games/sokoban: document ncurses rqmt (USES+=ncurses), respect LDFLAGS while here: * unsuppress installation commands * regenerate another patch * stop linking with ancient curses libs, use ncurses instead approved by: infrastructure blanket Modified: head/games/sokoban/Makefile head/games/sokoban/files/patch-Makefile head/games/sokoban/files/patch-play.c Modified: head/games/sokoban/Makefile ============================================================================== --- head/games/sokoban/Makefile Sun Jan 31 12:53:22 2016 (r407624) +++ head/games/sokoban/Makefile Sun Jan 31 13:00:16 2016 (r407625) @@ -11,16 +11,17 @@ DISTNAME= ${PORTNAME}-src MAINTAINER= lifanov@mail.lifanov.com COMMENT= Logical game: problems with packets in cave +USES= ncurses WRKSRC= ${WRKDIR}/sokoban ALL_TARGET= do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban + ${INSTALL_PROGRAM} ${WRKSRC}/sokoban ${STAGEDIR}${PREFIX}/bin/sokoban @${MKDIR} ${STAGEDIR}${DATADIR}/screens - @${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens + ${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${DATADIR}/screens post-install: @${MKDIR} ${STAGEDIR}/var/games/sokoban - @truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample + truncate -s 512 ${STAGEDIR}/var/games/sokoban/scores.sample .include Modified: head/games/sokoban/files/patch-Makefile ============================================================================== --- head/games/sokoban/files/patch-Makefile Sun Jan 31 12:53:22 2016 (r407624) +++ head/games/sokoban/files/patch-Makefile Sun Jan 31 13:00:16 2016 (r407625) @@ -1,5 +1,5 @@ ---- ./Makefile.orig 1992-05-09 19:23:46.000000000 -0400 -+++ ./Makefile 2014-03-11 22:14:36.359748029 -0400 +--- Makefile.orig 1992-05-09 23:23:46 UTC ++++ Makefile @@ -1,8 +1,12 @@ -CCOPT= -O3 +CCOPT= ${CFLAGS} @@ -11,7 +11,7 @@ sokoban: $(OBJECTS) - cc $(CCOPT) -static -o sokoban $(OBJECTS) -lcurses -ltermcap -+ cc $(CCOPT) -o sokoban $(OBJECTS) -lcurses -ltermcap ++ cc $(CCOPT) -o sokoban $(OBJECTS) $(LDFLAGS) -lncurses sok.o: sok.c sokoban.h cc $(CCOPT) -c sok.c Modified: head/games/sokoban/files/patch-play.c ============================================================================== --- head/games/sokoban/files/patch-play.c Sun Jan 31 12:53:22 2016 (r407624) +++ head/games/sokoban/files/patch-play.c Sun Jan 31 13:00:16 2016 (r407625) @@ -1,6 +1,6 @@ ---- ./play.c.orig 1992-05-16 02:53:27.000000000 -0400 -+++ ./play.c 2014-03-11 22:14:36.546748659 -0400 -@@ -37,7 +37,7 @@ +--- play.c.orig 1992-05-16 06:53:27 UTC ++++ play.c +@@ -37,7 +37,7 @@ static POS tmp_ppos; short play() {