mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
math/m4rie: Use upstream release archive
* Use upstream release archive * Fix build after PR 284367 being committed * Adjust Makefile to closer follow Porters Handbook PR: 284368 Approved by: portmgr (maintainer timeout, 2 weeks)
This commit is contained in:
parent
f11a2a6eb6
commit
c82bae03d8
5 changed files with 41 additions and 13 deletions
|
@ -1,7 +1,8 @@
|
|||
PORTNAME= M4RIE
|
||||
PORTVERSION= 20250103
|
||||
DISTVERSIONPREFIX= release-
|
||||
DISTVERSION= 20250103
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://bitbucket.org/malb/${PORTNAME:tl}/downloads/
|
||||
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Library for fast arithmetic with dense matrices over GF(2^e)
|
||||
|
@ -11,16 +12,12 @@ LICENSE= GPLv2+
|
|||
|
||||
LIB_DEPENDS= libm4ri.so:math/m4ri
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= malb
|
||||
GH_PROJECT= ${PORTNAME:tl}
|
||||
|
||||
USES= autoreconf libtool localbase pathfix pkgconfig
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
USES= autoreconf libtool localbase:ldflags pathfix pkgconfig
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
TEST_TARGET= check
|
||||
|
||||
PLIST_SUB= VER=${PORTVERSION}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1737838251
|
||||
SHA256 (malb-m4rie-release-20250103_GH0.tar.gz) = 249fc10b665fd7d902bae6d0e872b5dbf120942c4f15f934de40096b84f9549d
|
||||
SIZE (malb-m4rie-release-20250103_GH0.tar.gz) = 167745
|
||||
TIMESTAMP = 1737891154
|
||||
SHA256 (m4rie-20250103.tar.gz) = 57e233fad69ae9f821179c05e9df001b4893a468b2dff1607ea2adef87cba35c
|
||||
SIZE (m4rie-20250103.tar.gz) = 509373
|
||||
|
|
10
math/m4rie/files/patch-Makefile.am
Normal file
10
math/m4rie/files/patch-Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- Makefile.am.orig 2025-01-26 11:33:54 UTC
|
||||
+++ Makefile.am
|
||||
@@ -1,6 +1,6 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-AM_CFLAGS=${SIMD_FLAGS} ${OPENMP_CFLAGS} ${DEBUG_FLAGS} ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS}
|
||||
+AM_CFLAGS= ${OPENMP_CFLAGS} ${DEBUG_FLAGS} ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS}
|
||||
EXTRA_DIST = m4rie/Doxyfile
|
||||
|
||||
lib_LTLIBRARIES = libm4rie.la
|
11
math/m4rie/files/patch-m4_ax__m4ri__flags.m4
Normal file
11
math/m4rie/files/patch-m4_ax__m4ri__flags.m4
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- m4/ax_m4ri_flags.m4.orig 2025-01-26 11:38:37 UTC
|
||||
+++ m4/ax_m4ri_flags.m4
|
||||
@@ -34,7 +34,7 @@ AC_DEFUN([AX_M4RI_CFLAGS],
|
||||
[[
|
||||
FILE *f;
|
||||
f = fopen("conftest_m4ri_cflags", "w"); if (!f) return 1;
|
||||
- fprintf(f,"%s %s",__M4RI_SIMD_CFLAGS, __M4RI_OPENMP_CFLAGS);
|
||||
+ fprintf(f,"%s",__M4RI_OPENMP_CFLAGS);
|
||||
fclose(f);
|
||||
return 0;
|
||||
]])],
|
10
math/m4rie/files/patch-tests_Makefile.am
Normal file
10
math/m4rie/files/patch-tests_Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- tests/Makefile.am.orig 2025-01-26 11:34:18 UTC
|
||||
+++ tests/Makefile.am
|
||||
@@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
AUTOMAKE_OPTIONS = foreign subdir-objects
|
||||
|
||||
-AM_CFLAGS = ${SIMD_FLAGS} ${OPENMP_CFLAGS} ${DEBUG_FLAGS} ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS} -I${top_srcdir}
|
||||
+AM_CFLAGS = ${OPENMP_CFLAGS} ${DEBUG_FLAGS} ${M4RIE_M4RI_CFLAGS} ${M4RI_CFLAGS} -I${top_srcdir}
|
||||
LDADD = ${top_builddir}/libm4rie.la -lm4ri -lm
|
||||
AM_LDFLAGS = ${M4RIE_M4RI_LDFLAGS} -no-install
|
||||
|
Loading…
Add table
Reference in a new issue