math/m4ri: Improve port
* Don't detect CPU features from build host, rely on CPUTYPE provided by framework * Adjust Makefile to closer follow Porters Handbook PR: 284367 Approved by: portmgr (maintainer timeout, 2 weeks)
This commit is contained in:
parent
8b6c49f551
commit
f11a2a6eb6
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= M4RI
|
PORTNAME= M4RI
|
||||||
PORTVERSION= 20240729
|
|
||||||
DISTVERSIONPREFIX= release-
|
DISTVERSIONPREFIX= release-
|
||||||
|
DISTVERSION= 20240729
|
||||||
CATEGORIES= math
|
CATEGORIES= math
|
||||||
|
|
||||||
MAINTAINER= thierry@FreeBSD.org
|
MAINTAINER= thierry@FreeBSD.org
|
||||||
@ -15,10 +15,11 @@ USE_GITHUB= yes
|
|||||||
GH_ACCOUNT= malb
|
GH_ACCOUNT= malb
|
||||||
GH_PROJECT= ${PORTNAME:tl}
|
GH_PROJECT= ${PORTNAME:tl}
|
||||||
|
|
||||||
USES= autoreconf libtool localbase pkgconfig
|
USES= autoreconf libtool:ldflags localbase pathfix pkgconfig
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_LDCONFIG= yes
|
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.if defined(MAINTAINER_MODE)
|
.if defined(MAINTAINER_MODE)
|
||||||
|
|||||||
11
math/m4ri/files/patch-configure.ac
Normal file
11
math/m4ri/files/patch-configure.ac
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- configure.ac.orig 2025-01-26 11:45:07 UTC
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -39,7 +39,7 @@ AS_IF([test "x$enable_sse2" != "xno"], [
|
||||||
|
if test "$m4ri_wrapword" = "yes"; then
|
||||||
|
AC_MSG_ERROR([SSE2 cannot be supported when wrapping word in a C++ class.])
|
||||||
|
fi
|
||||||
|
- AX_EXT()
|
||||||
|
+# AX_EXT()
|
||||||
|
])
|
||||||
|
if test x"$ax_cv_have_sse2_ext" = x"yes"; then
|
||||||
|
M4RI_HAVE_SSE2=1
|
||||||
@ -1,8 +1,8 @@
|
|||||||
--- m4ri.pc.in.orig 2024-07-29 12:30:45 UTC
|
--- m4ri.pc.in.orig 2025-01-26 11:44:34 UTC
|
||||||
+++ m4ri.pc.in
|
+++ m4ri.pc.in
|
||||||
@@ -8,4 +8,4 @@ Libs: -L${libdir} -lm4ri @RAW_LIBPNG@ @LIBM@ @LIBPNG_L
|
@@ -8,4 +8,4 @@ Libs: -L${libdir} -lm4ri @RAW_LIBPNG@ @LIBM@ @LIBPNG_L
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
Requires: @M4RI_USE_PNG_PC@
|
Requires: @M4RI_USE_PNG_PC@
|
||||||
Libs: -L${libdir} -lm4ri @RAW_LIBPNG@ @LIBM@ @LIBPNG_LIBADD@
|
Libs: -L${libdir} -lm4ri @RAW_LIBPNG@ @LIBM@ @LIBPNG_LIBADD@
|
||||||
-Cflags: -I${includedir} @SIMD_CFLAGS@ @OPENMP_CFLAGS@ @LIBPNG_CFLAGS@
|
-Cflags: -I${includedir} @SIMD_CFLAGS@ @OPENMP_CFLAGS@ @LIBPNG_CFLAGS@
|
||||||
+Cflags: -I${includedir} @SIMD_FLAGS@ @OPENMP_CFLAGS@ @LIBPNG_CFLAGS@
|
+Cflags: -I${includedir} @OPENMP_CFLAGS@ @LIBPNG_CFLAGS@
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user