Commit graph

50 commits

Author SHA1 Message Date
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
marino
6b43628076 x11/blt: Add tcl/tk 8.5 support
Mask some EXTERN functions that are already present in tcl 8.5 headers.
2012-08-21 22:00:24 +00:00
dholland
cddea4c4e0 Whitespace. (as whined about by pkglint) 2012-06-15 23:06:02 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
joerg
be4b364d1a MAKE_JOBS_SAFE=no 2009-08-03 12:46:26 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +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
4dbae5bb48 DESTDIR support 2009-02-16 20:22:18 +00:00
rillig
8018a03f89 This package installs the demo programs as executable, but doesn't care
about the path to the script interpreter.
2006-10-14 02:16:03 +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
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +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
perry
4fef996756 Fix so this does not depend on tcl83/tk83.
Also update depends to 2.4z
2005-10-25 17:17:42 +00:00
perry
ff58f81fd1 fix so this package with tcl/tk 8.4 2005-10-07 17:39:26 +00:00
joerg
96a2d1abb5 Add DragonFly support. 2005-10-03 18:42:32 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
393af94024 Add RMD160 checksums to the SHA1 ones. 2005-02-23 17:36:09 +00:00
wiz
2f1ff11ca1 Unused (thanks, minskim). 2004-05-13 00:13:42 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +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
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
minskim
7f801b9bb2 Define two missing constants when sizeof(void*) == 8. It will fix
build on 64bit architecture.
2004-03-08 16:52:13 +00:00
kristerw
7e9491cc6c Add missing include files. 2004-03-08 01:48:54 +00:00
jlam
c235995075 Minor whitespace nits. 2004-03-07 00:32:06 +00:00
minskim
7bc0431ea6 Update blt to 2.4z, update MASTER_SITES and HOMEPAGE, bl3ify, and
enable pkgviews installation.

Many new features and bug fixes since 2.4.o.  See NEWS in the distfile
for the complete list.
2004-03-06 06:26:21 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
xtraeme
fc93cfee79 Initial import. 2004-01-13 23:29:07 +00:00
martti
cd2f7f1959 COMMENT should start with a capital letter. 2003-07-21 17:38:24 +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
5854da542a Add buildlink2.mk. 2002-10-25 09:13:49 +00:00
jlam
30998f5193 buildlink1 -> buildlink2, and remove dependency on autoconf. 2002-09-23 22:39:22 +00:00
abs
0395d12355 Fix build problem on hosts identified as 'netbsdelf'. Does not change anything
on systems that already worked, so no PKGREVISION bump.
2002-03-31 14:37:30 +00:00
jmc
a30fd931a3 Various bits to get this working.
Buildlinkify against tcl/tk/x11

This configure is kinda brain dead so just keep the configure.in patches (which
were reversed anyways from the configure patches) and depend on autoconf
to force a correct configure. Also pass X11BASE along to configure's env
so the right -R flags end up in the libs/binaries.
2001-12-16 07:39:10 +00:00
zuntum
d3db18607d Move pkg/ files into package's toplevel directory 2001-10-31 22:03:21 +00:00
jlam
022d07a536 Mechanical changes of tk DEPENDS:
tk-8.3.2  -> tk>=8.3.2
	tk-[0-9]* -> tk>=8.0
	tk-8.*    -> tk>=8.0
2001-05-05 19:51:13 +00:00
skrll
7c75053771 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:07:33 +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
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +00:00
wiz
e4ba4bde2e add RCS Id 2000-10-21 23:05:15 +00:00
rh
eb4ca5d0df Add missing -p to mkdir. 2000-10-01 14:32:56 +00:00
jwise
527526c5c3 Rework this package so that the BLT extension can be loaded into any running
tcl interpreter (as intended), instead of requiring users to use the bltwish
interpreter.
2000-09-08 02:48:04 +00:00
wiz
ecedb073b4 add RCS Ids 2000-09-03 14:54:56 +00:00
jwise
963e84c5d6 Adapt this package to tk-8.3.2. There is actually a newer blt out there
(2.4u), but the master site has been down all week, so I am adapting the
old one, as the new one has few major changes...
2000-09-01 17:26:54 +00:00
sakamoto
76333f0201 ELF rpath fix. 2000-05-22 03:47:54 +00:00
hubertf
f6ad88ab9e Import BLT VBLT2.4o, submitted by Brook Milligan <brook@biology.nmsu.edu>
in PR 9593.

BLT is an extension to Tcl/Tk.  It adds plotting widgets (X-Y graph,
barchart, stripchart), a powerful geometry manager, a new canvas item,
and several new commands to Tk.

Plotting widgets:  graph, barchart, stripchart
Hierarchical list box:  hierbox
Tab set:  tabset
Geometry Manager:  table
Vector Data Object:  vector
Background Program Execution:  bgexec
Busy Command:  busy
New Canvas Item:  eps
Drag & Drop Facility:  drag&drop
Bitmap Command:  bitmap
Miscellaneous Commands:  winop, bltdebug, watch, spline, htext
2000-03-12 01:43:55 +00:00