Commit graph

49 commits

Author SHA1 Message Date
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
92d2b0f827 Update HOMEPAGE. 2005-04-08 16:03:37 +00:00
wiz
36273233f9 Add buildlink3 file. 2005-03-30 19:44:44 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
snj
4175a1077a Convert to buildlink3. 2004-04-28 05:06:28 +00:00
uebayasi
62ff8d76c3 varargs.h -> stdarg.h migration. 2004-03-28 15:51:25 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jlam
e11cfce83c * buildlink1 -> buildlink2
* 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.
2002-09-23 08:45:40 +00:00
wiz
c0f5dfbc14 Comment claims LP64 problems, so disable sparc64 too, not only alpha. 2002-01-09 23:12:23 +00:00
seb
76aeaddfc5 Synchronize package version with reality: 3.0.3.
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.
2002-01-09 23:04:52 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
agc
ac3ad3646d Correct typos which resulted in a malformed command 2000-10-22 20:42:48 +00:00
agc
8d7f22e654 Only grab global symbols from object files. 2000-10-06 11:08:31 +00:00
agc
8e05467c48 Make this program work on ELF as well as a.out
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.
2000-10-05 15:08:54 +00:00
wiz
11dae9c0cb update MASTER_SITE 2000-08-23 21:53:55 +00:00
hubertf
e75965c6ba Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
2000-08-21 21:01:29 +00:00
dmcmahill
6c6669ec1e mark this as not for any NetBSD-ELF platforms until someone has time to port
it.
2000-07-10 11:49:55 +00:00
dmcmahill
f82f936e56 fix path in patch file to not include WRKSRC. 2000-07-09 02:55:41 +00:00
dmcmahill
e17885ec01 regen. 2000-07-07 17:52:35 +00:00
dmcmahill
bd99c7c185 - add config file for elf-netbsd-cc
- pic->PIC
2000-07-07 17:52:03 +00:00
wiz
a8c509b9e1 do not create ${PREFIX}/share/elk, since it's not needed, and not
handled in PLIST
2000-02-07 01:58:24 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
rh
8ee3e5c058 defuzz 1999-11-27 23:49:31 +00:00
agc
cc9f6e9ae3 Install the postscript documentation that is distributed with this
package.
1999-08-19 10:50:06 +00:00
agc
101d40c840 Use USE_X11 in Makefile to show that this package links with X11
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>
1999-08-17 11:18:40 +00:00
agc
7bfb5c4758 Add package patch checksum files. 1999-07-09 13:54:06 +00:00
drochner
d718e99081 NOT_FOR_PLATFORM= *-*-{alpha,mips} doesn't work.
Worse - it matches (almost?) everything.
1999-06-04 16:55:11 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
frueauf
1da4ba0fbc pkglint: move NOT_FOR_ARCHS where it belongs. 1998-11-13 01:16:35 +00:00
garbled
384c07a72e add NOT_FOR_ARCHS= alpha for all of these pkgs which are *known* to fail
on alpha.  There may be more, but I haven't seen them yet.
1998-09-22 06:11:35 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- 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.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
agc
daa3dd519a Update package Makefiles for automatic manual page handling. 1998-06-22 12:44:29 +00:00
frueauf
8f9aa9802c uname -m does not give back "m68k", thus list
amiga|atari|hp300|mac68k|mvme68k|sun3|sun3x|x68k instead.
1998-05-19 13:13:59 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
frueauf
583f21e321 portlint: add default MAINTAINER. 1998-04-01 11:33:19 +00:00
agc
d97abeccc0 Add NetBSD RCS ID.
Modify for the correct directory (${PREFIX}/lib).
Remember to delete directories that were created.
1998-03-31 11:59:55 +00:00
agc
e28175b6d0 Update the patches for NetBSD - install object files in ${PREFIX}/lib,
not ${PREFIX}/share, add NetBSD config files, install the documentation
in the "make install" stage, and other minor mods.
1998-03-31 11:58:46 +00:00
agc
a6a767f3b6 Modify this for NetBSD - use symbolic links, rather than copying the
file.  Work out, form the architecture, what format of executable to
use (a.out or ELF), and use the appropriate configuration file.

However, here is (as yet) no ELF configuration file, because I have no
ELF system to try this on.
1998-03-31 11:56:32 +00:00
agc
372f0ef8e8 Add NetBSD RCS Id.
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.
1998-03-31 11:54:15 +00:00
agc
2d57c551ad Initial import of elk-3.0.2, a scheme interpreter, into the NetBSD
packages collection, from the FreeBSD port.
1998-03-31 11:49:37 +00:00