FreeBSD Bugzilla – Attachment 114075 Details for
Bug 155707
port: math/PDL upgrades to 2.4.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-PDL-2.4.7
patch-PDL-2.4.7 (text/plain), 6.96 KB, created by
lichray
on 2011-03-20 01:00:10 UTC
(
hide
)
Description:
patch-PDL-2.4.7
Filename:
MIME Type:
Creator:
lichray
Created:
2011-03-20 01:00:10 UTC
Size:
6.96 KB
patch
obsolete
>===> Generating patch >===> Viewing diff with more >diff -ruN --exclude=CVS /usr/ports/math/PDL.orig/Makefile /usr/ports/math/PDL/Makefile >--- /usr/ports/math/PDL.orig/Makefile 2011-03-04 09:28:53.000000000 -0600 >+++ /usr/ports/math/PDL/Makefile 2011-03-19 19:26:59.183846586 -0500 >@@ -7,8 +7,7 @@ > # > > PORTNAME= PDL >-PORTVERSION= 2.4.4 >-PORTREVISION= 8 >+PORTVERSION= 2.4.7 > CATEGORIES= math perl5 > MASTER_SITES= CPAN/${PORTNAME}:cpan \ > SF/pdl/PDL/${PORTVERSION}:sf >@@ -17,19 +16,11 @@ > MAINTAINER= perl@FreeBSD.org > COMMENT= Perl Data Language > >-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/PGPLOT.pm:${PORTSDIR}/graphics/pgperl \ >- ${SITE_PERL}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77 \ >- ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ >+BUILD_DEPENDS= ${SITE_PERL}/Inline.pm:${PORTSDIR}/devel/p5-Inline \ > ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter \ >- ${SITE_PERL}/Astro/FITS/Header.pm:${PORTSDIR}/astro/p5-Astro-FITS-Header \ >- ${SITE_PERL}/${PERL_ARCH}/PGPLOT.pm:${PORTSDIR}/graphics/pgperl \ >- ${SITE_PERL}/Term/ReadLine/readline.pm:${PORTSDIR}/devel/p5-ReadLine-Perl >-LIB_DEPENDS= plplotd.10:${PORTSDIR}/math/plplot \ >- fftw.2:${PORTSDIR}/math/fftw \ >- gsl.15:${PORTSDIR}/math/gsl >+ ${SITE_PERL}/Astro/FITS/Header.pm:${PORTSDIR}/astro/p5-Astro-FITS-Header > RUN_DEPENDS= ${BUILD_DEPENDS} > >-USE_GL= yes > PERL_CONFIGURE= yes > USE_GMAKE= yes > MAKE_ENV+= PERL5LIB=${WRKSRC}/blib/lib >@@ -39,23 +30,66 @@ > ${SITE_PERL_REL}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm > MAKE_JOBS_UNSAFE= yes > >-.if defined(KITCHEN_SINK) >-RUN_DEPENDS+= ppmtogif:${PORTSDIR}/graphics/netpbm \ >- mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \ >- saoimage:${PORTSDIR}/astro/saoimage >+OPTIONS= PGPLOT "Enable PDL::Graphics::PGPLOT" on \ >+ PLPLOT "Enable PDL::Graphics::PLplot" off \ >+ GL "Enable PDL::Graphics::TriD and OpenGL" on \ >+ GD "Enable PDL::IO::GD" off \ >+ FFTW "Enable PDL::FFTW" on \ >+ GSL "Enable PDL::GSL interface" off \ >+ HDF "Enable PDL::IO::HDF interface" off \ >+ PROJ "Enable PDL::GIS::Proj interface" off \ >+ F77 "Enable PDL::Minuit and PDL::Slatec" on \ >+ READLINE "Use GNU readline" off \ >+ SINK "Include PDL kitchen sink" off >+ >+.include <bsd.port.options.mk> >+ >+.if defined(WITH_PGPLOT) >+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/PGPLOT.pm:${PORTSDIR}/graphics/pgperl > .endif > >-.SILENT: >+.if defined(WITH_PLPLOT) >+LIB_DEPENDS+= plplotd.10:${PORTSDIR}/math/plplot >+.endif > >-.if !defined(KITCHEN_SINK) >-pre-extract: >- ${ECHO} "You can build additional functionality into PDL by defining KITCHEN_SINK" >+.if defined(WITH_GL) >+USE_GL= yes > .endif > >-.include <bsd.port.pre.mk> >+.if defined(WITH_GD) >+LIB_DEPENDS+= gd:${PORTSDIR}/graphics/gd >+.endif >+ >+.if defined(WITH_F77) >+BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/F77.pm:${PORTSDIR}/lang/p5-F77 >+.endif >+ >+.if defined(WITH_FFTW) >+LIB_DEPENDS+= fftw.2:${PORTSDIR}/math/fftw >+.endif >+ >+.if defined(WITH_GSL) >+LIB_DEPENDS+= gsl:${PORTSDIR}/math/gsl >+.endif >+ >+.if defined(WITH_HDF) >+LIB_DEPENDS+= df:${PORTSDIR}/science/hdf >+.endif >+ >+.if defined(WITH_PROJ) >+LIB_DEPENDS+= proj:${PORTSDIR}/graphics/proj >+.endif > >-.if ${ARCH} == "alpha" >-BROKEN= test script t/flexraw.t fails all 26 tests >+.if defined(WITH_READLINE) >+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Term/ReadLine/Gnu.pm:${PORTSDIR}/devel/p5-ReadLine-Gnu >+.else >+RUN_DEPENDS+= ${SITE_PERL}/Term/ReadLine/readline.pm:${PORTSDIR}/devel/p5-ReadLine-Perl >+.endif >+ >+.if defined(WITH_SINK) >+RUN_DEPENDS+= ppmtogif:${PORTSDIR}/graphics/netpbm \ >+ mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \ >+ saoimage:${PORTSDIR}/astro/saoimage > .endif > > post-patch: >@@ -84,4 +118,5 @@ > ${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type d | ${SORT} -r | \ > ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}) > >+.include <bsd.port.pre.mk> > .include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/math/PDL.orig/distinfo /usr/ports/math/PDL/distinfo >--- /usr/ports/math/PDL.orig/distinfo 2009-02-01 12:52:44.000000000 -0600 >+++ /usr/ports/math/PDL/distinfo 2011-03-19 16:20:01.853390495 -0500 >@@ -1,3 +1,2 @@ >-MD5 (PDL-2.4.4.tar.gz) = 1c3e8f2fd001a8b48687fb277bc16eed >-SHA256 (PDL-2.4.4.tar.gz) = e7d4dfcae14f02dac1b0b353465bb49f474304d8a6e7e139dc62fefdcb77978d >-SIZE (PDL-2.4.4.tar.gz) = 2341784 >+SHA256 (PDL-2.4.7.tar.gz) = 907ecfa69fa2bdfc5d3464eab7eda9df11f647b4fb3cb87e25969bc29f710a58 >+SIZE (PDL-2.4.7.tar.gz) = 2598921 >diff -ruN --exclude=CVS /usr/ports/math/PDL.orig/files/patch-gg /usr/ports/math/PDL/files/patch-gg >--- /usr/ports/math/PDL.orig/files/patch-gg 2004-03-11 20:58:25.000000000 -0600 >+++ /usr/ports/math/PDL/files/patch-gg 1969-12-31 18:00:00.000000000 -0600 >@@ -1,12 +0,0 @@ >---- Basic/Math/mconf.h.orig Wed Sep 25 00:57:31 2002 >-+++ Basic/Math/mconf.h Wed Sep 25 00:58:06 2002 >-@@ -89,7 +89,9 @@ >- #endif >- #if defined __alpha && ! defined __linux >- #include <float.h> >-+#ifndef __FreeBSD__ >- #include <nan.h> >-+#endif >- #endif >- #ifndef NANARG >- #define NANARG >diff -ruN --exclude=CVS /usr/ports/math/PDL.orig/files/patch-mconf.h /usr/ports/math/PDL/files/patch-mconf.h >--- /usr/ports/math/PDL.orig/files/patch-mconf.h 1969-12-31 18:00:00.000000000 -0600 >+++ /usr/ports/math/PDL/files/patch-mconf.h 2011-03-19 17:12:52.000000000 -0500 >@@ -0,0 +1,13 @@ >+--- Basic/Math/mconf.h.orig 2010-05-08 21:43:08.000000000 -0500 >++++ Basic/Math/mconf.h 2011-03-19 17:12:01.099417176 -0500 >+@@ -89,8 +89,10 @@ Copyright 1984, 1987, 1989, 1995 by Step >+ #endif >+ #if defined __alpha && ! defined __linux >+ #include <float.h> >++#ifndef __FreeBSD__ >+ #include <nan.h> >+ #endif >++#endif >+ #ifndef NANARG >+ #define NANARG >+ #endif >diff -ruN --exclude=CVS /usr/ports/math/PDL.orig/files/patch-perldl.conf /usr/ports/math/PDL/files/patch-perldl.conf >--- /usr/ports/math/PDL.orig/files/patch-perldl.conf 2006-10-05 23:04:05.000000000 -0500 >+++ /usr/ports/math/PDL/files/patch-perldl.conf 2011-03-19 19:07:23.000000000 -0500 >@@ -1,21 +1,20 @@ >---- perldl.conf.orig Thu Aug 17 10:59:51 2006 >-+++ perldl.conf Mon Oct 2 09:45:30 2006 >-@@ -113,6 +113,9 @@ >- # OPENGL_LIBS => undef, >- # OPENGL_INC => undef, >- # OPENGL_DEFINE => undef, >-+ OPENGL_LIBS => '-L/usr/X11R6/lib -lGL -lGLU -lXext -lX11', >-+ OPENGL_INC => '-I/usr/X11R6/include', >-+ OPENGL_DEFINE => '-DGL_GLEXT_LEGACY', >- >- # Whether or not to build the Karma interface module >- >-@@ -191,7 +194,7 @@ >- # about curses to fix it >- # - 1 builds, 0 or undef does not build >+--- perldl.conf.orig 2010-08-15 12:38:21.000000000 -0500 >++++ perldl.conf 2011-03-19 19:07:04.854128623 -0500 >+@@ -229,7 +229,7 @@ >+ # Do we build PDL::IO::Browser? >+ # default -> do not build (module needs to be updated) > # > - WITH_IO_BROWSER => 0, > + WITH_IO_BROWSER => 1, > > # Quiet Astro::FITS::Header warnings for PDL build process by default > # Eventually would be better to set undef by default, and have the >+@@ -246,7 +246,7 @@ >+ # false -> don't install pdl2 support >+ # true -> force pdl2 install (default) >+ >+- WITH_DEVEL_REPL => 1, >++ WITH_DEVEL_REPL => 0, >+ >+ # Set this for official CPAN releases of PDL since these >+ # tests will always fail until they are fixed. It can also >===> Done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 155707
: 114075 |
114076