The following fixes the build of graphics/mscgen for sparc64 and
presumably other ld.bfd architectures.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/mscgen/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    12 Jul 2019 20:47:04 -0000      1.8
+++ Makefile    9 Jul 2020 21:58:06 -0000
@@ -25,6 +25,9 @@
 FAKE_FLAGS=            exampledir="${PREFIX}/share/examples/mscgen/" \
                        dist_doc_DATA="mscgen.lang"
 
+# LDFLAGS doesn't work to add this
+CFLAGS+=               -L/usr/X11R6/lib
+
 WRKDIST=               ${WRKDIR}/${DISTNAME:S/-src//}
 
 pre-configure:

Reply via email to