From 32ed4cd3fa031bce37c82eb8e664ba12412c0b0e Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 21 Sep 2017 18:41:50 +0000 Subject: Allow builing on macOS (without X11) --- graphics/hugin/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics/hugin') diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile index 59ab7e25a79..d42d94c9d40 100644 --- a/graphics/hugin/Makefile +++ b/graphics/hugin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.70 2017/09/18 09:53:23 maya Exp $ +# $NetBSD: Makefile,v 1.71 2017/09/21 18:41:50 adam Exp $ DISTNAME= hugin-2017.0.0 PKGREVISION= 2 @@ -36,6 +36,8 @@ SUBST_FILES.apple+= src/hugin1/ptbatcher/CMakeLists.txt SUBST_FILES.apple+= src/hugin1/stitch_project/CMakeLists.txt SUBST_SED.apple= -e 's,(APPLE),(ELPPA),g' +.include "../../mk/bsd.prefs.mk" + .include "../../databases/sqlite3/buildlink3.mk" .include "../../devel/boost-headers/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" @@ -43,7 +45,9 @@ SUBST_SED.apple= -e 's,(APPLE),(ELPPA),g' .include "../../devel/tclap/buildlink3.mk" .include "../../graphics/exiv2/buildlink3.mk" .include "../../graphics/glew/buildlink3.mk" +.if ${OPSYS} != "Darwin" .include "../../graphics/glut/buildlink3.mk" +.endif .include "../../graphics/gnome-icon-theme/buildlink3.mk" .include "../../graphics/lensfun/buildlink3.mk" .include "../../graphics/lcms2/buildlink3.mk" -- cgit v1.2.3