summaryrefslogtreecommitdiff
path: root/pkgtools/port2pkg
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-10 15:27:57 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-10 15:27:57 +0000
commit80fbcad27402307ed876048d8934c90e91f30589 (patch)
treee84b9a7ab55e86d5b2026048e830599ef078be1f /pkgtools/port2pkg
parenteb66d11868e786dce70779460db8ef022d90418c (diff)
downloadpkgsrc-80fbcad27402307ed876048d8934c90e91f30589.tar.gz
Avoid embedding $NetBSD\$ and similiar constructs in-tree files.
The strings would be picked up for +BUILD_VERSION and create mismatches when using ident on the same files.
Diffstat (limited to 'pkgtools/port2pkg')
-rwxr-xr-xpkgtools/port2pkg/files/port2pkg.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl
index 25a1ca6ea9b..e826d503ac4 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.18 2007/02/23 15:29:14 ginsbach Exp $
+# $NetBSD: port2pkg.pl,v 1.19 2007/07/10 15:27:57 joerg Exp $
#
require 'getopts.pl';
@@ -150,7 +150,7 @@ sub conv_Makefile {
open(PKG, ">$pkgdir/Makefile")
|| die "$pkgdir/Makefile: $!\n";
- print PKG "# \$NetBSD\$\n";
+ print PKG "# \$Net" . "BSD\$\n";
# header
while (<PORTS>) {