Commit graph

118 commits

Author SHA1 Message Date
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
tonio
8856513a73 Use TEX and PDFTEX as exported by the buildlink files 2005-11-14 21:57:00 +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
tonio
256169a90f fix teTeX buidlinks (forgot a * in the DEPENDS) 2005-11-08 23:42:24 +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
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
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
dmcmahill
47af862419 add -lgcc_s on solaris with gcc 2005-03-01 23:03:04 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
minskim
098de40843 Create font spool in VARBASE, not in /var. 2005-02-04 01:48:51 +00:00
kei
e03d623234 Apply xpdf-3.00pl3.patch also to fix a security problem which is discribed in
http://www.idefense.com/application/poi/display?id=186&type=vulnerabilities
(CAN-2005-0064).  Noticed by Hiroki Sato.  Thanks!

Bump PKGREVISION to 5.
2005-01-24 15:22:16 +00:00
wiz
77cf584733 Bump PKGREVISION for CAN-2004-0888 fix. 2005-01-17 12:23:15 +00:00
kei
770ccf26c6 fixed CAN-2004-0888. Since xpdf included with teTeX is 2.01, so this
back-ported fix is pulled from FreeBSD ports collection.  Hiroki Sato
noticed and helped me a lot.
2005-01-17 12:19:13 +00:00
kei
2db07f2d01 applied patches pulled from xpdf-3.00pl2.patch. this should fix security
problems described in CAN-2004-0888.  pointed out by Thomas Klausner.
2005-01-16 08:35:08 +00:00
kei
8d4fc3dea5 applied patches pulled from xpdf-3.00pl2.patch. this should fix security
problems described in CAN-2004-1125.  pointed out by Thomas Klausner.
Bump PKGREVISION.
2005-01-16 08:35:07 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jmmv
027ab7b198 Fix path to file to patch. Closes PR pkg/27355. 2004-10-22 19:32:35 +00:00
kei
e5fe974b7d xdvizilla had unsafe temporary file usage. fixes (diffs between 1.2 and
1.10) are pulled from its CVS repository.

closes pkga22940 by Jeremy C. Reed.
2004-10-22 12:49:02 +00:00
minskim
ad5bc91e0c Avoid using "union wait" in calling wait(2) if possible. Fall back to
"union wait" only when sys/wait.h is not POSIX-compliant.
2004-10-11 04:54:05 +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
grant
2e4800fd4e this uses a c and c++ compiler. 2004-06-27 13:28:59 +00:00
snj
3f341202b5 No longer used. 2004-05-09 04:14:55 +00:00
wiz
d4cc9fd269 xdvi links against libXaw, so include xaw.buildlink3.mk. 2004-05-03 12:43:47 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
danw
3c5461ad06 Don't use :tl to lowercasify the paper size, so this will work on older
NetBSD and non-NetBSD platforms
2004-03-17 16:46:02 +00:00
minskim
3f10520a81 Add kpathsea.buildlink3.mk, which is required by ja-ptex-bin. Reported
by Kouichirou Hiratsuka in PR pkg/24706.
2004-03-11 20:29:58 +00:00
seb
bee0c1847e Remove info files entries from PLIST. 2004-03-09 19:59:09 +00:00
tron
dd51a3b2f6 Use buildlink3 framework. 2004-03-05 08:30:12 +00:00
snj
1f98985a4f Whitespace fix. 2004-02-14 18:26:56 +00:00
snj
52bdbb3a32 Put post-install information in MESSAGE instead of using an INSTALL script.
Okayed by wiz.
2004-02-14 18:16:03 +00:00
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +00:00
wiz
28a33371d2 Fix CONFLICTS with omega to only conflict with older omega;
current omega package does not conflict.
Closes PR 23975 by Richard Rauch.
2004-01-04 17:52:50 +00:00
jmmv
e7c0fbc0d1 Update teTeX packages to 2.0.2 (really merge teTeX2 into teTeX). The 2.x
branch becomes the default teTeX package.
2003-12-24 12:51:31 +00:00
gavan
e75fe4866a Set USE_GCC_SHLIB. Fixes linking on Solaris. 2003-11-07 16:20:26 +00:00
danw
b346ef61b1 Darwin fix, take 2... don't compare ${OS_VERSION} as a number since
that breaks the build on platforms where it's not strictly numeric
(eg, "1.6.1_STABLE")
2003-10-10 15:02:57 +00:00
tron
23dedc23ee Backout last change because it breaks this "Makefile" on at least NetBSD
due to an invalid string comparison.
2003-10-10 08:24:09 +00:00
danw
7af744c5db fixes for Darwin. PR 20514 2003-10-10 01:11:20 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
0504cf670f Overlooked this INSTALL script snippet in previous commit. 2003-08-04 22:33:03 +00:00
seb
058d163eef Convert to USE_NEW_TEXINFO. 2003-08-04 22:02:30 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
tron
6dce7118b0 Conflict with "coreutils" package if "GNU_PROGRAM_PREFIX" is "". 2003-06-17 17:41:37 +00:00
jschauma
5d9572c76a Fix post-install to set the appropriate papersize.
Bump PKGREVISION since now setting PAPERSIZE to 'Letter' actually will
yield letter-sized default output.
2003-04-11 15:13:42 +00:00
tron
c7ac6e3008 Use wildcard dependence on "dialog" package. 2003-04-07 17:39:19 +00:00