Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2024 12:06:11 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 299683ae32dd - main - lang/gnu-cobol: Fix ld error
Message-ID:  <202402231206.41NC6Buf017736@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=299683ae32dd945383498c0e78c2a274a4c94258

commit 299683ae32dd945383498c0e78c2a274a4c94258
Author:     Marcin Cieślak <saper@saper.info>
AuthorDate: 2024-02-23 12:03:50 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-23 12:05:11 +0000

    lang/gnu-cobol: Fix ld error
    
    PR:             277229
    Reported by:    saper@saper.info
---
 lang/gnu-cobol/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lang/gnu-cobol/Makefile b/lang/gnu-cobol/Makefile
index 8690cf388b63..3cd6db52ef7e 100644
--- a/lang/gnu-cobol/Makefile
+++ b/lang/gnu-cobol/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gnucobol
 PORTVERSION=	3.2
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	GNU/gnucobol
 
@@ -17,6 +18,8 @@ LIB_DEPENDS=	libgmp.so:math/gmp \
 USES=		bdb gmake libtool ncurses tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	MATH_LIBS=-lm
+
 TEST_TARGET=	check
 TEST_ENV=	TESTSUITEFLAGS=--jobs=${MAKE_JOBS_NUMBER}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402231206.41NC6Buf017736>