Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 07:57:32 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545278 - head/databases/gdbm
Message-ID:  <202008190757.07J7vWkv051067@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Wed Aug 19 07:57:32 2020
New Revision: 545278
URL: https://svnweb.freebsd.org/changeset/ports/545278

Log:
  - Fix the build with -fno-common (clang 11 and gcc 10)
  - GC no longer useful patching of ${WRKSRC}/Makefile.in
  
  PR:	248729, 248734

Modified:
  head/databases/gdbm/Makefile

Modified: head/databases/gdbm/Makefile
==============================================================================
--- head/databases/gdbm/Makefile	Wed Aug 19 07:46:11 2020	(r545277)
+++ head/databases/gdbm/Makefile	Wed Aug 19 07:57:32 2020	(r545278)
@@ -29,10 +29,8 @@ NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=	gettext
 
 post-patch:
-	@${REINPLACE_CMD} -e "s|LIBS = @LIBS@ -lc|LIBS = @LIBS@|" \
-		-e "s|BINOWN = bin|BINOWN = root|" \
-		-e "s|BINGRP = bin|BINGRP = wheel|" \
-		-e "s|libgdbm.la libgdbm_compat.la|& gdbm.info|" \
-			${WRKSRC}/Makefile.in
+# Fix the build with -fno-common (clang 11 and gcc 10)
+	@${REINPLACE_CMD} -e '/^char \*parseopt_program_[ad]/d' \
+		${WRKSRC}/src/parseopt.c
 
 .include <bsd.port.mk>



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