summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg
diff options
context:
space:
mode:
authorsakamoto <sakamoto@pkgsrc.org>2001-02-24 11:06:09 +0000
committersakamoto <sakamoto@pkgsrc.org>2001-02-24 11:06:09 +0000
commit20d4fafb4fb562cc917ffe528b6ac57cf66301ef (patch)
tree6d83bfe903685dd41d17a7c9f6efd9d82eba4a9e /pkgtools/port2pkg
parent850dcca30bb078af053d1f84b7f3b86a800c772f (diff)
downloadpkgsrc-20d4fafb4fb562cc917ffe528b6ac57cf66301ef.tar.gz
port2pkg-1.9:
fix s/$1/$_/ at reading COMMENT.
Diffstat (limited to 'pkgtools/port2pkg')
-rw-r--r--pkgtools/port2pkg/Makefile4
-rwxr-xr-xpkgtools/port2pkg/files/port2pkg.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/port2pkg/Makefile b/pkgtools/port2pkg/Makefile
index 17f97364c31..72695168d37 100644
--- a/pkgtools/port2pkg/Makefile
+++ b/pkgtools/port2pkg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2001/02/17 17:51:32 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2001/02/24 11:06:09 sakamoto Exp $
#
-DISTNAME= port2pkg-1.8
+DISTNAME= port2pkg-1.9
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl
index e1914421258..f3d5ab569cb 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.8 2001/02/16 13:06:20 wiz Exp $
+# $NetBSD: port2pkg.pl,v 1.9 2001/02/24 11:06:09 sakamoto Exp $
#
require 'getopts.pl';
@@ -243,7 +243,7 @@ sub conv_Makefile {
|| die "$pkgdir/pkg/COMMENT: $!\n";
while (<COMMENT>) {
chomp;
- print PKG "COMMENT=\t$1\n";
+ print PKG "COMMENT=\t$_\n";
}
close(COMMENT);
unlink("$pkgdir/pkg/COMMENT");