View | Details | Raw Unified | Return to bug 52293
Collapse All | Expand All

(-)Makefile (-4 / +15 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	Math-Pari
8
PORTNAME=	Math-Pari
9
PORTVERSION=	2.010201
9
PORTVERSION=	2.010500
10
CATEGORIES=	math perl5
10
CATEGORIES=	math perl5
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
11
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
12
MASTER_SITE_SUBDIR=	Math
12
MASTER_SITE_SUBDIR=	Math
Lines 19-25 Link Here
19
19
20
PERL_CONFIGURE=	yes
20
PERL_CONFIGURE=	yes
21
21
22
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
22
MAN3=		Math::Pari.3 Math::libPARI.3 \
23
MAN3=		Math::Pari.3 Math::libPARI.3
23
		Math::PariInit.3 Math::libPARI.dumb.3
24
24
25
.include <bsd.port.mk>
25
.include <bsd.port.pre.mk>
26
27
PARI_PORT?=	math/pari
28
PARI_PORTDIR?=	${PORTSDIR}/${PARI_PORT}
29
PARI_WRKSRC!=	cd ${PARI_PORTDIR} && ${MAKE} -V WRKSRC
30
31
CONFIGURE_ARGS=	paridir=${PARI_WRKSRC}
32
33
post-clean:
34
	@cd ${PARI_PORTDIR} && ${MAKE} -DBATCH clean
35
36
.include <bsd.port.post.mk>
(-)distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (Math-Pari-2.010201.tar.gz) = 0776e5b046ad8fcd20f94f67a0d2436e
1
MD5 (Math-Pari-2.010500.tar.gz) = 6ae5d0b044984a4fdc7817e79922419e
(-)pkg-descr (+2 lines)
Lines 3-6 Link Here
3
PARI functions as Perl functions, and (almost) seamless merging of PARI
3
PARI functions as Perl functions, and (almost) seamless merging of PARI
4
and Perl data.
4
and Perl data.
5
5
6
WWW: http://search.cpan.org/dist/Math-Pari/
7
6
-- Michael
8
-- Michael
(-)pkg-plist (-10 / +10 lines)
Lines 1-10 Link Here
1
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/Pari.pm
1
%%SITE_PERL%%/%%PERL_ARCH%%/Math/Pari.pm
2
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/comp_funcs.pl
2
%%SITE_PERL%%/%%PERL_ARCH%%/Math/PariInit.pm
3
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/foncpari.pl
3
%%SITE_PERL%%/%%PERL_ARCH%%/Math/libPARI.dumb.pod
4
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/libPARI.pod
4
%%SITE_PERL%%/%%PERL_ARCH%%/Math/libPARI.pod
5
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/.packlist
5
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/.packlist
6
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.bs
6
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.bs
7
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.so
7
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.so
8
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari
8
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari
9
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math
9
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
10
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math
10
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Math 2>/dev/null || true
(-)files/patch-makefile (-14 / +10 lines)
Lines 1-18 Link Here
1
--- Makefile.PL.orig	Tue Sep 11 02:52:45 2001
1
--- libPARI/Makefile.PL.orig	Thu Apr 24 05:23:32 2003
2
+++ Makefile.PL	Tue Sep 11 02:53:18 2001
2
+++ libPARI/Makefile.PL	Thu May 15 19:35:21 2003
3
@@ -4,7 +4,7 @@
3
@@ -136,12 +136,13 @@
4
 use File::Copy 'copy';
4
 	     and $Config{gccversion} !~ /^(3\.)|(2\.95\.3.*)/)) {
5
   $mycflags .= " -DASMINLINE";
6
 }
7
-$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
8
+$mycflags .= ' -O -DGCC_INLINE' if $Config{gccversion};
5
 
9
 
6
 # Uncomment and change this line if I fail to find it
10
 @obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
7
-# $paridir = "..";
11
 push @obj_files, 'kernel2$(OBJ_EXT)' if $kernel{converted2};
8
+$paridir = "../../../pari/work/pari-2.1.3";
9
 
10
 unless (-t STDOUT) {		# Better reports if run with redirections
11
     my $odef = select STDERR;
12
--- libPARI/Makefile.PL.orig	Thu Mar 14 15:04:06 2002
13
+++ libPARI/Makefile.PL	Thu Mar 14 15:03:30 2002
14
@@ -381,6 +381,7 @@
15
 #}
16
 
12
 
17
 $mycflags .= " -DDYNAMIC_PLOTTING";
13
 $mycflags .= " -DDYNAMIC_PLOTTING";
18
+$mycflags .= " -DDL_DFLT_NAME=\\\"libpari.2.1.3\\\"";
14
+$mycflags .= " -DDL_DFLT_NAME=\\\"libpari.2.1.3\\\"";

Return to bug 52293