aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-19 07:57:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-08-19 07:57:32 +0000
commitedc22125b030f9807e4bc0773f94141dfa2e6deb (patch)
treee86c239f7dc4f8013acc8eb039ef1e931c05bcd7 /databases
parent991451736428c4f178ee3768dc72708154c0dcec (diff)
downloadports-edc22125b030f9807e4bc0773f94141dfa2e6deb.tar.gz
ports-edc22125b030f9807e4bc0773f94141dfa2e6deb.zip
- Fix the build with -fno-common (clang 11 and gcc 10)
- GC no longer useful patching of ${WRKSRC}/Makefile.in PR: 248729, 248734
Notes
Notes: svn path=/head/; revision=545278
Diffstat (limited to 'databases')
-rw-r--r--databases/gdbm/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index e35b18441b47..d1aefc707352 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -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>