Commit graph

38 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
jlam
b6b853727d Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.
2005-01-12 15:31:58 +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
adam
9c4c68ccc9 Changes 3.4.5:
The latest PVM release 3.4.5 is mainly bug fixes and additional
support for varying Linux distributions and some better 64-bit
Linux/AMD support (like it doesn't seg fauly any more :-).
Added strerror() support instead of old crusty global vars.
New architectures were added for AIX5*.  Fixed hilarious bug
in pvmtmpnam(), caused crash after 10,000 spawns...  :-D
While there's a variety of little tweaks, there are no significant
changes or additions to the basic functionality.
2004-11-12 10:45:45 +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
dmcmahill
7bf3aa1dbe change the order in do-install: a bit to install libtool libraries before
binaries which link to them.
2004-07-26 11:14:28 +00:00
dmcmahill
b09d17365f libtoolize and enable the building of shared libs. This is needed
for packages such as p5-Parallel-Pvm on some archs since that package
creates a shared object.  Should fix lossage seen on amd64 bulk
builds.  Both packages which use pvm3 have been tested and still work.
2004-07-19 22:41:16 +00:00
kristerw
7510202d93 Depend on security/openssh instead of security/ssh for machines that
do not have /usr/bin/ssh.
2004-05-31 22:13:16 +00:00
dmcmahill
ee9cbd1796 add config files for missing NetBSD MACHINE_ARCH's such as sh5e{b,l},
x86_64, and a few others.
2004-03-12 01:14:00 +00:00
dmcmahill
d946e7a73b bl3ify. add bl3 file. 2004-02-25 03:47:50 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
is
88a48d3237 Update parallel/pvm3 to pvm-3.4.4 2002-11-09 15:24:24 +00:00
jlam
7a55cc2714 Use buildlink2, and provide a makefile fragment arch.mk to set PVM_ARCH to
the correct value.  arch.mk can be used by other Makefiles or by
buildlink2.mk files to find the PVM libraries and binaries.
2002-09-30 22:18:55 +00:00
dmcmahill
d12202c9d0 avoid installing a .orig file. Fixes a leftover file found in last bulk build 2002-08-08 09:40:38 +00:00
seb
c90b725a3b Explicitly set PVM_ROOT to fix installation stage. This is due to the change in
revision 1.915 of mk/bsd.pkg.mk that removed ${MAKE_ENV} from the environment
for a recursive make. May be it is not needed anymore in MAKE_ENV?
2002-02-07 10:49:07 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
dmcmahill
aa88b59f9b - add -DCTIMEISTIMET to all the NetBSD arch definition files. This just
says to use type time_t for ctime(3).

- Fix some format strings for 64 bit systems.

- use '?=' instead of '='when setting the command used for rsh/ssh so the
  user can set it in mk.conf (PVM_SSH).
2001-05-24 19:51:07 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
is
88c2a995bb Change the names of the ssh and ssh6 packages to ssh{,6}-1.2.27nb1 so
that installation of the right version can be verified.
2001-02-13 12:49:06 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
wiz
fe0b531972 remove trailing whitespace 2000-10-21 22:52:37 +00:00
dmcmahill
0dbb09ae9c define SSH and pass down to the build environment to make sure the right
ssh (/usr/bin/ssh or pkgsrc ssh) is found.
2000-10-10 19:26:15 +00:00
dmcmahill
a5b7a1884f Only pull in the ssh depends if we're on a system with out /usr/bin/ssh in
the system.
2000-10-10 15:02:13 +00:00
is
abf7a09ca3 Allow ssh6 and openssh in addition to ssh. 2000-09-25 14:29:10 +00:00
wiz
017a43115d add a leftover, PVM.1 2000-09-05 11:09:40 +00:00
wiz
3d9cb9baa8 use actual ${PREFIX} instead of /usr/pkg 2000-09-03 13:02:20 +00:00
dmcmahill
b1420cd486 update to pvm-3.4.3. This is a bug fix release. Changes are given in each
of the individual source files making a summary difficult.  Of note though is
they have incorporated quite a number of the patches from our 3.4.2 package
hence the removal of 22 (!) patches.
2000-08-23 14:28:17 +00:00
dmcmahill
111c5e466b -Update from 3.4beta7 to 3.4.2.
-Add USE_FORTRAN to the package Makefile for correct handling of the
 required fortran compiler.

-Fix the .m4 files which control how fortran symbols are handled.

-Rework package to use a different PVM_ARCH for each MACHINE_ARCH.  As
 opposed to a single PVM_ARCH.  This addresses PR pkg/6890 (Thanks to
 Ignatios Souvatzis for the PR).

-Rework package to install missing programs including: pvmgetarch, aimk
 debugger, debugger2, and the configuration stubs (*.def, *.m4).  This
 address part of PR pkg/6924 (Thanks to Ignatios Souvatzis for the PR).

-Rework package to maintain the normal pvm3 directory layout so that only
 one variable (PVM_ROOT) has to be set to a non-traditional value.  This
 address the remainder of PR pkg/6924 (Thanks again Ig!).
1999-11-23 16:05:28 +00:00
dmcmahill
51464c8392 the f2c F77 compiler is f2c-f77, not f2c 1999-10-06 16:49:21 +00:00
agc
5784f7fee1 Do the test for /usr/bin/f77's existence a different and radical way -
use ".if exists"
1999-06-28 11:56:03 +00:00
garbled
d89ef09b04 add USE_X11=yes (it builds without it, but doesn't build some binaries) 1999-04-26 20:29:35 +00:00
garbled
31e54dc4e1 update PLIST to reflect reality, and add a trick to determine if we have
f2c or f77, and set BUILD_DEPENDS appropriately.
1999-01-01 23:42:58 +00:00
garbled
7899602d0f Oops, forgot to install libgpvm, and libfpvm. Thanks to Phil Nelson for
noticing this.
1998-11-04 18:08:45 +00:00
agc
5bf1376df1 Update this package to version 3.4b7.
Make it work with read-only pkgsrc.
1998-10-16 10:14:56 +00:00
frueauf
56b9426eb6 Don't just create foo, use ${WRKDIR}/foo instead for readonly pkgsrc. 1998-10-14 08:31:17 +00:00
garbled
e33bd8b3ae Add the whole parallel category to pkgsrc, and sprinkle it with a few
packages.

mpi-ch:
a free implementation of the Message Passing Interface.
pvm3:
Paralell Virtual Machine libraries and environment
clusterit:
A clustering package for unix
1998-10-13 23:31:03 +00:00