From owner-svn-ports-head@freebsd.org Tue Oct 31 15:06:59 2017 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 7D653E5C552; Tue, 31 Oct 2017 15:06:59 +0000 (UTC) (envelope-from lifanov@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 4A9607D96B; Tue, 31 Oct 2017 15:06:59 +0000 (UTC) (envelope-from lifanov@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9VF6wOc024248; Tue, 31 Oct 2017 15:06:58 GMT (envelope-from lifanov@FreeBSD.org) Received: (from lifanov@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9VF6wSG024246; Tue, 31 Oct 2017 15:06:58 GMT (envelope-from lifanov@FreeBSD.org) Message-Id: <201710311506.v9VF6wSG024246@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lifanov set sender to lifanov@FreeBSD.org using -f From: Nikolai Lifanov Date: Tue, 31 Oct 2017 15:06:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453241 - in head/games/wtf: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lifanov X-SVN-Commit-Paths: in head/games/wtf: . files X-SVN-Commit-Revision: 453241 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.23 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: Tue, 31 Oct 2017 15:06:59 -0000 Author: lifanov Date: Tue Oct 31 15:06:58 2017 New Revision: 453241 URL: https://svnweb.freebsd.org/changeset/ports/453241 Log: games/wtf: fix package lookup with FreeBSD pkg PR: 223329 Submitted by: John Hein Added: head/games/wtf/files/ head/games/wtf/files/patch-wtf (contents, props changed) Modified: head/games/wtf/Makefile Modified: head/games/wtf/Makefile ============================================================================== --- head/games/wtf/Makefile Tue Oct 31 15:00:00 2017 (r453240) +++ head/games/wtf/Makefile Tue Oct 31 15:06:58 2017 (r453241) @@ -3,6 +3,7 @@ PORTNAME= wtf PORTVERSION= 20170918 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/bsdwtf Added: head/games/wtf/files/patch-wtf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/wtf/files/patch-wtf Tue Oct 31 15:06:58 2017 (r453241) @@ -0,0 +1,16 @@ +--- wtf.orig 2017-10-31 15:03:28 UTC ++++ wtf +@@ -94,6 +94,13 @@ for i; do + continue + fi + ++ # Try pkg-info(1) next ++ ans="$(pkg info -qI "$i" 2> /dev/null)" ++ if [ $? -eq 0 ]; then ++ echo "$i: $ans" ++ continue ++ fi ++ + # If called from pkgsrc package directory, + # try querying pkgsrc's help facility next + if [ -f ../../mk/bsd.pkg.mk ]; then