pkgsrc/math/p5-Math-Pari/Makefile

37 lines
993 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.41 2011/08/06 20:49:25 adam Exp $
DISTNAME= Math-Pari-2.01080605
PKGNAME= p5-${DISTNAME:S/01080605/010806.05/}
SVR4_PKGNAME= p5mpa
CATEGORIES+= perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Math-Pari/
COMMENT= Perl5 interface to the pari math library
LICENSE= gnu-gpl-v2
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
Updating math/p5-Math-Pari from 2.010801nb2 to 2.010806.03 pkgsrc changes: - Avoid private compile of pari-library, use pkgsrc provided instead - Add license definition - Disabled support for plotting from perl (missing upstream support) Upstream changes: 2.01080601+ Add 5.005-new keywords to Makefile.PL. Consistently put space after -I in C include paths (needed???). Nicer output when debugging faulty LWP and Net::FTP. Make test engine look in */32/* directory too on 64-bit builds. Remove POD ornaments to make ABSTRACT_FROM work. 2.01080601++ Reword warning about slow intnum: only 75% longer than on PARI/GP. (overhead of the internal sub call in subtest 30 looks like 10x overhead of an empty subroutine call). New advice that upgrade to 2.3.* may fix `overflow' and `highremainder'. Exchange order of initialization of PARI and of `functions_highlevel' with >= 2.3.0; allows installation of highlevel functions (in particular, install() and PostScript printing). New function have_graphics() (not exported). The test engine takes into account have_graphics(). 2.01080602 If AUTOMATED_TESTING, delete (bogus?) environment variable DISPLAY. If AUTOMATED_TESTING, report results of failing tests on STDERR. Make test suite report rough run times for successful subtests. 2.01080603 Fix misprint and change die() to warn() on failure of $ftp->quit... Add some void's in Pari.xs. UNDONE (wrong): Protect init_graph() by NO_GRAPHICS_PARI (in restart code); include rect.h instead... sv2pari(),sv2parimat(): a stupid compiler might guess we don't return value... when patching, use && instead of ; in the shell command New function Math::PariBuild::patch_args() Math::PariBuild::patch_pari() supports option --binary, \ as directory separator in command processor. Make uname parser recognize i686-pc as ix86. Generator of function descriptors could try to regenerate existing file. nok_print() in Testout.pm was defined too late.
2010-02-06 11:52:37 +01:00
#MAKE_PARAMS+= paridir=${WRKDIR}/${PARI_DISTNAME}
2007-11-22 10:25:45 +01:00
# XXX: to use or not to use...
2001-10-03 04:41:41 +02:00
#DEPENDS+= gnuplot-[0-9]*:../../graphics/gnuplot
Updating math/p5-Math-Pari from 2.010801nb2 to 2.010806.03 pkgsrc changes: - Avoid private compile of pari-library, use pkgsrc provided instead - Add license definition - Disabled support for plotting from perl (missing upstream support) Upstream changes: 2.01080601+ Add 5.005-new keywords to Makefile.PL. Consistently put space after -I in C include paths (needed???). Nicer output when debugging faulty LWP and Net::FTP. Make test engine look in */32/* directory too on 64-bit builds. Remove POD ornaments to make ABSTRACT_FROM work. 2.01080601++ Reword warning about slow intnum: only 75% longer than on PARI/GP. (overhead of the internal sub call in subtest 30 looks like 10x overhead of an empty subroutine call). New advice that upgrade to 2.3.* may fix `overflow' and `highremainder'. Exchange order of initialization of PARI and of `functions_highlevel' with >= 2.3.0; allows installation of highlevel functions (in particular, install() and PostScript printing). New function have_graphics() (not exported). The test engine takes into account have_graphics(). 2.01080602 If AUTOMATED_TESTING, delete (bogus?) environment variable DISPLAY. If AUTOMATED_TESTING, report results of failing tests on STDERR. Make test suite report rough run times for successful subtests. 2.01080603 Fix misprint and change die() to warn() on failure of $ftp->quit... Add some void's in Pari.xs. UNDONE (wrong): Protect init_graph() by NO_GRAPHICS_PARI (in restart code); include rect.h instead... sv2pari(),sv2parimat(): a stupid compiler might guess we don't return value... when patching, use && instead of ; in the shell command New function Math::PariBuild::patch_args() Math::PariBuild::patch_pari() supports option --binary, \ as directory separator in command processor. Make uname parser recognize i686-pc as ix86. Generator of function descriptors could try to regenerate existing file. nok_print() in Testout.pm was defined too late.
2010-02-06 11:52:37 +01:00
#GCC_REQD+= 2.95
#MAKE_ENV+= MP_NOGNUPLOT=1
MAKE_PARAMS+= pariprefix=${PREFIX:Q}
PERL5_PACKLIST= auto/Math/Pari/.packlist
Updating math/p5-Math-Pari from 2.010801nb2 to 2.010806.03 pkgsrc changes: - Avoid private compile of pari-library, use pkgsrc provided instead - Add license definition - Disabled support for plotting from perl (missing upstream support) Upstream changes: 2.01080601+ Add 5.005-new keywords to Makefile.PL. Consistently put space after -I in C include paths (needed???). Nicer output when debugging faulty LWP and Net::FTP. Make test engine look in */32/* directory too on 64-bit builds. Remove POD ornaments to make ABSTRACT_FROM work. 2.01080601++ Reword warning about slow intnum: only 75% longer than on PARI/GP. (overhead of the internal sub call in subtest 30 looks like 10x overhead of an empty subroutine call). New advice that upgrade to 2.3.* may fix `overflow' and `highremainder'. Exchange order of initialization of PARI and of `functions_highlevel' with >= 2.3.0; allows installation of highlevel functions (in particular, install() and PostScript printing). New function have_graphics() (not exported). The test engine takes into account have_graphics(). 2.01080602 If AUTOMATED_TESTING, delete (bogus?) environment variable DISPLAY. If AUTOMATED_TESTING, report results of failing tests on STDERR. Make test suite report rough run times for successful subtests. 2.01080603 Fix misprint and change die() to warn() on failure of $ftp->quit... Add some void's in Pari.xs. UNDONE (wrong): Protect init_graph() by NO_GRAPHICS_PARI (in restart code); include rect.h instead... sv2pari(),sv2parimat(): a stupid compiler might guess we don't return value... when patching, use && instead of ; in the shell command New function Math::PariBuild::patch_args() Math::PariBuild::patch_pari() supports option --binary, \ as directory separator in command processor. Make uname parser recognize i686-pc as ix86. Generator of function descriptors could try to regenerate existing file. nok_print() in Testout.pm was defined too late.
2010-02-06 11:52:37 +01:00
post-extract:
${RM} ${WRKSRC}/libPARI/Makefile.PL
BUILDLINK_API_DEPENDS.pari+= pari>=2.3.5nb1
Updating math/p5-Math-Pari from 2.010801nb2 to 2.010806.03 pkgsrc changes: - Avoid private compile of pari-library, use pkgsrc provided instead - Add license definition - Disabled support for plotting from perl (missing upstream support) Upstream changes: 2.01080601+ Add 5.005-new keywords to Makefile.PL. Consistently put space after -I in C include paths (needed???). Nicer output when debugging faulty LWP and Net::FTP. Make test engine look in */32/* directory too on 64-bit builds. Remove POD ornaments to make ABSTRACT_FROM work. 2.01080601++ Reword warning about slow intnum: only 75% longer than on PARI/GP. (overhead of the internal sub call in subtest 30 looks like 10x overhead of an empty subroutine call). New advice that upgrade to 2.3.* may fix `overflow' and `highremainder'. Exchange order of initialization of PARI and of `functions_highlevel' with >= 2.3.0; allows installation of highlevel functions (in particular, install() and PostScript printing). New function have_graphics() (not exported). The test engine takes into account have_graphics(). 2.01080602 If AUTOMATED_TESTING, delete (bogus?) environment variable DISPLAY. If AUTOMATED_TESTING, report results of failing tests on STDERR. Make test suite report rough run times for successful subtests. 2.01080603 Fix misprint and change die() to warn() on failure of $ftp->quit... Add some void's in Pari.xs. UNDONE (wrong): Protect init_graph() by NO_GRAPHICS_PARI (in restart code); include rect.h instead... sv2pari(),sv2parimat(): a stupid compiler might guess we don't return value... when patching, use && instead of ; in the shell command New function Math::PariBuild::patch_args() Math::PariBuild::patch_pari() supports option --binary, \ as directory separator in command processor. Make uname parser recognize i686-pc as ix86. Generator of function descriptors could try to regenerate existing file. nok_print() in Testout.pm was defined too late.
2010-02-06 11:52:37 +01:00
.include "../../math/pari/buildlink3.mk"
MAKE_PARAMS+= libpari=${PARI_LIB}
.if !empty(PKG_BUILD_OPTIONS.pari:Mgmp)
MAKE_PARAMS+= addlibs="-lgmp"
.endif
2002-10-27 22:20:37 +01:00
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"