Commit graph

26 commits

Author SHA1 Message Date
jlam
d2eb68d2a6 Add dir_DEFAULT setting used by EVAL_PREFIX logic to set the default
installation directory in case the package isn't installed.
2001-07-27 13:33:18 +00:00
jlam
1934a5ae41 In buildlinked *Config.sh files, substitute ${BUILDLINK_DIR} for
${LOCALBASE} in *_PREFIX definition.
2001-07-23 12:34:32 +00:00
jlam
dd30dabc8c Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>.  This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed.  Idea by Alistair Crooks <agc@pkgsrc.org>.
2001-07-20 01:54:51 +00:00
jlam
cb76bd5efc Move inclusion of bsd.buildlink.mk to start of file. 2001-07-01 22:59:08 +00:00
jlam
257758c1da Don't install the short names for section 3 manpages as the names are
too generic.  Approved by jwise@netbsd.org.
2001-06-30 18:39:29 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
b62e28495f Add buildlink.mk files for use by other package Makefiles. 2001-06-21 21:41:34 +00:00
jlam
521487c367 Touch ${TK_LIB_FILE} during build so that it doesn't have to be re-linked
during installation.
2001-06-21 20:16:26 +00:00
jlam
bf088a04ac Move inclusion of buildlink.mk file below GNU_CONFIGURE and USE_LIBTOOL
settings.
2001-06-21 19:40:47 +00:00
jlam
5371ddc664 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 18:55:02 +00:00
jlam
a3dca94481 Fix the installed tkConfig.sh so it's possible to use its values to generate
a shared library that depends on libtk83.so.  Patch the configure script to
set TK_LIB_SPEC to include -Wl,-rpath,... or -R... depending on whether we
are ELF or a.out.

Bump version number to 8.3.2nb1.
2001-05-24 02:58:29 +00:00
jwise
410087bbbd Fix problem with libtk .la file generated by new libtool.
Pointed out (and patch provided by) Jason Beegan (jtb@netbsd.org)
2001-04-18 18:15:41 +00:00
agc
8f972b049a + 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 12:12:16 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +00:00
he
2ebee49263 Depend on tcl>=8.3.2 instead of tcl-8.3.2 now that PKGNAME of tcl
is bumped to tcl-8.3.2nb1.
2001-01-24 18:44:57 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
f045a27e94 Honor CFLAGS passed in from environment during build. 2000-12-11 16:40:42 +00:00
agc
4c180ff68c Remove any existing ${PREFIX}/bin/wish symbolic link before creating
a new one. Fixes PR pkg/11233, from Laine Stump, albeit in a different
way, since Solaris disagrees on what "ln -fs" means.
2000-10-16 15:07:45 +00:00
jwise
6b199c9fed Also install the private tk header file `default.h' to ${PREFIX}/include/tk/generic
as it is needed by mbone/nte.
2000-09-08 01:03:21 +00:00
jwise
476fae1562 Since the configure script comes up with different shared lib suffixes on
different versions/platforms of NetBSD, use

        $(TK_LIB_FILE:C/\.so.*/.la/)

instead of

        $(TK_LIB_FILE:.so=.la)

to derive the libtool archive name from the shared library name.

From Frederick Bruckman, addresses PR pkg/10924.
2000-09-01 16:22:00 +00:00
jwise
a606541547 Forgot to commit this after last change.
jwise/Makefile: DEPENDS+=	coffee-*:../../kitchen/carafe
2000-08-31 21:41:11 +00:00
jwise
25da46bffe Fix inconsistent use of SHLIB_SUFFIX vs. SHARED_LIB_SUFFIX in configure
script.  I believe this is what resulted in 1.4.3/ELF ports not building
tk correctly.  he is testing on 1.4.3_ALPHA/alpha.
2000-08-31 16:48:11 +00:00
jwise
70b34f3f52 Fix typo in generated tkConfig.sh. 2000-08-30 20:22:34 +00:00
tron
ef955c2726 Add mirror on "ftp.informatik.uni-hamburg.de" to master site list. 2000-08-30 10:45:46 +00:00
jwise
2b2fee8de0 Initial import of new pkgsrc/lang/tk (tk-8.3.2) package, partly derived
from the older pkgsrc/lang/tk80 (tk-8.0.5) package.

This is an update of the tk package from version 8.0.5 to version 8.3.2,
and also a slight change in the organization of tcl/tk packages.

This will be added disabled to pkgsrc/x11/Makefile until I finish updating
all tcl/tk-based packags.

Changes from out-of-the-box tk-8.3.2:

        Both static and shared libtcl83.* are installed, thanks to
	the magic of libtool.

Changes to the package since tk-8.3.2:

        A symlink to ${PREFIX}/bin/wish8.3 is installed as ${PREFIX}/bin/wish
        This change is designed to allow tk-using packages to not depend on
	any particular version of tk.

        public tk include files and the tk configuration information script
        are now installed in their standard places (${PREFIX}/include/tk*.h,
        and ${PREFIX}/lib/tkConfig.sh), and private tcl include files are now
	installed in ${PREFIX}/include/tk.  This change allows tcl extension
	packages to work out of the box, and to not need modification when tcl
	and tk are updated.  When extension package authors use the new
	libtclstubs*.a API, this even allows binary packages of dynamically-
	loadable tcl extensions to be used with newer versions of tcl without
	recompilation.

Here are the new features in tk-8.3.x as opposed to 8.0.x.  I am not including
bug fixes as this represents about 18 months of them.

  Img patch from Nijtmans, et al was adopted. This includes a
  Tcl_Obj-based image command, support for binary in -data args, adds
  an alpha channel to all photo types, as well as GIF write capability.

  Major portions of Dash patch from Nijtmans, et al was adopted.  This
  includes a Tcl_Obj-based canvas command, dashed canvas item support,
  enhanced canvas tag searching capabilities, pointer warping with event
  -warp, entry widget validation routines, -elide tag option for of the text
  widget (TkMan runs on 8.3 without a patch), several new canvas item
  arguments, as well as postscript printing support for images and windows in
  the canvas.

  Listboxes support a -listvariable and have a new itemconfigure
  command to color individual items.

  Extended "wm state" command to accept a state to set for the toplevel,
  and added support for the zoomed (maximized) state on Windows.

  Standard Unix dialogs have been updated to use color icons and
  have improved behavior.

  New "tk useinputmethods" command.  This changes the behavior of
  Tk on X where X Input Methods (XIM) were recognized and used without
  question.  With 8.3, they will be recognized and initialized, but
  not used unless XIM is turned on (tk useinputmethods 1).  This should
  only affect users with special input methods, and the new default
  behavior should be more beneficial to the average user.
2000-08-29 16:16:06 +00:00