pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/bullet
Module Name: pkgsrc
Committed By: nia
Date: Thu Aug 8 10:33:28 UTC 2019
Modified Files:
pkgsrc/devel/bullet: Makefile
Log Message:
bullet: Disable -lcompat on Linux and SunOS to fix the build.
XXX I'm not sure which other operating systems actually have libcompat
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/bullet/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/bullet/Makefile
diff -u pkgsrc/devel/bullet/Makefile:1.9 pkgsrc/devel/bullet/Makefile:1.10
--- pkgsrc/devel/bullet/Makefile:1.9 Wed Jul 4 13:40:13 2018
+++ pkgsrc/devel/bullet/Makefile Thu Aug 8 10:33:27 2019
@@ -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"
Home |
Main Index |
Thread Index |
Old Index