Index: head/devel/p5-Algorithm-Cluster/Makefile =================================================================== --- head/devel/p5-Algorithm-Cluster/Makefile (revision 499268) +++ head/devel/p5-Algorithm-Cluster/Makefile (revision 499269) @@ -1,25 +1,27 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= Algorithm-Cluster PORTVERSION= 1.57 CATEGORIES= devel perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:MDEHOON PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Perl interface to C clustering library LICENSE= ART10 GPLv1+ LICENSE_COMB= dual +BROKEN_FreeBSD_13_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output + USES= perl5 USE_PERL5= configure MAKE_JOBS_UNSAFE= yes post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Algorithm/Cluster/Cluster.so .include Index: head/math/PDL/Makefile =================================================================== --- head/math/PDL/Makefile (revision 499268) +++ head/math/PDL/Makefile (revision 499269) @@ -1,100 +1,102 @@ # Created by: Anton Berezin # $FreeBSD$ PORTNAME= PDL PORTVERSION= 2.019 PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN MAINTAINER= perl@FreeBSD.org COMMENT= Perl Data Language LICENSE= ART10 GPLv1+ LICENSE_COMB= dual +BROKEN_FreeBSD_13_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output + BUILD_DEPENDS= p5-Astro-FITS-Header>=0:astro/p5-Astro-FITS-Header \ p5-Convert-UU>=0:converters/p5-Convert-UU \ p5-File-Map>=0.57:devel/p5-File-Map \ p5-Inline>=0.68:devel/p5-Inline \ p5-Inline-C>=0.62:devel/p5-Inline-C \ p5-List-MoreUtils>=0:lang/p5-List-MoreUtils \ p5-Module-Compile>=0.23:devel/p5-Module-Compile RUN_DEPENDS:= ${BUILD_DEPENDS} BUILD_DEPENDS+= p5-Devel-CheckLib>=1.01:devel/p5-Devel-CheckLib TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ p5-Test-Exception>=0:devel/p5-Test-Exception \ p5-Test-Warn>=0:devel/p5-Test-Warn PORTSCOUT= limit:^[0-9]\.[0-9][0-9]+[0-9\.]*$$ USES= gmake perl5 USE_PERL5= configure MAKE_ENV= PERL5LIB=${WRKSRC}/blib/lib PLIST_FILES= bin/pdl bin/pdl2 bin/pdldoc bin/perldl bin/pptemplate \ ${SITE_ARCH_REL}/Inline/Pdlpp.pm \ ${SITE_ARCH_REL}/Inline/MakePdlppInstallable.pm MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PGPLOT PLPLOT OPENGL GD FFTW GSL HDF PROJ F77 READLINE SINK OPTIONS_DEFAULT=PGPLOT FFTW F77 # graphics/p5-OpenGL require manual building .if empty(PACKAGE_BUILDING) OPTIONS_DEFAULT+= OPENGL .endif PGPLOT_DESC= Enable PDL::Graphics::PGPLOT PLPLOT_DESC= Enable PDL::Graphics::PLplot OPENGL_DESC= Enable PDL::Graphics::TriD and OpenGL GD_DESC= Enable PDL::IO::GD FFTW_DESC= Enable PDL::FFTW GSL_DESC= Enable PDL::GSL interface HDF_DESC= Enable PDL::IO::HDF interface PROJ_DESC= Enable PDL::GIS::Proj interface F77_DESC= Enable PDL::Minuit and PDL::Slatec READLINE_DESC= Use GNU readline SINK_DESC= Include PDL kitchen sink PGPLOT_BUILD_DEPENDS= p5-PGPLOT>=0:graphics/p5-PGPLOT PLPLOT_LIB_DEPENDS= libplplotd.so:math/plplot OPENGL_BUILD_DEPENDS= p5-OpenGL>=0.65:graphics/p5-OpenGL OPENGL_RUN_DEPENDS:= ${OPENGL_BUILD_DEPENDS} OPENGL_USE= gl=yes GD_LIB_DEPENDS= libgd.so:graphics/gd F77_BUILD_DEPENDS= p5-ExtUtils-F77>=0:lang/p5-ExtUtils-F77 FFTW_LIB_DEPENDS= libfftw.so:math/fftw GSL_LIB_DEPENDS= libgsl.so:math/gsl HDF_LIB_DEPENDS= libdf.so:science/hdf PROJ_LIB_DEPENDS= libproj.so:graphics/proj READLINE_RUN_DEPENDS= p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu READLINE_RUN_DEPENDS_OFF= p5-Term-ReadLine-Perl>=0:devel/p5-Term-ReadLine-Perl SINK_RUN_DEPENDS= ppmtogif:graphics/netpbm \ mpeg_encode:multimedia/mpeg_encode \ saoimage:astro/saoimage post-patch: @${GREP} -lR '#!/.*bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/.*bin/perl|#!${PERL}|' -i '' @${GREP} -lR 'x86_64' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|x86_64|amd64|g' -i '' @${REINPLACE_CMD} -e "/POSIX_THREADS_LIBS/ s|undef|'-lpthread'|" \ ${WRKSRC}/perldl.conf post-install: ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL -name '*.so' \ | ${XARGS} ${STRIP_CMD} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pdl # autogen plist @(cd ${WRKSRC}; ${PERL} -Iblib/lib -Iblib/arch Doc/scantree.pl) @(cd ${WRKSRC}/blib/man3 ; \ ${FIND} *.3 | ${SED} "s,^,${MAN3PREFIX}/man/man3/,;s/3$$/3.gz/" \ >> ${TMPPLIST} ; \ cd ${WRKSRC}/blib/man1 ; \ ${FIND} *.1 | ${SED} "s,^,${MAN1PREFIX}/man/man1/,;s/1$$/1.gz/" \ >> ${TMPPLIST}) @(${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/PDL* -type f | \ ${SED} "s,^${STAGEDIR}${PREFIX}/,," >> ${TMPPLIST} ; \ ${FIND} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL -type f \ -name "[A-Z]*" | ${SED} "s,^${STAGEDIR}${PREFIX}/,," \ >> ${TMPPLIST}) .include Index: head/math/p5-Math-Pari/Makefile =================================================================== --- head/math/p5-Math-Pari/Makefile (revision 499268) +++ head/math/p5-Math-Pari/Makefile (revision 499269) @@ -1,66 +1,67 @@ # Created by: Michael Haro # $FreeBSD$ PORTNAME= Math-Pari PORTVERSION= 2.01080900 CATEGORIES= math perl5 MASTER_SITES= CPAN \ http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/2.3/:pari \ http://mirrors.rit.edu/zi/:pari PKGNAMEPREFIX= p5- DISTFILES= ${DISTNAME}.zip \ pari-2.3.5.tar.gz:pari MAINTAINER= perl@FreeBSD.org COMMENT= PARI - numerical/scientific/number-theoretic calculations LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BROKEN_aarch64= fails to link: mp.c:(function pari_kernel_init): can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol 'gpmalloc' defined in init.o +BROKEN_FreeBSD_13_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output LIB_DEPENDS= libgmp.so:math/gmp USES= perl5 USE_PERL5= configure LLD_UNSAFE= yes # lld defaults to -ztext PARI_WRKSRC= ${WRKDIR}/pari-2.3.5 CFLAGS+= -I${PARI_WRKSRC}/src/headers -I${PARI_WRKSRC}/build CONFIGURE_ARGS= parilib="-L${PARI_WRKSRC}/build -lpari" \ paridir=${PARI_WRKSRC} MAKE_ARGS= LDLOADLIBS="-lm -L${PARI_WRKSRC}/build -Wl,-rpath=${SITE_ARCH}/auto/Math/Pari -lpari" post-patch: @${REINPLACE_CMD} -e 's|2001007|2003000|' ${WRKSRC}/Makefile.PL @${REINPLACE_CMD} -E '/^list=/s/(ld|ranlib|perl|emacs)//g' \ ${PARI_WRKSRC}/Configure @${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \ ${PARI_WRKSRC}/config/get_cc pre-configure: cd ${PARI_WRKSRC} && ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \ INSTALL="/usr/bin/install -c" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_LIB="${INSTALL_LIB}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ld="${LD}" perl="${PERL}" ranlib="${RANLIB}" \ ./Configure --mandir=${MANPREFIX}/man/man1 \ --prefix=${PREFIX} \ --share-prefix=${PREFIX}/share \ --with-gmp=${LOCALBASE} pre-build: cd ${PARI_WRKSRC} && ${DO_MAKE_BUILD:N-j*} gp cd ${PARI_WRKSRC} && ln -s $$(dirname $$(readlink gp)) build post-install: ${INSTALL_LIB} ${PARI_WRKSRC}/build/libpari-gmp.so.2.3.5 ${STAGEDIR}${SITE_ARCH}/auto/Math/Pari ${LN} -s libpari-gmp.so.2.3.5 ${STAGEDIR}${SITE_ARCH}/auto/Math/Pari/libpari-gmp.so.2 .include