pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/Coin graphics/Coin: build without framework s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77911cb30c4d
branches:  trunk
changeset: 375292:77911cb30c4d
user:      brook <brook%pkgsrc.org@localhost>
date:      Fri Mar 11 18:26:54 2022 +0000

description:
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:

 graphics/Coin/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d21e61db1e66 -r 77911cb30c4d graphics/Coin/Makefile
--- a/graphics/Coin/Makefile    Fri Mar 11 18:00:34 2022 +0000
+++ b/graphics/Coin/Makefile    Fri Mar 11 18:26:54 2022 +0000
@@ -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+=       --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"



Home | Main Index | Thread Index | Old Index