Date: Mon, 11 Aug 2014 20:36:37 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364661 - in head/ports-mgmt/portrac: . files Message-ID: <53e92955.2ab8.6295a40a@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Mon Aug 11 20:36:36 2014 New Revision: 364661 URL: http://svnweb.freebsd.org/changeset/ports/364661 QAT: https://qat.redports.org/buildarchive/r364661/ Log: ports-mgmt/portrac: fix port for pkgng PR: 186963 Submitted by: lchen@zen.lhaven.homeip.net Approved by: mgp@e-soul.org (maintainer timeout) Added: head/ports-mgmt/portrac/files/ head/ports-mgmt/portrac/files/extra-patch-PortChecker.cc (contents, props changed) Modified: head/ports-mgmt/portrac/Makefile Modified: head/ports-mgmt/portrac/Makefile ============================================================================== --- head/ports-mgmt/portrac/Makefile Mon Aug 11 20:32:56 2014 (r364660) +++ head/ports-mgmt/portrac/Makefile Mon Aug 11 20:36:36 2014 (r364661) @@ -1,9 +1,8 @@ -# Created by: mgp # $FreeBSD$ PORTNAME= portrac PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= ports-mgmt MASTER_SITES= http://e-soul.org/distfiles/ \ http://home.e-soul.org/~mgp/distfiles/ @@ -11,7 +10,7 @@ MASTER_SITES= http://e-soul.org/distfile MAINTAINER= mgp@e-soul.org COMMENT= Simple GUI tool for tracking port updates -LICENSE= BSD +LICENSE= BSD2CLAUSE PLIST_FILES= bin/portrac \ share/portrac/portrac.png \ @@ -23,6 +22,10 @@ PLIST_DIRS= share/portrac USES= qmake tar:bzip2 USE_QT4= gui moc_build +.if defined(WITH_PKGNG) +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-PortChecker.cc +.endif + do-install: ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/portrac ${STAGEDIR}${PREFIX}/bin && \ ${MKDIR} ${STAGEDIR}${DATADIR} && \ Added: head/ports-mgmt/portrac/files/extra-patch-PortChecker.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/portrac/files/extra-patch-PortChecker.cc Mon Aug 11 20:36:36 2014 (r364661) @@ -0,0 +1,12 @@ +--- PortChecker.cc.orig 2011-05-29 04:27:22.000000000 -0500 ++++ PortChecker.cc 2014-02-22 14:26:23.633015152 -0600 +@@ -88,7 +88,7 @@ + { + index = (preferences->getPreference(INDEX_PREF).c_str()); + } +- execl("/usr/sbin/pkg_version", "pkg_version", "-I", index, (char *) 0); ++ execl("/usr/sbin/pkg", "pkg", "version", "-I", index, (char *) 0); + perror("execl"); + } + +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e92955.2ab8.6295a40a>