| @@ -1,31 +1,37 @@ | | | @@ -1,31 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.32 2020/08/18 17:57:28 leot Exp $ | | 1 | # $NetBSD: Makefile,v 1.33 2022/03/11 18:26:54 brook Exp $ |
2 | | | 2 | |
3 | DISTNAME= Coin-3.1.3 | | 3 | DISTNAME= Coin-3.1.3 |
4 | PKGREVISION= 5 | | 4 | PKGREVISION= 5 |
5 | CATEGORIES= graphics | | 5 | CATEGORIES= graphics |
6 | MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ | | 6 | MASTER_SITES= https://bitbucket.org/Coin3D/coin/downloads/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.coin3d.org/ | | 9 | HOMEPAGE= http://www.coin3d.org/ |
10 | COMMENT= Free, portable, Open Inventor API implementation | | 10 | COMMENT= Free, portable, Open Inventor API implementation |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | # See https://bitbucket.org/Coin3D/coin/wiki/EndOfLifeLetter | | 12 | # See https://bitbucket.org/Coin3D/coin/wiki/EndOfLifeLetter |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++03 | | 14 | USE_LANGUAGES= c c++03 |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | CONFIGURE_ARGS+= --enable-3ds-import | | 17 | CONFIGURE_ARGS+= --enable-3ds-import |
18 | CONFIGURE_ARGS+= --disable-debug | | 18 | CONFIGURE_ARGS+= --disable-debug |
19 | | | 19 | |
20 | .include "../../mk/pthread.buildlink3.mk" | | 20 | .include "../../mk/pthread.buildlink3.mk" |
21 | | | 21 | |
22 | .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none" | | 22 | .if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "none" |
23 | CONFIGURE_ARGS+= --with-pthread=yes | | 23 | CONFIGURE_ARGS+= --with-pthread=yes |
24 | CONFIGURE_ARGS+= --enable-threadsafe | | 24 | CONFIGURE_ARGS+= --enable-threadsafe |
25 | .endif | | 25 | .endif |
26 | | | 26 | |
| | | 27 | .include "../../mk/bsd.prefs.mk" |
| | | 28 | |
| | | 29 | .if !empty(OPSYS:MDarwin) |
| | | 30 | CONFIGURE_ARGS+= --without-framework |
| | | 31 | .endif |
| | | 32 | |
27 | .include "../../graphics/simage/buildlink3.mk" | | 33 | .include "../../graphics/simage/buildlink3.mk" |
28 | .include "../../graphics/freetype2/buildlink3.mk" | | 34 | .include "../../graphics/freetype2/buildlink3.mk" |
29 | .include "../../graphics/glu/buildlink3.mk" | | 35 | .include "../../graphics/glu/buildlink3.mk" |
30 | .include "../../x11/libSM/buildlink3.mk" | | 36 | .include "../../x11/libSM/buildlink3.mk" |
31 | .include "../../mk/bsd.pkg.mk" | | 37 | .include "../../mk/bsd.pkg.mk" |