svn commit: r548676 - head/textproc/mdocml
Ulrich Spörlein
uqs at FreeBSD.org
Mon Sep 14 19:28:02 UTC 2020
Author: uqs
Date: Mon Sep 14 19:28:01 2020
New Revision: 548676
URL: https://svnweb.freebsd.org/changeset/ports/548676
Log:
Fix build with clang11/gcc10
Modified:
head/textproc/mdocml/Makefile
Modified: head/textproc/mdocml/Makefile
==============================================================================
--- head/textproc/mdocml/Makefile Mon Sep 14 19:22:02 2020 (r548675)
+++ head/textproc/mdocml/Makefile Mon Sep 14 19:28:01 2020 (r548676)
@@ -19,11 +19,11 @@ LIB_DEPENDS= libsqlite3.so:databases/sqlite3
EXAMPLESDIR= ${PREFIX}/share/examples/mandoc
HAS_CONFIGURE= yes
-CFLAGS+= -I${LOCALBASE}/include
+CFLAGS+= -I${LOCALBASE}/include -fcommon # clang11/gcc10
LDFLAGS+= -L${LOCALBASE}/lib
post-configure:
- @${REINPLACE_CMD} -e '/^CFLAGS/s/-g//' -e '/^PREFIX/s/=/?=/' \
+ @${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \
-e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \
${WRKSRC}/Makefile.local
More information about the svn-ports-head
mailing list