summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2019-10-27 17:44:33 +0000
committerbouyer <bouyer@pkgsrc.org>2019-10-27 17:44:33 +0000
commit2e0f17e9bb7d7eb8c9105ffe323cdea9560dd289 (patch)
treead901b0662cc95535930e0d607e4a04613862dbd /geography
parent16330847c3365b4260698f8c9bcd4f4a861832cf (diff)
downloadpkgsrc-2e0f17e9bb7d7eb8c9105ffe323cdea9560dd289.tar.gz
Hack to make it build with new pango (pango-coverage.h does
#include <hb.h>)
Diffstat (limited to 'geography')
-rw-r--r--geography/opencpn/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/geography/opencpn/Makefile b/geography/opencpn/Makefile
index 07e34a53c99..030b6a2038b 100644
--- a/geography/opencpn/Makefile
+++ b/geography/opencpn/Makefile
@@ -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 @@ SUBST_SED.prefix= -e s,"/usr/local,"${PREFIX},g
# 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"