svn commit: r453241 - in head/games/wtf: . files
Nikolai Lifanov
lifanov at FreeBSD.org
Tue Oct 31 15:06:59 UTC 2017
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 at 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
More information about the svn-ports-head
mailing list