diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile index 6611081cfa51..26bfb509e4ef 100644 --- a/textproc/mdocml/Makefile +++ b/textproc/mdocml/Makefile @@ -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