svn commit: r545278 - head/databases/gdbm

Alexey Dokuchaev danfe at FreeBSD.org
Wed Aug 19 07:57:32 UTC 2020


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>


More information about the svn-ports-head mailing list