Commit graph

73 commits

Author SHA1 Message Date
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
5ac8ad7004 Removed trailing white-space. 2005-09-28 14:31:06 +00:00
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
jlam
c58b011808 Avoid using != to define _PVM_ARCH ... use :sh instead to defer the
evaluation until we invoke the make targets.  This avoids needing ${TR}
in the top-level make.
2005-04-28 23:11:14 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
9c33078522 Add RMD160 digests 2005-02-24 12:19:55 +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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
dmcmahill
f7c1751652 correct library dependency for xep after libtoolization. 2004-08-05 00:23:32 +00:00
dmcmahill
3da052ca18 Fix up some more bugs introduced by the libtoolization. Hopefully this
will finally fix all of the bulk build problems seen on -current and
2.0 branch machines (1.6 branch has never had problems).
2004-07-30 13:07:25 +00:00
dmcmahill
6be3ab4d88 fix a dependency in the tracer Makefile.aimk to hopefully fix compile
problems noted in NetBSD-2.0 branch bulk builds.
2004-07-26 11:15:24 +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
dmcmahill
23fcd4165b add some patches to get this going on darwin. Patches provided in PR
pkg/26146 by Jim Bernard.
2004-07-18 18:05:12 +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
wiz
f79fdc0d2b Unused. 2004-04-24 17:33:09 +00:00
jlam
2759edf5c8 Tell the buildlink3 framework to pass the pvm3/* directories to the compiler
and linker since they lie outside the default of ${PREFIX}/include and
${PREFIX}/lib.
2004-03-25 04:20:49 +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
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +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
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +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
wiz
0abe143a30 Quote tr arguments. From Jim Bernard in PR 20826. 2003-03-20 23:34:36 +00:00
is
88a48d3237 Update parallel/pvm3 to pvm-3.4.4 2002-11-09 15:24:24 +00:00
is
d7e3c1c448 Update the NetBSD architecture list. 2002-11-09 12:10:19 +00:00
wiz
624e2a5f03 regen 2002-11-09 11:42:11 +00:00
is
e76eabfe9c Add rcs id. 2002-11-09 11:28:41 +00:00
is
d07c2283a5 repair column formatting of pvm console "conf" output 2002-11-09 10:56:27 +00:00
jlam
80416b984f if to elif 2002-10-29 20:30:49 +00:00
jlam
eb47a10ca0 There was apparently an inadvertant "dj" in vi command mode that killed
two lines, and broke alpha and arm detection on Linux as a result.
2002-10-29 19:57:47 +00:00
dmcmahill
13b5b4bb4c add RCS ID 2002-10-12 17:30:33 +00:00
jlam
ee91224146 Add buildlink2.mk file for use by other package Makefiles (in particular,
math/scilab/Makefile already uses it.  Thanks wiz!).
2002-10-02 19:51:52 +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
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29: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
dmcmahill
9b6926c0a1 teach pvm about arm, armeb, and hppa. Should fix recently noted shark
build problems.
2002-08-05 01:26:40 +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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +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
6b11d1092a forgot to cvs add these first. 2001-05-24 19:51:47 +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
dmcmahill
3af15b801a Pass down CFLAGS, FFLAGS and fix the quoting of CC and F77. This ensures
you can do something like:

make CC="gcc -pipe" PKG_FC="f77 -pipe" CFLAGS="-Wformat -g" FFLAGS="-g"

and still have pvm compile correctly.

Addresses PR pkg/12949 submitted by Thor Simon <tls@cs.stevens-tech.edu>.
2001-05-24 19:32:32 +00:00
agc
5ac30340b6 Move to sha1 digests, and add distfile sizes. 2001-04-18 15:22:45 +00:00
agc
9e8d6c8b8d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:33:31 +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