aboutsummaryrefslogtreecommitdiffstats
path: root/misc/porteasy
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-03-31 19:53:57 +0800
committerdes <des@FreeBSD.org>2004-03-31 19:53:57 +0800
commitf59a258197398325cb27a9b9473e0a8df00c7764 (patch)
treebf0f63d7290975b5fdeeb2d768d47adf575010f2 /misc/porteasy
parent3c159511fc6d32166d064b6f3fcbfdc118f563f2 (diff)
downloadfreebsd-ports-gnome-f59a258197398325cb27a9b9473e0a8df00c7764.tar.gz
freebsd-ports-gnome-f59a258197398325cb27a9b9473e0a8df00c7764.tar.zst
freebsd-ports-gnome-f59a258197398325cb27a9b9473e0a8df00c7764.zip
Use the two-argument version of mkdir() for backward compatibility.
PR: ports/64984 Submitted by: Jurij Ivliev <yury@esterdev.com>
Diffstat (limited to 'misc/porteasy')
-rw-r--r--misc/porteasy/Makefile1
-rw-r--r--misc/porteasy/src/porteasy.pl2
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/porteasy/Makefile b/misc/porteasy/Makefile
index 6552999fde50..1b830902e332 100644
--- a/misc/porteasy/Makefile
+++ b/misc/porteasy/Makefile
@@ -9,6 +9,7 @@
PORTNAME= porteasy
PORTVERSION= 2.7.12
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= # none
DISTFILES= # none
diff --git a/misc/porteasy/src/porteasy.pl b/misc/porteasy/src/porteasy.pl
index 2c1e3ab7c57d..127b8c9544bc 100644
--- a/misc/porteasy/src/porteasy.pl
+++ b/misc/porteasy/src/porteasy.pl
@@ -337,7 +337,7 @@ sub update_index() {
or bsd::errx(1, "error updating the index file");
}
if ($packages && ! -d "$portsdir/packages") {
- mkdir("$portsdir/packages")
+ mkdir("$portsdir/packages", 0777)
or bsd::errx(1, "error creating the package directory");
}
cvs("update", "Mk", "Templates", "Tools")