summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld>2001-01-04 20:22:47 +0000
committersommerfeld <sommerfeld>2001-01-04 20:22:47 +0000
commit0190b4b1d2ebd0d4e53aed9df7919c4a58161d50 (patch)
tree6af13a21849971c94ff55a3f4610ec45466ec1d7 /pkgtools/port2pkg
parentd575998d33b49f05f09a63a6dfe94fef1027fafe (diff)
downloadpkgsrc-0190b4b1d2ebd0d4e53aed9df7919c4a58161d50.tar.gz
port2pkg-1.7:
Fix bugs: - $pkgdir/files wasn't created - mkdir($pkgdir/patches) was missing its second argument (needed at least for the version of perl I have installed)
Diffstat (limited to 'pkgtools/port2pkg')
-rw-r--r--pkgtools/port2pkg/Makefile4
-rwxr-xr-xpkgtools/port2pkg/files/port2pkg.pl5
2 files changed, 5 insertions, 4 deletions
diff --git a/pkgtools/port2pkg/Makefile b/pkgtools/port2pkg/Makefile
index e3f3035897d..259d01bb3c4 100644
--- a/pkgtools/port2pkg/Makefile
+++ b/pkgtools/port2pkg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2000/12/15 14:58:43 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2001/01/04 20:22:47 sommerfeld Exp $
#
-DISTNAME= port2pkg-1.6
+DISTNAME= port2pkg-1.7
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl
index 520aa248280..549bb57c876 100755
--- a/pkgtools/port2pkg/files/port2pkg.pl
+++ b/pkgtools/port2pkg/files/port2pkg.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
#
-# $NetBSD: port2pkg.pl,v 1.6 2000/12/15 14:58:44 wiz Exp $
+# $NetBSD: port2pkg.pl,v 1.7 2001/01/04 20:22:47 sommerfeld Exp $
#
require 'getopts.pl';
@@ -69,7 +69,8 @@ sub fix_new_ports {
}
unlink <$pkgdir/files/patch*>;
unlink("$pkgdir/distinfo");
- mkdir("$pkgdir/patches");
+ mkdir("$pkgdir/patches",0777);
+ mkdir("$pkgdir/files",0777);
}
sub read_Makefile {