pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/opencpn Hack to make it build with new pango...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e6797c6153a
branches:  trunk
changeset: 416599:6e6797c6153a
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun Oct 27 17:44:33 2019 +0000

description:
Hack to make it build with new pango (pango-coverage.h does
#include <hb.h>)

diffstat:

 geography/opencpn/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 80566fafb130 -r 6e6797c6153a geography/opencpn/Makefile
--- a/geography/opencpn/Makefile        Sun Oct 27 17:31:51 2019 +0000
+++ b/geography/opencpn/Makefile        Sun Oct 27 17:44:33 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2019/10/20 11:10:48 nia Exp $
+# $NetBSD: Makefile,v 1.37 2019/10/27 17:44:33 bouyer Exp $
 
 DISTNAME=      OpenCPN-5.0.0
 PKGNAME=       ${DISTNAME:S/OpenCPN/opencpn/}
@@ -41,6 +41,10 @@
 # Ensure we export symbols in the linked shared object.
 LDFLAGS+=      ${EXPORT_SYMBOLS_LDFLAGS}
 
+# hack so that pango find harfbuzz's headers
+CFLAGS+=       -I${PREFIX}/include/harfbuzz
+CXXFLAGS+=     -I${PREFIX}/include/harfbuzz
+
 .include "../../audio/libsndfile/buildlink3.mk"
 .include "../../devel/cmake/buildlink3.mk"
 .include "../../x11/wxGTK30/buildlink3.mk"



Home | Main Index | Thread Index | Old Index