Commit graph

81 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
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +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
jlam
40377c791f Remove pre-buildlink and post-buildlink as part of getting pkgsrc ready
for pkgsrc-2004Q4.  The "buildlink" phase was removed for the last branch,
and this is the final cleanup.  "post-buildlink" is now "post-wrapper".
2004-11-28 19:19:51 +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
markd
9eb8c6950d s/_OPSYS_RPATH_NAME/COMPILER_RPATH_FLAG/ 2004-09-14 11:05:30 +00:00
jlam
73baef726e Convert to use {COMPILER,LINKER}_RPATH_FLAG. 2004-08-27 18:52:00 +00:00
recht
47fbd93ebd bump PKGREVISIONs for last boehm-gc update
(BUILDLINKS_DEPENDS change)
2004-07-18 10:49:49 +00:00
snj
ec27d4d1bb Convert to buildlink3. 2004-05-12 03:21:08 +00:00
minskim
2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00
seb
cb33727cab Remove info files entries from PLIST.
While here replace ad hoc substing with subst.mk framework.
Don't install manpages twice.
Fix missing PLIST entries.

Bump PKGREVISION.
2004-03-07 09:29:04 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
f1ab3f4ed4 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:51:13 +00:00
kristerw
4a32969473 Make this package compile when using gcc 3.3. 2004-01-13 20:56:31 +00:00
kristerw
94f5d9c72e Homepage has moved. 2004-01-13 20:29:46 +00:00
seb
947d10705a Fix REPLACE_PERL: pathnames listed should be relative to ${WRKSRC}. 2003-09-02 13:38:44 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
seb
00fd7aba94 I don't quite understand why this 'rm -rf' had been put in
post-install target. Putting it in post-build instead does fix some
PLIST issues.

Correct me if I'm wrong.
2003-07-07 13:40:08 +00:00
seb
3a40ea2455 Convert to USE_NEW_TEXINFO. 2003-07-06 16:27:41 +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
jmmv
ea556403d5 Bump PKGREVISION due to boehm-gc update to 6.2alpha5. This version fixes
a problem introduced in the 6.2alpha4 package.
2003-05-22 16:48:28 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jtb
ead3b7b383 Fix use of _OPSYS_RPATH_NAME causing broken compiler.
Bump PKG_REVISION.
2003-04-29 23:40:02 +00:00
jmc
d0c3c362e0 Needs -Wl,-R (or the equiv) when linking libgc. Pass _OPSYS_RPATH_NAME in and use that accordingly. 2003-03-10 06:25:35 +00:00
jlam
bc7632f409 buildlink1 -> buildlink2 2002-09-23 09:54:03 +00:00
agc
58f77a8b15 Don't bother using EVAL_PREFIX to find the prefices of boehm-gc, tcl
or tk, since they are all installed into ${LOCALBASE}.

Weakly buildlink-ify this package.

When installing, install the files from ${WRKSRC} into ${PREFIX} and
then change the ownership, rather than doing it the other way around.
This allows non-root users to "make clean" in the package directory.
2002-05-09 14:36:49 +00:00
jtb
14928c4cf2 Initial import of sather.
Sather is an object oriented language which designed to be simple,
efficient, safe, and non-proprietary. It aims to meet the needs of
modern research groups and to foster the development of a large,
freely available, high-quality library of efficient well-written
classes for a wide variety of computational tasks. It was originally
based on Eiffel but now incorporates ideas and approaches from several
languages. One way of placing it in the "space of languages" is to say
that it attempts to be as efficient as C, C++, or Fortran, as elegant
and safe as Eiffel or CLU, and to support higher-order functions as
well as Common Lisp, Scheme, or Smalltalk.

Sather has garbage collection, statically-checked strong typing,
multiple inheritance, separate implementation and type inheritance,
parameterized classes, dynamic dispatch, iteration abstraction,
higher-order routines and iters, exception handling, assertions,
preconditions, postconditions, and class invariants. Sather code can
be compiled into C code and can efficiently link with C object files.
2002-05-04 00:45:28 +00:00