Commit graph

49 commits

Author SHA1 Message Date
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
rillig
105dd4b97c Some packages need lex and yacc. Patch by Aleksey Cheusov via
pkgsrc-users.
2007-11-17 12:04:11 +00:00
tnn
24d5b54409 Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead. 2007-10-16 23:48:58 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
rillig
9728af1e78 Added VARTEXTFONTS to BUILD_DEFS. 2007-02-15 21:34:00 +00:00
joerg
f7164e0278 As temporary band aid, ensure that PATH contains ${PREFIX}/bin, as
most scripts like tex-config will not work otherwise, breaking
bulk builds badly. Bump revision.
2006-12-07 15:06:07 +00:00
joerg
c1b642aac8 DESTDIR support and switch to modular buildlinks. 2006-11-06 10:49:29 +00:00
schwarz
01d88bca82 added a hack to make teTeX3-bin compile on IRIX 5.3 2006-09-10 19:56:03 +00:00
jschauma
353d3c79f4 Fix PR pkg/34143 by Oliver Gould and use texconfig-sys instead of texconfig:
The INSTALL script for print/teTeX3-bin incorrectly configures paper and font
options using texconfig(1).  Texconfig-sys(1) is the proper method of making
system-wide configuration changes to TeX.  Because of this, options such as
PAPERSIZE have no effect on the installed configuration.
2006-08-22 22:22:29 +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
jlam
ee68c93314 LIBTOOL_OVERRIDE generally doesn't need to be specified anymore... just
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".

SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
2006-07-07 15:49:30 +00:00
drochner
64430304cc build a shared libkpathsea, bump PKGREVISION
(I'contacted the MAINTAINER, didn't get a response. jlam agrees that
there is no reason not to build the shlib.)
2006-05-22 17:13:53 +00:00
wiz
375b5e4933 More PKGREVISION bumps for png-1.2.9nb2 update. 2006-04-17 14:52:10 +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
minskim
1e4ce36f5d Install platform-independent texmf files into texmf-dist. In this way,
packages installing newer versions than those included in the teTeX
distribution can override them.

Bump PKGREVISION for all teTeX3-* packages.
2006-04-07 16:19:15 +00:00
minskim
3c2683b5e7 Remove obsolete PRINT_PLIST_AWK patterns. They are handled by texmf-dirs. 2006-04-07 14:58:14 +00:00
minskim
3824e1f9f1 Set PKG_LOCALTEXMFPREFIX to ${PREFIX}/share/texmf-local in buildlink3.mk;
all TeX packages were converted.
2006-04-07 05:21:01 +00:00
minskim
21afae367e Create another texmf tree, texmf-local so that TeX packages can be
installed without conflicts with those included in teTeX-texmf.

Bump PKGREVISION.
2006-04-06 19:11:34 +00:00
jlam
64b661503e * Set the default texfonts directory during the build instead of setting
it during installation.  The default texmf.cnf file now has the correct
  VARTEXFONTS default without any extra configuration.

* Move texconfig papersize setting to a +TEXCONFIG scriptlet that is
  called during POST-INSTALL.  You can invoke ./+TEXCONFIG PAPER <paper>
  to set the papersize for dvips and xdvi.

This fixes problems with installing teTeX3-bin where invoking texconfig
failed because texmf.cnf didn't (yet) exist during the post-install
target.

Bump the PKGREVISION to 9.
2006-04-06 14:39:11 +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
minskim
42fa986762 Regen with patch-as (hi jlam!). 2006-04-05 20:18:42 +00:00
jlam
656389654f * Move all the handling of files that are user-modifiable or generated
at run-time into the INSTALL/DEINSTALL scripts instead.  This includes
  running: mktexlsr, fmtutil, texlinks, and updmap.  The INSTALL script
  now unpacks a separate scriptlet +TETEX that can be called independently
  to fix up the teTeX installation in case it gets messed up.

* USE_TOOLS+=bison instead of a direct BUILD_DEPENDS on the bison package.

* List info file entries directly in the PLIST.

Bump PKGREVISION to 8.
2006-04-05 16:04:01 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tonio
99bbf9490e Take care to quote PATH variables: they may contains path with spaces
Fix PR pkg/32654, applying the proposed patches, thanks Peter Bex
2006-01-27 23:13:54 +00:00
tron
cf14634e31 Incorporate fixes for vulnerabilities reported in SA17916 and SA18329,
bump package revision.
2006-01-24 21:51:36 +00:00
tonio
c746fe9467 move the PLIST SUBST from tex.buildlink3.mk to tetex?-bin/buildlink3.mk
This should fix bulk build for teTeX1 packages
2006-01-22 16:45:30 +00:00
tron
86523dd9df Patch the "texconfig-dialog" script (patching the "texconfig" script
doesn't help any more) so it calls the "dialog" program without requiring
the "DIALOG_PROG" environment variable to be set. Bump package revision
because of this fix.
2006-01-09 11:59:55 +00:00
tonio
56edd1a62d Make teTeX3 the default TEX_DEFAULT
bump PKGREVISION where necessary

Move PKG_TEXMFPREFIX and PKG_LOCALTEXMFPREFIX definitions to
teTeX?/buidlink3.mk, so that packages may include
print/teTeX1-bin/buildlink3.mk directly (however, using teTeX/module.mk do not
allow that)
2006-01-08 14:00:11 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +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
minskim
deaf945337 Since packages installing font maps may run updmap, remove files and
directories changed by updmap with ${RM}, rather than including them
as regular entries in PLIST.

Bump PKGREVISION.
2005-11-15 07:00:08 +00:00
tonio
8856513a73 Use TEX and PDFTEX as exported by the buildlink files 2005-11-14 21:57:00 +00:00
minskim
a646fb3af4 Define TEXMFCONFIG when calling texconfig. This prevents texconfig
from generating a directory under users's HOME at installation time.

OK'ed by hubertf@ and tonio@.
2005-11-10 14:53:44 +00:00
tonio
a6e8e871bf remove now unused kpatchsea.buildlink3.mk files
use the standard buildlink3.mk instead
2005-11-10 12:36:12 +00:00
minskim
3e6fd36d81 Add missing entries to PLIST and remove a redundant one.
Bump PKGREVISION.
2005-11-09 22:23:05 +00:00
tonio
4a96fb6367 Create a tex.buildlink3.mk file that is used by tex-using packages.
It includes the correct buildlink3.mk file from either
teTeX1 (print/teTeX1-bin), teTeX2 (print/teTeX-bin) or teTeX3
(print/teTeX3-bin). tex.buildlink3.mk will:

        * set PKG_TEXMFPREFIX to the base directory of the used texmf tree
	* set PKG_LOCALTEXMFPREFIX to the base directory of the local texmf
	  tree (for tex packages)
        * set LATEX_TYPE to the latex distribution used.

There are two variables that can be used to tweak the selection of
the latex implementation:

LATEX_DEFAULT is a user-settable variable whose value is the default
        latex distribution to use.

LATEX_ACCEPTED is a package-settable list of latex distributions
        that may be used by the package.
2005-11-08 17:32:51 +00:00
wiz
0a6f4060a3 Properly wildcard dialog dependency. 2005-09-30 22:01:33 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
hubertf
c05c71f2e8 Force use of the Xaw toolkit, to prevent linking against Motif
accidentally, w/o adding the corresponding dependency (does not
force everyone to install Motif, too). Bump to 3.0nb2.

Patch suggested by Geert Hendrickx <geert.hendrickx@ua.ac.be> on tech-pkg.
2005-06-07 13:34: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
wiz
aeea92f4c7 Add RMD160 checksum. 2005-05-25 13:32:52 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
3ead1854e7 Avoid using != to define LOWER_PAPERSIZE .. use :sh instead to defer it
until the make targets are invoked.  This avoids needing ${ECHO} and ${TR}
in the top-level make.
2005-04-28 23:23:41 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
schwarz
e2ef2ee6e8 teTeX3-bin uses xpm. Changes approved by hubertf. 2005-04-10 21:52:37 +00:00
schwarz
978b2a9044 added missing "paper" argument to texconfig xdvi (approved by hubertf) 2005-04-09 13:18:32 +00:00
hubertf
3439227be2 Pull in the right (teTeX3, not teTeX(2)) Makefile.common.
No functional change.
2005-04-08 23:06:47 +00:00
hubertf
8c77117e05 Import teTeX-bin-3.0: TeX distribution for UNIX compatible systems - binaries
This package contains the executables for the teTeX installation
as well as other files that were created when generating the binaries:
info files, format files and manual pages.
2005-03-31 22:09:18 +00:00