pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May 16 10:10:54 UTC 2021

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/libquadmath: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
add math/libquadmath

GCC Quad-Precision Math Library


To generate a diff of this commit:
cvs rdiff -u -r1.498 -r1.499 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/libquadmath/DESCR \
    pkgsrc/math/libquadmath/Makefile pkgsrc/math/libquadmath/PLIST \
    pkgsrc/math/libquadmath/buildlink3.mk pkgsrc/math/libquadmath/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.498 pkgsrc/math/Makefile:1.499
--- pkgsrc/math/Makefile:1.498  Thu Apr 29 23:31:41 2021
+++ pkgsrc/math/Makefile        Sun May 16 10:10:54 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.498 2021/04/29 23:31:41 thor Exp $
+# $NetBSD: Makefile,v 1.499 2021/05/16 10:10:54 nia Exp $
 
 COMMENT=       Mathematics
 
@@ -229,6 +229,7 @@ SUBDIR+=    liblbfgs
 SUBDIR+=       liblinear
 SUBDIR+=       libmatheval
 SUBDIR+=       libnumbertext
+SUBDIR+=       libquadmath
 SUBDIR+=       libshorttext
 SUBDIR+=       libsvm
 SUBDIR+=       linpack

Added files:

Index: pkgsrc/math/libquadmath/DESCR
diff -u /dev/null pkgsrc/math/libquadmath/DESCR:1.1
--- /dev/null   Sun May 16 10:10:54 2021
+++ pkgsrc/math/libquadmath/DESCR       Sun May 16 10:10:54 2021
@@ -0,0 +1 @@
+GCC Quad-Precision Math Library
Index: pkgsrc/math/libquadmath/Makefile
diff -u /dev/null pkgsrc/math/libquadmath/Makefile:1.1
--- /dev/null   Sun May 16 10:10:54 2021
+++ pkgsrc/math/libquadmath/Makefile    Sun May 16 10:10:54 2021
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+DISTNAME=      gcc-11.1.0
+PKGNAME=       ${DISTNAME:S/gcc/libquadmath/}
+CATEGORIES=    math
+MASTER_SITES=  ${MASTER_SITE_GNU:=gcc/${DISTNAME}/}
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://gcc.gnu.org/
+COMMENT=       GCC Quad-Precision Math Library
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= c99 c++
+USE_TOOLS+=    gmake
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+INFO_FILES=    yes
+
+GNU_CONFIGURE_STRICT=  no
+
+## Build outside ${WRKSRC}
+OBJDIR=                        ../build
+CONFIGURE_DIRS=                ${OBJDIR}
+CONFIGURE_SCRIPT=      ../${DISTNAME}/libquadmath/configure
+CONFIGURE_ARGS+=       --infodir=${PREFIX}/info
+
+PLIST_SUBST+=          NATIVE_MACHINE_GNU_PLATFORM=${NATIVE_MACHINE_GNU_PLATFORM}
+
+CHECK_PORTABILITY_SKIP+=       contrib/*
+
+.include "../../mk/bsd.prefs.mk"
+
+.if empty(PKGSRC_COMPILER:Mgcc*)
+PKG_SKIP_REASON+=      "Uses esoteric GCC-specific features"
+.endif
+
+pre-configure:
+       ${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/libquadmath/PLIST
diff -u /dev/null pkgsrc/math/libquadmath/PLIST:1.1
--- /dev/null   Sun May 16 10:10:54 2021
+++ pkgsrc/math/libquadmath/PLIST       Sun May 16 10:10:54 2021
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/16 10:10:54 nia Exp $
+info/libquadmath.info
+lib/gcc/${NATIVE_MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/quadmath.h
+lib/gcc/${NATIVE_MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/quadmath_weak.h
+lib/libquadmath.la
Index: pkgsrc/math/libquadmath/buildlink3.mk
diff -u /dev/null pkgsrc/math/libquadmath/buildlink3.mk:1.1
--- /dev/null   Sun May 16 10:10:54 2021
+++ pkgsrc/math/libquadmath/buildlink3.mk       Sun May 16 10:10:54 2021
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+BUILDLINK_TREE+=       libquadmath
+
+.if !defined(LIBQUADMATH_BUILDLINK3_MK)
+LIBQUADMATH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libquadmath+=    libquadmath>=11.0
+BUILDLINK_ABI_DEPENDS.libquadmath+=    libquadmath>=11.0
+BUILDLINK_PKGSRCDIR.libquadmath?=      ../../math/libquadmath
+.endif
+
+BUILDLINK_TREE+=       -libquadmath
Index: pkgsrc/math/libquadmath/distinfo
diff -u /dev/null pkgsrc/math/libquadmath/distinfo:1.1
--- /dev/null   Sun May 16 10:10:54 2021
+++ pkgsrc/math/libquadmath/distinfo    Sun May 16 10:10:54 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/16 10:10:54 nia Exp $
+
+SHA1 (gcc-11.1.0.tar.xz) = 9db7917f4ce337026335430814de0a5e991ec6c1
+RMD160 (gcc-11.1.0.tar.xz) = 083384ca351ea1cb6e04d15425af2103c908edf4
+SHA512 (gcc-11.1.0.tar.xz) = fd6bba0f67ff48069d03073d1a9b5e896383b1cfc9dde008e868e60a9ec5014a837d56af0ecbf467b3fb9b37ec74a676e819a18b44393a0a3c4280175b5d7ad8
+Size (gcc-11.1.0.tar.xz) = 78877216 bytes



Home | Main Index | Thread Index | Old Index