summaryrefslogtreecommitdiff
path: root/net/openpgm/files/patch-version__generator.py
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-01-21 09:10:20 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-01-21 09:10:20 +0000
commitd76cf9242ee0cbd39ae2378ca6eadffe91e10e6f (patch)
tree4a1dabd86b0ec0279323b94610d3f59b24dc73f2 /net/openpgm/files/patch-version__generator.py
parentUnbreak languagepack target (package-rename and ure targets are still (diff)
net/openpgm: fix build with python3
- fix build with python3 (trivial change) - clarify license (it's LGPL21+) and add LICENSE_FILE - simplify docs and examples installation - whitespace fixes - bump PORTREVISION because default package changed - examples now installed to EXAMPLESDIR instead of EXAMPLESDIR/examples) Approved by: vg (maintainer)
Diffstat (limited to '')
-rw-r--r--net/openpgm/files/patch-version__generator.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/openpgm/files/patch-version__generator.py b/net/openpgm/files/patch-version__generator.py
new file mode 100644
index 000000000000..28fc951d2e4f
--- /dev/null
+++ b/net/openpgm/files/patch-version__generator.py
@@ -0,0 +1,19 @@
+--- version_generator.py.orig 2012-12-04 02:57:22 UTC
++++ version_generator.py
+@@ -8,7 +8,7 @@ build_date = time.strftime ("%Y-%m-%d")
+ build_time = time.strftime ("%H:%M:%S")
+ build_rev = filter (str.isdigit, "$Revision: 1487 $")
+
+-print """
++print("""
+ /* vim:ts=8:sts=8:sw=4:noai:noexpandtab
+ *
+ * OpenPGM version.
+@@ -50,6 +50,6 @@ const char* pgm_build_revision = "%s";
+
+
+ /* eof */
+-"""%(build_date, build_time, platform.system(), platform.machine(), build_rev)
++"""%(build_date, build_time, platform.system(), platform.machine(), build_rev))
+
+ # end of file