Changeset View
Changeset View
Standalone View
Standalone View
math/sage/files/patch-build_pkgs_gfan_spkg-install.in
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- build/pkgs/gfan/spkg-install.in.orig 2020-04-27 11:03:43 UTC | |||||
+++ build/pkgs/gfan/spkg-install.in | |||||
@@ -7,6 +7,9 @@ cd src | |||||
# clash of log2 macro with standard library (C++ >= 14), #28984 | |||||
find src -type f -print0 | xargs -0 sed -i.bak "s/log2/logger2/g" | |||||
+echo "Patching for FreeBSD..." | |||||
+/usr/bin/sed -i.bak 's,log2,gfan_log2,g' src/*.h src/*.cpp | |||||
+ | |||||
echo "Now building gfan..." | |||||
# We don't use the makefile to install gfan so we don't need to set PREFIX | |||||
sdh_make CPPFLAGS="-I$SAGE_LOCAL/include" |