From 8f6c5eae9bc7954f54c71a1c3bdee5a581c74b14 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 8 Aug 2019 10:33:27 +0000 Subject: bullet: Disable -lcompat on Linux and SunOS to fix the build. XXX I'm not sure which other operating systems actually have libcompat --- devel/bullet/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile index 8a16dac36b2..f652532b208 100644 --- a/devel/bullet/Makefile +++ b/devel/bullet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2018/07/04 13:40:13 jperkin Exp $ +# $NetBSD: Makefile,v 1.10 2019/08/08 10:33:27 nia Exp $ PKGNAME= ${DISTNAME:S/-r2704//} DISTNAME= bullet-2.82-r2704 @@ -21,11 +21,14 @@ CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=on # doesn't install anything without this CMAKE_ARGS+= -DINSTALL_LIBS:BOOL=on +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} != "Linux" && ${OPSYS} != "SunOS" SUBST_CLASSES+= lcompat SUBST_STAGE.lcompat= pre-configure SUBST_FILES.lcompat= Demos/AllBulletDemos/CMakeLists.txt SUBST_SED.lcompat= -e "s|{OPENGL_glu_LIBRARY}|{OPENGL_glu_LIBRARY} -lcompat|g" SUBST_MESSAGE.lcompat= Adding -lcompat for demos +.endif .include "../../graphics/glut/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3