Version 5 (modified by 17 years ago) ( diff ) | ,
---|
This is just notes that will be reordered and elaborated on later.
What to look out for…
- dos.m4 - Add
&& !defined __OS2__
to the long#if
statement. See [3345] for an example. - po.m4 - Fix the root slash detections. See [3344] for an example.
- Absolute paths. Try get rid of these, if not possible prefix with
/@unixroot
or$UNIXROOT
. - Check for CYGWIN, WIN32, WINDOWS, MINGW or similar defines.
- Add calls to
_wildcard(&argc, &argv); _response(&argc, &argv);
in the main function of tools that it may be more useful if the supported wildcard and response files when invoked from a non-kNIX shell. - Check if there is a
lib/system.h
and check theSET_BINARY_MODE
definition. - Tools reading stdin or writing to stdout, needs to be checked in respect to binary/text mode translation. This isn't as simple as just doing setmode on stdin and stdout in main...
aclocal
,aclocal.in
,atconfig
andatconfig.in
in testcase directories (typicallytests
). Fix the PATHs and other stuff they mess with.
The .m4 files to are usually located in a m4 or config subdirectory.
Porting an ebuild
Links
Gentoo Portage:
Prefixed / Alt Portage:
http://www.gentoo.org/proj/en/gentoo-alt/ http://www.gentoo.org/proj/en/gentoo-alt/contribute/index.xml http://www.gentoo.org/proj/en/gentoo-alt/prefix/techdocs.xml http://www.gentoo.org/doc/en/gentoo-freebsd.xml http://www.gentoo.org/proj/en/gentoo-alt/bsd/fbsd/ http://en.wikipedia.org/wiki/Gentoo/FreeBSD http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay
Python Quick Ref:
Note:
See TracWiki
for help on using the wiki.