Commit graph

56 commits

Author SHA1 Message Date
joerg
c09b083e25 Fix patch so that -Wl,-R and the path are one option. 2010-02-25 19:53:55 +00:00
joerg
98a1751286 Sort --mode argument before comiler in libtool invocation. 2009-11-27 13:26:49 +00:00
jwise
765ec9d406 Give up maintainership of packages where I am still listed as MAINTAINER. 2009-08-20 15:24:58 +00:00
joerg
c569c6a51f Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with
MAKE_JOBS=2 and worked without.
2009-06-30 00:07:09 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
db18207a77 Fix pax invocation. 2008-10-03 17:46:55 +00:00
joerg
68f3df2f1d Use pax instead of requiring GNU tar.
DESTDIR support
Fix unbalanced ' in configure.
2008-08-19 16:14:24 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +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
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
f98b75caba lang/tcl's WRKSRC changed, follow up to unbreak build (hi adam!). 2006-02-26 21:11:28 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
274f5571ae Even more less matherr for DragonFly. 2006-01-11 21:32:02 +00:00
joerg
83a7606008 Access TCL source much more correctly and working for configurations
with CREATE_WRKDIR_SYMLINK=no. Based on jlam's idea for
math/p5-Math-Pari.
2006-01-11 21:06:37 +00:00
joerg
00dd30bd9c No matherr on DragonFly. 2006-01-11 21:05:24 +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
jlam
7425b543e8 Note that gtar is required by the package. 2005-05-16 01:15:30 +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
minskim
e54ef9f625 Use TCL_VERSION instead of hardcoding the Tcl version number. 2005-01-13 14:39:25 +00:00
minskim
07a17bf58c Sync with the recent tcl/tk update. 2005-01-08 23:14:52 +00:00
minskim
f17e1c704e Use PKGDIRMODE and DOCMODE instead of 555 and 444, respectively.
Bump PKGREVISION because the default value of PKGDIRMODE is 755, which
is different from 555.
2005-01-02 20:13:49 +00:00
minskim
e826709314 Make tcl-tclX and tk-tclX build with tcl-8.4.8 and tk-8.4.8. 2004-11-26 18:09:04 +00:00
minskim
1b12e4f863 Make this package build with tcl>=8.4.7. 2004-11-04 00:35:54 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +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
heinz
ab369beb4f Use option "-r" instead of "-e" for the '[' command since this is not
portable to some operating systems (eg UnixWare or IRIX 5).
2004-05-23 15:09:06 +00:00
minskim
ef70f360ef Remove dots in library names on all platforms to match with PLIST
entries.
2004-05-16 18:52:11 +00:00
minskim
d3905e1614 - Update {tcl,tk}-tclX to 8.3.5.
- Bl3ify.
- Enable pkgviews installation.

OK'ed by jwise@, the maintainer.

Changes since 8.2:
	* got "make buildhelp" working
	* tcl/generic/tclXgeneral.c (TclX_EchoObjCmd): use encoding aware
	functions in 8.1+. [Bug #514053]
	* win/Makefile.in:
	* win/configure.in:
	* win/configure: Changed to use TCL_LIBS and TK_LIBS as the source
	  for the list of Windows libraries to link against. Fixes #501990.
	* tcl/generic/tclXlib.c (MakeAbsFile): Replaced a call to the
	  internal 'TclpGetCwd' with an access to the public API
	  'Tcl_GetCwd'. [457266]. Reported by Vincent Darley.
	* doc/TclX.n:
	* tcl/generic/tclXoscmds.c: allowed sleep to accept double values,
	to match the Expect sleep command.  This prevents conflicts that
	depended on the order of package requires.  [Patch #444332]
	* unix/tools/tclmanpages: Added "re_syntax.n" to the list of
	  processed manpages [#405956].
	* All of the changes below are there to fix bug [418295].
	* tcl/generic/tclXoscmds.c (TclX_OsCmdsInit): "system" and
	  "sleep" now use the new command creation procedure.
	* tcl/generic/tclXprocess.c (TclX_ProcessInit): "fork" and
	  "wait" now use the new command creation procedure.
	* tcl/generic/tclXutil.c (TclX_CreateObjCommand): Added
	  the implementation of this new procedure.
	* tcl/generic/tclExtdInt.h: Added TclX_CreateObjCommand to
	  encapsulate the logic for the creation of commands FOO and
	  tclx_FOO.
	* tcl/generic/tclXlist.c (TclX_LassignObjCmd): Added
	  TCL_LEAVE_ERR_MSG to call of 'Tcl_SetVar2Ex'. This
	  fixes the bug [227478].
	* tcl/generic/tclXgeneral.c (TclX_LoopObjCmd): Changed
	  'Tcl_AppendStringsToObj' into 'Tcl_AddErrorInfo'.
	  Fixes bug [226388]. Associated patch is [403050]. No need to
	  extend the testsuite, it already contained a test exercising the
	  bug.
	* tcl/unix/Makefile.in:
	* tk/unix/Makefile.in:
	Fixed bogus "test -f" on the new HELP_DIR directory, which should
	be "test -d".
	* win/Makefile.in - fixed because of new definition of
	TCL_SRC_DIR and TK_SRC_DIR
	* Changed the HELP_DIR to be configurable so I could have parallel
		builds not all trying to create the same help files.
	* tcl/win/configure.in, common.bc, common.vc
	    Fixed version number to 8.3
	* {tcl,tk}/unix/Makefile.in, tweaks to get references to LIB_RUNTIME_DIR
	    properly expanded on irix builds.  Also added BUILDHELP macro
	    that is conditional on nroff being present so we don't try to
	    build help files on systems with out nroff.
	* tcl/win/tclXAppInit.c, tk/generic/tkXshell.c, tk/win/tkXAppInit.c
	    - turn off USE_TCL_STUBS
	* win/Makefile.in, win/configure.in: Cleanup use of stubs library.
	* tcl/win/tclXwinOS.c (TclXOSkill): Added support for "kill"
	command on Windows platforms.
2004-05-13 22:06:03 +00:00
minskim
985810ddb7 Make this package build with thread-enabled Tcl, and simplify patches
by using -ltcl and -ltk instead of version-dependent tcl library name
such as -ltcl83 and -ltk83.
2004-05-12 17:56:45 +00:00
minskim
418d52e06d Make tcl-tclX and tk-tclX use Tcl/Tk 8.4. Bump PKGREVISION.
While here, update HOMEPAGE.
2004-03-20 19:28:52 +00:00
minskim
ac690cf634 Replace lang/tcl with lang/tcl83. Packages compatible with 8.4 will
be updated to depend on lang/tcl after Tcl/Tk update.
2004-03-08 19:52:50 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +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
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
jmmv
c649ff45f9 Convert to buildlink2. This should solve problems reported in PR pkg/18175
by Sigmund Skjelnes.
2003-01-10 11:40:16 +00:00
bjoern
3989a77f17 Update the path to the source code of the new version of Tcl. 2001-12-23 17:23:34 +00:00
agc
ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
hubertf
46a42a2e26 Get rid of BUILD_ROOT and replace it with PKGSRCDIR (which was there
before!)
2001-10-17 23:23:15 +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
skrll
8a4fdf1240 Do previous changes to make the source for tcl available differently and
hopefully in a cleaner way.

Do the same for the tk sources for tk-tclX

Both should now build.

{tcl,tk}-tclX/Makefile have an awful lot in common so someone might like to
split a lot of it out.
2001-04-27 09:16:18 +00:00
skrll
42eb9793b2 Make this build by providing the tcl sources at build time and explicitly
setting the directory that the sources are in. Taking the source directory
from tclConfig.sh is not guaranteed to work.
2001-04-26 07:17:40 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00