Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2021 16:13:25 GMT
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f81d67ce4708 - main - lang/gprolog: unbreak for FreeBSD 13+
Message-ID:  <202105141613.14EGDPTL006261@gitrepo.freebsd.org>

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

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

commit f81d67ce4708392d1b0f326110e7471a7290559d
Author:     Eugene Grosbein <eugen@FreeBSD.org>
AuthorDate: 2021-05-14 16:12:31 +0000
Commit:     Eugene Grosbein <eugen@FreeBSD.org>
CommitDate: 2021-05-14 16:12:31 +0000

    lang/gprolog: unbreak for FreeBSD 13+
    
    It needs GNU as to build and -fcommon to link.
---
 lang/gprolog/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index 23b36be91163..02cac83e0df3 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -12,11 +12,11 @@ LICENSE=	GPLv2
 
 ONLY_FOR_ARCHS=	amd64 i386
 
-BROKEN=		does not build: error trying to execute   -o: No such file or directory
+BUILD_DEPENDS=	as:devel/binutils
 
 USES=		gmake
 CFLAGS+=	-DUSE_LOCKS=1 -DUSE_RECURSIVE_LOCKS=1 -DUSE_SPIN_LOCKS=0 \
-		-DMMAP_CLEARS=0 -DNO_MACHINE_REG_FOR_REG_BANK
+		-DMMAP_CLEARS=0 -DNO_MACHINE_REG_FOR_REG_BANK -fcommon
 
 PLIST_SUB=	GPROLOG_VER=${PORTVERSION}
 GNU_CONFIGURE=	yes



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