Date: Tue, 31 Oct 2017 15:06:58 +0000 (UTC) From: Nikolai Lifanov <lifanov@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453241 - in head/games/wtf: . files Message-ID: <201710311506.v9VF6wSG024246@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <z7dr6ut7gs@snkmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710311506.v9VF6wSG024246>