forked from Lainports/freebsd-ports
Update to 2.010500
add WWW respect CFLAGS PR: 52293 Approved by: demon (mentor), maintainer
This commit is contained in:
parent
78dc0ca84e
commit
7863e0920b
5 changed files with 37 additions and 29 deletions
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= Math-Pari
|
||||
PORTVERSION= 2.010201
|
||||
PORTVERSION= 2.010500
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Math
|
||||
|
|
@ -19,7 +19,18 @@ BUILD_DEPENDS= pari:${PORTSDIR}/math/pari:configure
|
|||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
MAN3= Math::Pari.3 Math::libPARI.3
|
||||
MAN3= Math::Pari.3 Math::libPARI.3 \
|
||||
Math::PariInit.3 Math::libPARI.dumb.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PARI_PORT?= math/pari
|
||||
PARI_PORTDIR?= ${PORTSDIR}/${PARI_PORT}
|
||||
PARI_WRKSRC!= cd ${PARI_PORTDIR} && ${MAKE} -V WRKSRC
|
||||
|
||||
CONFIGURE_ARGS= paridir=${PARI_WRKSRC}
|
||||
|
||||
post-clean:
|
||||
@cd ${PARI_PORTDIR} && ${MAKE} -DBATCH clean
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
MD5 (Math-Pari-2.010201.tar.gz) = 0776e5b046ad8fcd20f94f67a0d2436e
|
||||
MD5 (Math-Pari-2.010500.tar.gz) = 6ae5d0b044984a4fdc7817e79922419e
|
||||
|
|
|
|||
|
|
@ -1,18 +1,13 @@
|
|||
--- Makefile.PL.orig Tue Sep 11 02:52:45 2001
|
||||
+++ Makefile.PL Tue Sep 11 02:53:18 2001
|
||||
@@ -4,7 +4,7 @@
|
||||
use File::Copy 'copy';
|
||||
--- libPARI/Makefile.PL.orig Thu Apr 24 05:23:32 2003
|
||||
+++ libPARI/Makefile.PL Thu Aug 21 14:51:06 2003
|
||||
@@ -137,11 +137,13 @@
|
||||
$mycflags .= " -DASMINLINE";
|
||||
}
|
||||
$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
|
||||
+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
|
||||
|
||||
# Uncomment and change this line if I fail to find it
|
||||
-# $paridir = "..";
|
||||
+$paridir = "../../../pari/work/pari-2.1.3";
|
||||
|
||||
unless (-t STDOUT) { # Better reports if run with redirections
|
||||
my $odef = select STDERR;
|
||||
--- libPARI/Makefile.PL.orig Thu Mar 14 15:04:06 2002
|
||||
+++ libPARI/Makefile.PL Thu Mar 14 15:03:30 2002
|
||||
@@ -381,6 +381,7 @@
|
||||
#}
|
||||
@obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
|
||||
push @obj_files, 'kernel2$(OBJ_EXT)' if $kernel{converted2};
|
||||
|
||||
$mycflags .= " -DDYNAMIC_PLOTTING";
|
||||
+$mycflags .= " -DDL_DFLT_NAME=\\\"libpari.2.1.3\\\"";
|
||||
|
|
|
|||
|
|
@ -3,4 +3,6 @@ numerical/scientific/number-theoretic calculations. It allows use of most
|
|||
PARI functions as Perl functions, and (almost) seamless merging of PARI
|
||||
and Perl data.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Math-Pari/
|
||||
|
||||
-- Michael
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/Pari.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/comp_funcs.pl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/foncpari.pl
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/libPARI.pod
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/.packlist
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.bs
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.so
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/Pari
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Math/Pari.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Math/PariInit.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Math/libPARI.dumb.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Math/libPARI.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari/Pari.so
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/Pari
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Math 2>/dev/null || true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue