Hi,

Dillo's -fno-common problems have not been fixed upstream.
There are at least 11 linker errors, a bit beyond what I care to patch.
FreeBSD simply set -fcommon; I think we should do the same.
Is this the best place to put it?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/dillo/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile    12 Jul 2019 20:50:18 -0000      1.59
+++ Makefile    30 Jan 2021 08:41:08 -0000
@@ -33,7 +33,7 @@ USE_GMAKE =           Yes
 CONFIGURE_STYLE =      gnu
 CONFIGURE_ARGS =       --enable-ipv6 \
                        --enable-ssl
-CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include -fcommon" \
                        LDFLAGS="-L${LOCALBASE}/lib"
 
 FAKE_FLAGS =           sysconfdir=${PREFIX}/share/examples/dillo/

Reply via email to