diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-01-21 09:10:20 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-01-21 09:10:20 +0000 |
commit | d76cf9242ee0cbd39ae2378ca6eadffe91e10e6f (patch) | |
tree | 4a1dabd86b0ec0279323b94610d3f59b24dc73f2 /net/openpgm/files/patch-version__generator.py | |
parent | Unbreak 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.py | 19 |
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 |