* when creating BUILDLINK_CONFIG_WRAPPER_SED we also need to create
a corresponding REPLACE_BUILDLINK_SED to reverse the effects
* account for packages that set USE_X11BASE to an empty string.
* create BUILDLINK_CONFIG_WRAPPER_SED patterns if required
* interpret "Makefile.common" as well as "Makefile" for packages
that share common information
issues pointed out in private email by Thomas Klausner:
* Include $PKGVERSION instead of RCS revision in script output
* Add a few line breaks to make the output more readable
* -buildlink-config-wrapper is a hardcoded suffix in
bsd.buildlink.mk. Therefore, make sure the created config wapper
targets actually have this suffix.
* Prevent pkgconfig logic from twice including
pkgconfig/buildlink.mk
* Add missing \" in created sed rules
* Include createbuildlink revision in created files
a buildlink.mk from a package's Makefile and PLIST.
XXX: this is an attempt to make the creation of buildlink.mk files more
XXX: systematic and less error-prone than copying existing buildlink.mk
XXX: files and modifying them for a new package. Any help in making this
XXX: script less simplistic and more versatile is gladly welcome!