Index: Makefile =================================================================== --- Makefile (revision 364322) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= debootstrap PORTVERSION= 1.0.60 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_DEBIAN} MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME} @@ -15,7 +16,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} NO_BUILD= yes -USES= gmake tar:xz +USES= gmake perl5 tar:xz +USE_PERL5= run MAKE_ARGS= DESTDIR="${STAGEDIR}" ONLY_FOR_ARCHS= i386 amd64 Index: files/patch-debootstrap =================================================================== --- files/patch-debootstrap (revision 364322) +++ files/patch-debootstrap (working copy) @@ -1,5 +1,5 @@ --- ./debootstrap.orig 2014-02-07 10:25:58.000000000 -0500 -+++ ./debootstrap 2014-08-06 19:34:46.435155899 -0400 ++++ ./debootstrap 2014-08-07 15:27:50.945602780 -0400 @@ -13,7 +13,7 @@ if [ -x /debootstrap/debootstrap ]; then DEBOOTSTRAP_DIR=/debootstrap @@ -20,3 +20,11 @@ if [ -z "$ARCH" ]; then ARCH=$HOST_ARCH fi +@@ -621,7 +625,6 @@ + if ! am_doing_phase second_stage; then + cp "$0" "$TARGET/debootstrap/debootstrap" + cp $DEBOOTSTRAP_DIR/functions "$TARGET/debootstrap/functions" +- cp $DEBOOTSTRAP_DIR/devices.tar.gz "$TARGET/debootstrap/devices.tar.gz" + cp $SCRIPT "$TARGET/debootstrap/suite-script" + echo "$ARCH" >"$TARGET/debootstrap/arch" + echo "$SUITE" >"$TARGET/debootstrap/suite"