pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg Updated url2pkg to 2.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5a3f7927cc5
branches:  trunk
changeset: 526576:d5a3f7927cc5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Mar 15 12:17:56 2007 +0000

description:
Updated url2pkg to 2.5.

Changes since 2.4:
* Files called *.xs (native Perl module implementations) require a C
  compiler.

diffstat:

 pkgtools/url2pkg/Makefile         |  4 ++--
 pkgtools/url2pkg/files/url2pkg.pl |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r be69e6449855 -r d5a3f7927cc5 pkgtools/url2pkg/Makefile
--- a/pkgtools/url2pkg/Makefile Thu Mar 15 11:20:40 2007 +0000
+++ b/pkgtools/url2pkg/Makefile Thu Mar 15 12:17:56 2007 +0000
@@ -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 -r be69e6449855 -r d5a3f7927cc5 pkgtools/url2pkg/files/url2pkg.pl
--- a/pkgtools/url2pkg/files/url2pkg.pl Thu Mar 15 11:20:40 2007 +0000
+++ b/pkgtools/url2pkg/files/url2pkg.pl Thu Mar 15 12:17:56 2007 +0000
@@ -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_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");
 



Home | Main Index | Thread Index | Old Index