git: 79b0a197fbd4 - main - math/libsemigroups: respect user-provided CFLAGS

Thierry Thomas thierry at FreeBSD.org
Thu May 6 21:00:18 UTC 2021


The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79b0a197fbd49992bd13bcde0654aba37cc3da2c

commit 79b0a197fbd49992bd13bcde0654aba37cc3da2c
Author:     Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-05-06 20:57:18 +0000
Commit:     Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-05-06 21:00:01 +0000

    math/libsemigroups: respect user-provided CFLAGS
---
 math/libsemigroups/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/math/libsemigroups/Makefile b/math/libsemigroups/Makefile
index 6c7f516c7f9d..7092325ef0aa 100644
--- a/math/libsemigroups/Makefile
+++ b/math/libsemigroups/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	libsemigroups
 PORTVERSION=	1.3.7
 DISTVERSIONPREFIX=	v
+PORTREVISION=	1
 CATEGORIES=	math
 
 MAINTAINER=	thierry at FreeBSD.org
@@ -40,6 +41,6 @@ pre-configure:
 		${WRKSRC}/include/libsemigroups/hpcombi.hpp
 .endif
 	${REINPLACE_CMD} -e 's|fmtinclude_HEADERS|#fmtinclude_HEADERS|'	\
-		${WRKSRC}/Makefile.am
+		-e 's|-O3 ||' ${WRKSRC}/Makefile.am
 
 .include <bsd.port.post.mk>


More information about the dev-commits-ports-all mailing list