Commit graph

98 commits

Author SHA1 Message Date
dmcmahill
763cde8dd0 remove some extra included bl3.mk files which are not needed 2007-02-04 20:42:24 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +00:00
dmcmahill
0ea9643903 Use COMPILER_RPATH_FLAG instead of hard coding -Wl,--rpath.
Also fix some obvious typos in the setting of the rpath.

Fixes compilation on solaris and probably others.
2006-10-11 21:14:57 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
wiz
3288d389c4 regen patch-ah with correct offset. 2006-05-22 19:20:04 +00:00
joerg
acadc1145a Fix patch sums. 2006-05-15 22:10:29 +00:00
joerg
30b64a9930 Honour LDFLAGS, fix errno usage. 2006-05-12 12:39:32 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
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
dmcmahill
fd788df66a - update some buildlink variables which were missed during the last
scilab update.  Add a note in the Makefile to prevent this in the
  future.

- add Version.incl to the buildlink files.  That is needed to allow
  add ons to determine the scilab version.  Currently no pkgs are using
  this, but that will change soon.
2005-10-26 04:09:37 +00:00
dmcmahill
6c3dc798c0 fix a broken configure script which tries to compile something
with multiple #include's on the same line.  Should fix recently
noted compile problems on NetBSD-1.6.2.
2005-09-22 00:05:40 +00:00
dmcmahill
444045107e do not try and build our own Xaw3d library 2005-09-09 18:30:01 +00:00
dmcmahill
69c5839c97 add some missing entries 2005-09-09 18:26:00 +00:00
dmcmahill
e01fa172e1 update to scilab-3.1.1
Main Changes Scilab 3.0 -> 3.1
                     =========================

The new features of Scilab 3.1 are the following:

    - "xgetmouse", "eventhandler" event set extended to click, double-click, <Ctrl> Key. See more details in xclick and xgetmouse on line help.
      Warning: Because of distinction of click events, some users' scripts can have a different behavior.
      To make it work as before please check and modified test on events as follow:
      supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like:
      button==0 by or(button==[0,3])
      button==1 by or(button==[1,4])
      button==2 by or(button==[2,5])

    - Integration of the ATLAS library (specific Windows version).
      During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory.

    - Java interface written to allow calling Scilab computational engine from Java

    - TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism.
      For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors.

    - Scipad editor
          o A debugging tool is now available.
          o Drag'n'drop is now supported.
          o User settings and text colors are now configurable and saved across editing sessions.
          o Find/Replace debugged and improved.
          o Quick access in the file menu for recently opened/saved files.
          o Creation of XML help page templates and xmltohtml compilation available from within Scipad.
          o Identification of Scilab predefined variables and library functions in scilab scripts.
          o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported.
          o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature.

    - Graphics editor completed
          o Axes structure totally rebuild.
             New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion.
          o Save and load had been extended to graphics handle
          o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.)
          o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.)

             Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them.
             Enter "help graphics_entities" at Scilab prompt for more details.

    - Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved.

    - Configure adapted to linux 64bit architectures

    - Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added

    - The source files have been updated to optimise the compiled version built with VC6 tool
      Please note that the Windows binary version provided on our Web site is built with .NET

    - Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency
    - Bessel functions extended to work in the complex case (using Slatec routines)
      Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended.
      The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics.

    - New Matlab functions implemented in m2sci translator

    - Functions to read Excel files

    - Font rotation is now possible under Xwindow

    - home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER

    - New environment variable SCIHOME:
          o Under Windows: %HOME%\scilab\SCILAB_VERSION
          o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION

    - New primitives:
          o clipboard (specific Windows)
          o perl
          o calendar
          o mkdir
          o rmdir
          o copyfile
          o sleep
          o getos
          o setenv
          o getshortpathname (specific Windows)
          o getlongpathname (specific Windows)
          o toolbar (specific Windows)
          o hidetoolbar (specific Windows)
          o console (specific Windows)
          o mcisendstring (specific Windows)
          o banner
          o winqueryreg (specific Windows)
          o xls_open
          o xls_read
          o scicos_debug_count
2005-09-07 10:48:47 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
jlam
b9ad955614 Note that this package uses tee. 2005-05-16 04:53:07 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
132b89e8cc rework the pre-fetch check on alpha to unsure ${WRKDIR}/.pkgdb gets created 2005-03-17 22:41:09 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +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
jmmv
c33d2074af Adjust dependencies after ocaml has been splitted into three different
packages: ocaml, ocaml-graphics and labltk.  Bump PKGREVISION.
2004-12-24 17:21:01 +00:00
dmcmahill
1ee3e8905a Add dependency on lang/ocaml for those systems which ocamlopt is supported
on.

Addresses PR pkg/28410 by sutre at labri dot fr.  Some patches were supplied
in the PR, the PLIST fix is from me.
2004-11-29 22:05:08 +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
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
78f8558b71 add bl3 file 2004-08-13 00:51:10 +00:00
dmcmahill
04b5aa0a34 repair distinfo after getting rid of DIST_SUBDIR. Reported in PR 26334
by Robert Elz.
2004-07-15 14:39:05 +00:00
dmcmahill
9d3ebd2e9e update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
                     ==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.

OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
  from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 04:00:46 +00:00
schmonz
384af75e68 Packages no longer need to clean up *.subst.sav leftovers. 2004-06-06 04:29:17 +00:00
dmcmahill
e39a0abc67 make this work again after the tcl/tk package thread enabling 2004-03-28 17:26:21 +00:00
dmcmahill
1b507b5380 use Tk-8.4 instead of 8.3. 2004-03-19 01:26:58 +00:00
dmcmahill
bb50bd9d82 bl3ify 2004-03-10 23:41:44 +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
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
aeaa2c263a Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-25 15:21:35 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
dmcmahill
7e14d158fc Make sure that the link to libtool in the scilab installation directory
points to the installed libtool instead of to the buildlink2 directory.
Should fix PR23759.
2003-12-19 04:37:23 +00:00
dmcmahill
2ba8ae4450 obey CFLAGS, FFLAGS, and LDFLAGS on Solaris. Especially the LDFLAGS
lets the linker work right.  No change on non-Solaris systems.
2003-11-01 12:26:21 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
dmcmahill
e4f52fc813 add a few patch files, actually replacements for part of the distfile,
from the authors to fix some bugs in the scicos blocks.  Bump PKGREV to
produce scilab-2.7nb2
2003-09-12 20:46:47 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
dillo
e2400a867b don't define test target directly, use do-test instead 2003-07-12 13:22:16 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00