pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/hugin Allow builing on macOS (without X11)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e75b7696022
branches:  trunk
changeset: 368915:4e75b7696022
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 21 18:41:50 2017 +0000

description:
Allow builing on macOS (without X11)

diffstat:

 graphics/hugin/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 3c37c48eca27 -r 4e75b7696022 graphics/hugin/Makefile
--- a/graphics/hugin/Makefile   Thu Sep 21 15:19:23 2017 +0000
+++ b/graphics/hugin/Makefile   Thu Sep 21 18:41:50 2017 +0000
@@ -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/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 @@
 .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"



Home | Main Index | Thread Index | Old Index