Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2012 07:24:25 +0100
From:      Kurt Jaeger <fbsd-ports@opsec.eu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sunpoet@FreeBSD.org
Subject:   ports/174359: [new port] math/p5-Math-Int128
Message-ID:  <E1TiJGT-0009g2-AE@fa8.opsec.eu>
Resent-Message-ID: <201212110630.qBB6U0eN035797@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174359
>Category:       ports
>Synopsis:       [new port] math/p5-Math-Int128
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 06:30:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 8.3-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD fa8.opsec.eu 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	[new port] math/p5-Math-Int128
>How-To-Repeat:
	-
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Math-Int128
#	p5-Math-Int128/distinfo
#	p5-Math-Int128/Makefile
#	p5-Math-Int128/pkg-descr
#	p5-Math-Int128/files
#	p5-Math-Int128/files/patch-Makefile.PL
#	p5-Math-Int128/pkg-plist
#
echo c - p5-Math-Int128
mkdir -p p5-Math-Int128 > /dev/null 2>&1
echo x - p5-Math-Int128/distinfo
sed 's/^X//' >p5-Math-Int128/distinfo << '5e3783a8ce24be30a10de7b511f4683c'
XSHA256 (Math-Int128-0.07.tar.gz) = 5401691a22f723d3834c086b76e933b5bf01ff2c69d6e37b675e75cfc664efe9
XSIZE (Math-Int128-0.07.tar.gz) = 60412
5e3783a8ce24be30a10de7b511f4683c
echo x - p5-Math-Int128/Makefile
sed 's/^X//' >p5-Math-Int128/Makefile << 'ebb18d276a08401561c4c0404a791308'
X# New ports collection makefile for:	p5-Math-Int128
X# Date created:		2012-12-11
X# Whom:			Kurt Jaeger <fbsd-ports@opsec.eu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Math-Int128
XPORTVERSION=	0.07
XCATEGORIES=	math perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	fbsd-ports@opsec.eu
XCOMMENT=	Manipulate 128 bits integers in Perl
X
XLICENSE=	ART10
X
XPERL_CONFIGURE=	yes
X
XUSE_GCC=	4.4+
X
XBUILD_DEPENDS=  p5-Math-Int64>=0.28:${PORTSDIR}/math/p5-Math-Int64
XRUN_DEPENDS=    p5-Math-Int64>=0.28:${PORTSDIR}/math/p5-Math-Int64
X
XMAN3=		Math::Int128.3 \
X		Math::Int128::die_on_overflow.3
X
X.include <bsd.port.mk>
ebb18d276a08401561c4c0404a791308
echo x - p5-Math-Int128/pkg-descr
sed 's/^X//' >p5-Math-Int128/pkg-descr << '52cf01f246638814966e18424be4ec13'
XMath::Int64 adds support for 64 bit integers, signed and unsigned, to Perl.
X
XWWW: http://search.cpan.org/dist/Math-Int64/
52cf01f246638814966e18424be4ec13
echo c - p5-Math-Int128/files
mkdir -p p5-Math-Int128/files > /dev/null 2>&1
echo x - p5-Math-Int128/files/patch-Makefile.PL
sed 's/^X//' >p5-Math-Int128/files/patch-Makefile.PL << '87d32cba9a4d8dd82c4c95054a05d462'
X--- Makefile.PL	2012-12-10 21:27:04.000000000 +0100
X+++ /tmp/Makefile.PL	2012-12-11 07:17:41.000000000 +0100
X@@ -14,13 +14,14 @@
X                        OBJECT        => '$(O_FILES)',
X                       );
X 
X-my $cc = (grep defined, $mm->{CC}, $Config{cc}, 'cc')[0];
X+# my $cc = (grep defined, $mm->{CC}, $Config{cc}, 'cc')[0];
X+my $cc = 'gcc44';
X my $cc_version = `$cc --version --verbose 2>&1`;
X-unless ($cc_version =~ /^GNU\s+C\s+\([^)]*\)\s+version\s+(4\.(\d+)\S*)/im and $2 >= 4) {
X-    unlink $mm->{MAKEFILE};
X-    die "This module requires version 4.4 or above of the GCC compiler.\nAborting!\n\n"
X-}
X-print "GNU C compiler version $1 found, good!\n";
X+#unless ($cc_version =~ /^GNU\s+C\s+\([^)]*\)\s+version\s+(4\.(\d+)\S*)/im and $2 >= 4) {
X+#    unlink $mm->{MAKEFILE};
X+#    die "This module requires version 4.4 or above of the GCC compiler.\nAborting!\n\n"
X+#}
X+#print "GNU C compiler version $1 found, good!\n";
X 
X package MY;
X 
87d32cba9a4d8dd82c4c95054a05d462
echo x - p5-Math-Int128/pkg-plist
sed 's/^X//' >p5-Math-Int128/pkg-plist << '5583834b021cc675475ee9a00995ee4a'
Xlib/perl5/5.14.2/man/man3/Math::Int128.3.gz
Xlib/perl5/5.14.2/man/man3/Math::Int128::die_on_overflow.3.gz
Xlib/perl5/site_perl/5.14.2/mach/Math/Int128.pm
Xlib/perl5/site_perl/5.14.2/mach/Math/Int128/die_on_overflow.pm
Xlib/perl5/site_perl/5.14.2/mach/auto/Math/Int128/.packlist
Xlib/perl5/site_perl/5.14.2/mach/auto/Math/Int128/Int128.bs
Xlib/perl5/site_perl/5.14.2/mach/auto/Math/Int128/Int128.so
Xshare/licenses/p5-Math-Int128-0.07/ART10
Xshare/licenses/p5-Math-Int128-0.07/LICENSE
Xshare/licenses/p5-Math-Int128-0.07/catalog.mk
X@dirrm share/licenses/p5-Math-Int128-0.07
X@dirrm share/licenses
X@dirrm lib/perl5/site_perl/5.14.2/mach/auto/Math/Int128
X@dirrm lib/perl5/site_perl/5.14.2/mach/auto/Math
X@dirrm lib/perl5/site_perl/5.14.2/mach/auto
X@dirrm lib/perl5/site_perl/5.14.2/mach/Math/Int128
X@dirrm lib/perl5/site_perl/5.14.2/mach/Math
X@dirrm lib/perl5/site_perl/5.14.2/mach
X@dirrm lib/perl5/site_perl/5.14.2
X@dirrm lib/perl5/site_perl
X@dirrm lib/perl5/5.14.2/man/man3
X@dirrm lib/perl5/5.14.2/man
X@dirrm lib/perl5/5.14.2
X@dirrm lib/perl5
5583834b021cc675475ee9a00995ee4a
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TiJGT-0009g2-AE>