pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bullet bullet: Disable -lcompat on Linux and Sun...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f141fed57672
branches: trunk
changeset: 337573:f141fed57672
user: nia <nia%pkgsrc.org@localhost>
date: Thu Aug 08 10:33:27 2019 +0000
description:
bullet: Disable -lcompat on Linux and SunOS to fix the build.
XXX I'm not sure which other operating systems actually have libcompat
diffstat:
devel/bullet/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 3a6c3826e53f -r f141fed57672 devel/bullet/Makefile
--- a/devel/bullet/Makefile Thu Aug 08 07:22:02 2019 +0000
+++ b/devel/bullet/Makefile Thu Aug 08 10:33:27 2019 +0000
@@ -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 @@
# 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"
Home |
Main Index |
Thread Index |
Old Index