git: f81d67ce4708 - main - lang/gprolog: unbreak for FreeBSD 13+

Eugene Grosbein eugen at FreeBSD.org
Fri May 14 16:13:25 UTC 2021


The branch main has been updated by eugen:

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

commit f81d67ce4708392d1b0f326110e7471a7290559d
Author:     Eugene Grosbein <eugen at FreeBSD.org>
AuthorDate: 2021-05-14 16:12:31 +0000
Commit:     Eugene Grosbein <eugen at 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


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