Index: head/math/libnormaliz/Makefile =================================================================== --- head/math/libnormaliz/Makefile (revision 501142) +++ head/math/libnormaliz/Makefile (revision 501143) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= libnormaliz DISTVERSIONPREFIX= v -DISTVERSION= 3.6.3 -PORTREVISION= 2 +DISTVERSION= 3.7.2 CATEGORIES= math MAINTAINER= phascolarctos@protonmail.ch COMMENT= Computations in affin monoids, vector configurations etc LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/dynamic_bitset.hpp:devel/boost-libs \ ${LOCALBASE}/include/gmpxx.h:math/gmp -USES= compiler:c++11-lang gmake +USES= autoreconf compiler:c++11-lang gmake libtool USE_GITHUB= yes GH_ACCOUNT= Normaliz GH_PROJECT= Normaliz BUILD_WRKSRC= ${WRKSRC}/source/libnormaliz INSTALL_WRKSRC= ${WRKSRC}/source/libnormaliz CXXFLAGS+= -I ${LOCALBASE}/include MAKEFILE= Makefile.classic +GNU_CONFIGURE= yes +LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= COCOA DOCS FLINT OPENMP COCOA_DESC= Link with libcocoa.a (might cause circular dependency) -FLINT_DESC= Link with libflint.a COCOA_BUILD_DEPENDS= ${LOCALBASE}/lib/libcocoa.a:math/cocoalib -COCOA_CXXFLAGS= -DNMZ_COCOA -DCoCoA_THREADSAFE_HACK -COCOA_LDFLAGS= ${LOCALBASE}/lib -lcocoa +COCOA_CONFIGURE_ENABLE= nmzintegrate +FLINT_DESC= Link with libflint.so FLINT_BUILD_DEPENDS= ${LOCALBASE}/lib/libflint.so:math/flint2 -FLINT_CXXFLAGS= -DNMZ_FLINT -FLINT_LDFLAGS= -L ${LOCALBASE}/lib -lflint -lmpfr +FLINT_CONFIGURE_ENABLE= flint +FLINT_LDFLAGS= -lpthread OPENMP_BUILD_DEPENDS= ${LOCALBASE}/lib/libomp.so:devel/openmp -OPENMP_CXXFLAGS= -fopenmp +OPENMP_CONFIGURE_ENABLE= openmp do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/include/libnormaliz ${INSTALL_DATA} ${INSTALL_WRKSRC}/libnormaliz.a ${STAGEDIR}${PREFIX}/lib cd ${INSTALL_WRKSRC} && ${INSTALL_DATA} cone.h cone_property.h convert.h general.h HilbertSeries.h integer.h libnormaliz.h map_operations.h matrix.h my_omp.h normaliz_exception.h sublattice_representation.h vector_operations.h version.h nmz_integrate.h ${STAGEDIR}${PREFIX}/include/libnormaliz post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/Normaliz.pdf ${STAGEDIR}${DOCSDIR} .include Index: head/math/libnormaliz/distinfo =================================================================== --- head/math/libnormaliz/distinfo (revision 501142) +++ head/math/libnormaliz/distinfo (revision 501143) @@ -1,3 +1,3 @@ -TIMESTAMP = 1536314303 -SHA256 (Normaliz-Normaliz-v3.6.3_GH0.tar.gz) = 1c3dad1f5256c92dde21b0eea1423afe95d98863c90f5e4cb429ffa71ba57f54 -SIZE (Normaliz-Normaliz-v3.6.3_GH0.tar.gz) = 9923720 +TIMESTAMP = 1557398323 +SHA256 (Normaliz-Normaliz-v3.7.2_GH0.tar.gz) = 90137933ea7f90209ba3065c9055e564e30bf42cf75d0609fc913c65e0a6de6a +SIZE (Normaliz-Normaliz-v3.7.2_GH0.tar.gz) = 4515223 Index: head/math/libnormaliz/files/patch-source_libnormaliz_nmz__integral.cpp =================================================================== --- head/math/libnormaliz/files/patch-source_libnormaliz_nmz__integral.cpp (revision 501142) +++ head/math/libnormaliz/files/patch-source_libnormaliz_nmz__integral.cpp (nonexistent) @@ -1,11 +0,0 @@ ---- source/libnormaliz/nmz_integral.cpp.orig 2018-09-25 05:50:07 UTC -+++ source/libnormaliz/nmz_integral.cpp -@@ -403,7 +403,7 @@ try{ - vector test_grading=C.getSublattice().to_sublattice_dual_no_div(C.getGrading()); - Integer corr_factor=v_gcd(test_grading); - mpz_class corr_mpz=convertTo(corr_factor); -- I*=BigInt(corr_mpz.get_mpz_t()); -+ I*=BigIntFromMPZ(corr_mpz.get_mpz_t()); - - string result="Integral"; - if(do_virt_mult) Property changes on: head/math/libnormaliz/files/patch-source_libnormaliz_nmz__integral.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property