Fix the build of mscgen for sparc64 and presumably other

ld.bfd architectures.

Better version and ok cwen
This commit is contained in:
kmos 2020-07-26 20:24:16 +00:00
parent 87eebc03ae
commit 86c40bd843

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2019/07/12 20:47:04 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2020/07/26 20:24:16 kmos Exp $
COMMENT= utility to create Message Sequence Charts
@ -27,6 +27,12 @@ FAKE_FLAGS= exampledir="${PREFIX}/share/examples/mscgen/" \
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src//}
# Fix undefined references to freetype and fontconfig symbols
.include <bsd.port.arch.mk>
.if !${PROPERTIES:Mlld}
CONFIGURE_ENV += LDFLAGS="${LDFLAGS} -L${X11BASE}/lib"
.endif
pre-configure:
@sed -i 's,/bin/bash,/bin/sh,g' ${WRKSRC}/test/renderercheck.sh