diff options
author | brook <brook@pkgsrc.org> | 2022-03-11 18:26:54 +0000 |
---|---|---|
committer | brook <brook@pkgsrc.org> | 2022-03-11 18:26:54 +0000 |
commit | ba90472b1e7b3734f7ec1b552ec9cd72a0e041fe (patch) | |
tree | 57fbda2b75355be94779e92c034a309b295a661d /graphics/Coin | |
parent | f3c841ea0406274ecf575805ab3b28171bbcdf52 (diff) | |
download | pkgsrc-ba90472b1e7b3734f7ec1b552ec9cd72a0e041fe.tar.gz |
graphics/Coin: build without framework support on Darwin.
By default, Coin is installed on Darwin as a framework, which is a completely
different file layout incompatible with pkgsrc. Add a configure argument to
prevent this and select a standard layout compatible with pkgsrc.
Diffstat (limited to 'graphics/Coin')
-rw-r--r-- | graphics/Coin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile index 7972d55b2af..972c708f332 100644 --- a/graphics/Coin/Makefile +++ b/graphics/Coin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2020/08/18 17:57:28 leot Exp $ +# $NetBSD: Makefile,v 1.33 2022/03/11 18:26:54 brook Exp $ DISTNAME= Coin-3.1.3 PKGREVISION= 5 @@ -24,6 +24,12 @@ CONFIGURE_ARGS+= --with-pthread=yes CONFIGURE_ARGS+= --enable-threadsafe .endif +.include "../../mk/bsd.prefs.mk" + +.if !empty(OPSYS:MDarwin) +CONFIGURE_ARGS+= --without-framework +.endif + .include "../../graphics/simage/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/glu/buildlink3.mk" |