Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.2 2013/07/19 12:52:10 joerg Exp $
# $NetBSD: Makefile,v 1.4 2015/02/28 23:44:27 joerg Exp $
#
DISTNAME= Algorithm-Cluster-1.50
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Algorithm/}
#MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/E/ET/ETHER/}

View File

@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1 2013/07/03 14:26:03 sno Exp $
$NetBSD: distinfo,v 1.2 2015/02/28 23:44:27 joerg Exp $
SHA1 (Algorithm-Cluster-1.50.tar.gz) = 036de7abda2af0f2a09f915b55662d88a0656b21
RMD160 (Algorithm-Cluster-1.50.tar.gz) = 128be5e282c24108cdf8dbfed5e95f032608fa4b
Size (Algorithm-Cluster-1.50.tar.gz) = 275620 bytes
SHA1 (patch-src_Makefile.PL) = 57c3552d658a9dc79dbde8df6eb035334a1c948d

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-src_Makefile.PL,v 1.1 2015/02/28 23:44:27 joerg Exp $
--- src/Makefile.PL.orig 2015-02-28 22:52:46.000000000 +0000
+++ src/Makefile.PL
@@ -2,13 +2,6 @@ use ExtUtils::MakeMaker;
use Config;
use POSIX;
-# Check if this is a 64 bit machine
-my $CCFLAGS = '';
-my $machine = (POSIX::uname())[4];
-if ($machine =~ /64/) {
- $CCFLAGS = '-fPIC';
-}
-
WriteMakefile(
NAME => 'libcluster',
VERSION_FROM => '../perl/Cluster.pm',
@@ -17,7 +10,7 @@ WriteMakefile(
H => ['cluster.h'],
OBJECT => 'cluster.o',
MYEXTLIB => 'libcluster$(LIB_EXT)',
- CCFLAGS => $CCFLAGS,
+ CCFLAGS => '-fPIC',
clean => {'FILES' => 'libcluster$(LIBEEXT) $(OBJECT)'},
);