aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/poudriere
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-24 09:04:13 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-24 09:04:13 +0000
commit7df28735bfbf383f0d58a5c69749d9651b881233 (patch)
tree431a14be115055ca32829beaa033f2eaa333cea4 /ports-mgmt/poudriere
parent49137b5779f947566230e2ef0a48f3b119252f55 (diff)
downloadports-7df28735bfbf383f0d58a5c69749d9651b881233.tar.gz
ports-7df28735bfbf383f0d58a5c69749d9651b881233.zip
Notes
Diffstat (limited to 'ports-mgmt/poudriere')
-rw-r--r--ports-mgmt/poudriere/Makefile1
-rw-r--r--ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh20
2 files changed, 21 insertions, 0 deletions
diff --git a/ports-mgmt/poudriere/Makefile b/ports-mgmt/poudriere/Makefile
index 44edde79ed6a..13983933fd71 100644
--- a/ports-mgmt/poudriere/Makefile
+++ b/ports-mgmt/poudriere/Makefile
@@ -7,6 +7,7 @@
PORTNAME= poudriere
PORTVERSION= 1.5.4
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= http://files.etoilebsd.net/poudriere/
diff --git a/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh b/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh
new file mode 100644
index 000000000000..1dbfa1f76510
--- /dev/null
+++ b/ports-mgmt/poudriere/files/patch-src__poudriere.d__common.sh
@@ -0,0 +1,20 @@
+--- ./src/poudriere.d/common.sh.orig 2012-07-04 12:38:06.000000000 +0200
++++ ./src/poudriere.d/common.sh 2012-07-24 10:58:57.289711665 +0200
+@@ -610,7 +610,7 @@
+ local pn
+ msg "Caching missing port versions"
+ while read port; do
+- if ! egrep -q "^${port} " ${cache}; then
++ if ! grep -q "^${port} " ${cache}; then
+ pn=$(injail make -C /usr/ports/${port} -VPKGNAME)
+ echo "${port} ${pn}" >> ${cache}
+ fi
+@@ -635,7 +635,7 @@
+ export LOCALBASE=${MYBASE:-/usr/local}
+ while read p; do
+ pn=$(awk -v o=${p} ' { if ($1 == o) {print $2} }' ${cache})
+- [ ! -f ${PKGDIR}/All/${pn}.${EXT} ] && queue="${queue} $p"
++ [ ! -f "${PKGDIR}/All/${pn}.${EXT}" ] && queue="${queue} $p"
+ done < ${tmplist2}
+
+ rm -f ${tmplist2} ${deplist} ${tmplist}