summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-02-06 16:33:15 +0000
committerBrad Davis <brd@FreeBSD.org>2018-02-06 16:33:15 +0000
commita32950c90dad2929fe25eabb4ac50af61243832b (patch)
tree750aa20603c204a0acfd4ea0fec0dbae2519ebfd /ports-mgmt
parentdevel/p4 devel/p4api: cache distfiles in LOCAL (diff)
Fix a missing fi when building an image.
Approved by: bdrewery (maintainer)
Notes
Notes: svn path=/head/; revision=461075
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/poudriere-devel/Makefile2
-rw-r--r--ports-mgmt/poudriere-devel/files/patch-src--share--poudriere--image.sh11
2 files changed, 12 insertions, 1 deletions
diff --git a/ports-mgmt/poudriere-devel/Makefile b/ports-mgmt/poudriere-devel/Makefile
index a8193c2ce733..5922a91b294e 100644
--- a/ports-mgmt/poudriere-devel/Makefile
+++ b/ports-mgmt/poudriere-devel/Makefile
@@ -2,7 +2,7 @@
PORTNAME= poudriere
DISTVERSION= 3.2.99.20180202
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \
diff --git a/ports-mgmt/poudriere-devel/files/patch-src--share--poudriere--image.sh b/ports-mgmt/poudriere-devel/files/patch-src--share--poudriere--image.sh
new file mode 100644
index 000000000000..b3211d184264
--- /dev/null
+++ b/ports-mgmt/poudriere-devel/files/patch-src--share--poudriere--image.sh
@@ -0,0 +1,11 @@
+--- src/share/poudriere/image.sh.orig 2018-02-06 16:22:49.894625000 +0000
++++ src/share/poudriere/image.sh 2018-02-06 16:25:14.320814000 +0000
+@@ -314,7 +314,7 @@
+ if [ -n "${HOSTNAME}" ]; then
+ mkdir -p ${WRKDIR}/world/etc/rc.conf.d
+ echo "hostname=${HOSTNAME}" > ${WRKDIR}/world/etc/rc.conf.d/hostname
+-else
++fi
+
+ [ ! -d "${EXTRADIR}" ] || cp -fRLp ${EXTRADIR}/ ${WRKDIR}/world/
+ mv ${WRKDIR}/world/etc/login.conf.orig ${WRKDIR}/world/etc/login.conf