On Sat, Jul 25, 2020 at 03:57:06PM -0400, Kurt Mosiejczuk wrote:
> The following fixes the build of graphics/mscgen for sparc64 and
> presumably other ld.bfd architectures.

> ok?

Brad Smith pointed out I should be using X11BASE instead of hardcoding
the path. Here's a version that does it right.

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    26 Jul 2020 19:06:26 -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${X11BASE}/lib
+
 WRKDIST=               ${WRKDIR}/${DISTNAME:S/-src//}
 
 pre-configure:

Reply via email to