* Replace ELK_USE_{X11,MOTIF} with ELK_GUI, which is either "none" or is
some combination of "xaw" and/or "motif".
* Reenable Motif -- it seems to build properly with OpenMotif-2.0.x.
* Modernize this package a bit and clean up how linker flags are passed to
the build process by using the new variables available.
Regen the patches files (one file per patch).
Fix for NetBSD ELF platform: files/stab-elf.c and config/untested/elf-netbsd-cc
(by way of patches/patch-af) adjusted.
Thanks to Nick for the helping hand and to Alistair for the previous work.
This should close PR 13527.
Make X11 support conditional by way if the ELK_USE_X11 variable.
I tried to enable Motif support: only Motif 1.X should work but
even with the lesstif12 package it does not - it does compile though.
So Motif support if commented out but leaved in case someone want to fix
ELK.
The somewhat bizarre "patching" method was used because I rewrote the
routine which grabs global text symbols from an object file, and this
should be independent of a.out or ELF. The result bears no similarity
to what was there before, so I decided to keep the original file with
a "-dist" suffix.
headers and libs.
Make this package work on Solaris.
Use the same "pkgsrc" configuration file for locations of objects on
NetBSD (both ELF and a.out) and Solaris.
Use a Makefile target, rather than a separate script.
Avoid clash with ALIGN definition in <sys/param.h>
- New, optional Makefile variable HOMEPAGE, specifies a URL for
the home page of the software if it has one.
- The value of HOMEPAGE is used to add a link from the
README.html files.
- pkglint updated to know about it. The "correct" location for
HOMEPAGE in the Makefile is after MAINTAINER, in that same
section.
Clean up - do all the installation into the correct directories in
the "make install" step, so we don't need to putz around in the Makefile.
The patches have all been cleaned up, so that no -p1 argument is needed
to patch.