summaryrefslogtreecommitdiff
path: root/pkgtools/url2pkg
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-15 12:17:56 +0000
committerrillig <rillig>2007-03-15 12:17:56 +0000
commitd4b6bb79e1c321b39698ba62695c9ed3b07a01a7 (patch)
tree33c1f27d1186c4728a62cf7ee674cb42a0de7278 /pkgtools/url2pkg
parent006e500e6d7f17a1997431fcf6d81032b472daae (diff)
downloadpkgsrc-d4b6bb79e1c321b39698ba62695c9ed3b07a01a7.tar.gz
Updated url2pkg to 2.5.
Changes since 2.4: * Files called *.xs (native Perl module implementations) require a C compiler.
Diffstat (limited to 'pkgtools/url2pkg')
-rw-r--r--pkgtools/url2pkg/Makefile4
-rw-r--r--pkgtools/url2pkg/files/url2pkg.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index 41614a2cd09..51488c2a1bf 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2007/02/22 08:21:52 rillig Exp $
+# $NetBSD: Makefile,v 1.49 2007/03/15 12:17:56 rillig Exp $
#
-DISTNAME= url2pkg-2.4
+DISTNAME= url2pkg-2.5
CATEGORIES= pkgtools
MASTER_SITES= # none
DISTFILES= # none
diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl
index fcc4fedc897..2b95e03a1eb 100644
--- a/pkgtools/url2pkg/files/url2pkg.pl
+++ b/pkgtools/url2pkg/files/url2pkg.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: url2pkg.pl,v 1.6 2007/02/22 12:05:34 rillig Exp $
+# $NetBSD: url2pkg.pl,v 1.7 2007/03/15 12:17:56 rillig Exp $
#
use strict;
@@ -181,7 +181,7 @@ sub magic_po() {
sub magic_use_languages() {
my @languages;
- grep(/\.c$/, @wrksrc_files) and push(@languages, "c");
+ grep(/\.(c|xs)$/, @wrksrc_files) and push(@languages, "c");
grep(/\.(cpp|c\+\+|cxx|cc|C)$/, @wrksrc_files) and push(@languages, "c++");
grep(/\.f$/, @wrksrc_files) and push(@languages, "fortran");