diff options
author | adam <adam@pkgsrc.org> | 2017-09-21 18:41:50 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-09-21 18:41:50 +0000 |
commit | 32ed4cd3fa031bce37c82eb8e664ba12412c0b0e (patch) | |
tree | 1a3c49e5395ad441e92a3bb268f67afa8746e908 /graphics/hugin | |
parent | 3bcbf3f7aef80b05aae7f65ef1c462d25956332d (diff) | |
download | pkgsrc-32ed4cd3fa031bce37c82eb8e664ba12412c0b0e.tar.gz |
Allow builing on macOS (without X11)
Diffstat (limited to 'graphics/hugin')
-rw-r--r-- | graphics/hugin/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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" |