Commit graph

1620 commits

Author SHA1 Message Date
kei
5a356f12b8 add missing `..' for share/pixmaps. 2002-05-05 17:48:51 +00:00
jtb
478f52f941 Possible values for NMH_PAGER should be "any pager", not "any editor". 2002-05-04 01:22:03 +00:00
agc
c2c474c2fb Be consistent throughout the file with line continuations and whitespace.
No functional changes.
2002-05-03 12:44:01 +00:00
seb
4dfe879a39 mtree' -> $$action' in _SU_TARGET 2002-04-29 09:12:20 +00:00
jlam
1bfebb4d37 Change some spaces to tabs. 2002-04-29 06:43:34 +00:00
lukem
6c3550c7e6 use www.planetmirror.com.au instead of www.planetmirror.com, so that
MASTER_SORT* does the right thing.
2002-04-29 04:17:04 +00:00
lukem
f0870e5a98 add example PKGVULNDIR entry 2002-04-26 12:56:27 +00:00
hubertf
8e1aa76a27 bin-install: set DEPENDS_TARGET=bin-install, so depends are still
installed via binaries (if possible), even if there is no binary
pkg available for the current pkg.

Implementation still allows overriding DEPENDS_TARGET=build (etc.)
to force installation of dependencies by compiling if desired.

Patch submitted by Marko Schuetz <MarkoSchuetz@web.de> in private mail.
2002-04-25 21:58:55 +00:00
jlam
925b5d6f50 If we are using the config script wrappers, we prepend their location
to the PATH so we don't have to fix so many broken configure scripts
and Makefiles that expect to find the *-config scripts in the PATH.
2002-04-25 00:03:32 +00:00
jlam
873d445762 Re-write do-patch target to fix broken behaviour where if patches/ didn't
exist, then the local patches weren't applied.
2002-04-25 00:02:41 +00:00
lukem
cc356673f0 Update examples for Australia to mainly use ftp://www.planetmirror.com/ 2002-04-23 06:16:31 +00:00
jlam
408c530541 Defined USE_X11 instead of USE_X11BASE. We don't necessarily want to
force a package to be installed into ${X11BASE} if it uses Motif.  As a
side effect, the xemacs and xemacs-current packages no longer install into
${X11BASE} but into ${LOCALBASE}, which matches what they used to do before
being converted to use Motif dialogs.
2002-04-23 02:14:20 +00:00
jlam
ff13344585 Makefile fragment to determine the endianness of the platform by checking
header files.  It defines MACHINE_ENDIAN which is one of three values:
little, big, or unknown.

This file is used in package Makefiles as follows:

.include "../../mk/endian.mk"

.if ${MACHINE_ENDIAN} == "big"
# ...big endian stuff...
.elif ${MACHINE_ENDIAN} == "little"
# ...little endian stuff...
.else
BROKEN=       "Unknown endianness"
.endif
2002-04-22 02:30:51 +00:00
jwise
f3da648a14 Fix problem where CLASSPATH was not being added to MAKE_ENV, CONFIGURE_ENV,
or SCRIPTS_ENV in non-native jdk case.
2002-04-19 17:14:44 +00:00
agc
b905c0d8de In the do-su-install target, when the ${WRKDIR} contains an outdated
version of the package, and an attempt is made to install the package,
first "make clean" and then "make build" to pick up the new version of
the package before continuing with "make install", rather than printing
an error message and dying.
2002-04-18 20:54:51 +00:00
agc
c84be07a31 When creating the ${DLIST} file in the update target, don't create the
${WRKDIR} every time with "mkdir -p" - instead, use the ${WRKDIR}
target, so that any symlinks to it are created properly.

Also, when creating the ${DLIST} file in the update target, don't pipe
the output of pkg_info -R through "tail -n +4" - simply use pkg_info -qR
to achieve the same results.
2002-04-18 15:54:34 +00:00
agc
adfe02d503 There is no point in piping the output of awk through a pipe which does
"head -1" - use awk to do the work for us.
2002-04-18 15:23:43 +00:00
hubertf
fc8b8053ee Pass X11PREFIX in MAKE_ENV
Inspired by PR 16350, sanity-checked by tron
2002-04-17 09:55:59 +00:00
jlam
b85722ef51 Generalize how the PLIST contents are generated:
GENERATE_PLIST is a sequence of commands, terminating in a semicolon,
that outputs contents for a PLIST to stdout and is appended to the
contents of ${PLIST_SRC}.

Convert the perl5 packlist handling to use GENERATE_PLIST.
2002-04-16 04:10:08 +00:00
rh
9935573961 Remove SNORT_USE_PGSQL option. This will be split out into a separate
package.  For that purpose, move most of Makefile into a new
Makefile.common.
2002-04-15 08:31:14 +00:00
rh
2842fc1305 Add a SNORT_USE_PGSQL option to compile in PostgreSQL support (and add
the appropriate dependency).  Patch provided by ww@GROOVY.NET
2002-04-14 09:49:46 +00:00
jlam
19b3f5309e Add note explaining when x11.buildlink.mk should be used. 2002-04-12 14:06:46 +00:00
hubertf
24e4552350 Allow compiling in perl support for scripts.
Patch submitted by dawszy@ailuj.openbsd.org.pl in private mail.
2002-04-12 01:50:34 +00:00
seb
2bc645d273 Somewhat tune the generation of "PLIST file" by print-PLIST target:
- remove unwanted entries earlier by using ${GREP} -v
 - substitute more specific bits before lesser ones: ${MACHINE_GNU_PLATFORM}
   before ${MACHINE_ARCH} and ${MACHINE_GNU_ARCH}
 - substitute *after* the sort so substitution does not move the
   pathnames around
 - add substitution of ${PKGVERSION}
 - substitute ${PKGLOCALEDIR}/locale (this can help actually catching PLIST,
   configuration, build, ... problems with respect to the correct locale
   directory varying from platform to platform)
2002-04-10 12:03:10 +00:00
jlam
d3dec729ba Move definition of PERL5 from bsd.pkg.mk into defs.*.mk. This is something
that is used regardless of whether perl is installed or not, and we
sometimes want its value before include bsd.pkg.mk.
2002-04-09 22:15:40 +00:00
wiz
8eafd443fc Add thai locale dir. 2002-04-09 11:28:25 +00:00
dmcmahill
544ecb6a4e add CONFIG_SHELL to CONFIGURE_ENV. This avoids picking up bash as the shell
which complains about the buildlink vaiable names containing '.' in them.
2002-04-07 17:09:57 +00:00
rh
8f6639efa4 Do not attempt to update a package (deleting the package and all its
dependencies) if IGNORE is set.  This puts the 'update' target in line
with 'install', 'package', and other targets that use the same checks.
2002-04-05 23:26:49 +00:00
fredb
607557814c Add `_tar.gz' to the list of suffices to grok for the benefit of socks5. 2002-04-05 11:39:25 +00:00
jdolecek
859ec29cbc kill locale/cz - this is incorrect and not used (right is locale/cs) 2002-04-04 18:13:39 +00:00
seb
9165b4364c Update to version 3.1.0 (lots of new features and bug fixes).
Enable this package for all platforms.

Added GAWK_ENABLE_PORTALS to mk/bsd.pkg.defaults.mk to enable/disable gawk
handling file names that start with `/p/' as a 4.4 BSD type portal file.

Changes from 3.0.4 to 3.0.5:
- bug fix release only.

Changes from 3.0.5 to 3.0.6:
- bug fix release only.

Changes from 3.0.6 to 3.1.0:
- A new PROCINFO array provides info about the process. The non-I/O /dev/xxx
  files are now obsolete, and their use always generates a warning.
- A new `mktime' builtin function was added for creating time stamps. The
  `mktime' function written in awk was removed from the user's guide.
- New `--gen-po' option creates GNU gettext .po files for strings marked
  with a leading underscore.
- Gawk now completely interprets special file names internally, ignoring the
  existence of real /dev/stdin, /dev/stdout files, etc.
- The mmap code was removed. It was a worthwhile experiment that just
  didn't work out.
- The BINMODE variable is new; on non-UNIX systems it affects how gawk
  opens files for text vs. binary.
- Gawk no longer supports `next file' as two words.
- On systems that support it, gawk now sets the `close on exec' flag on all
  files and pipes it opens. This makes sure that child processes run via
  system() or pipes have plenty of file descriptors available.
- If `--posix' is in effect, newlines are not allowed after ?:.
- Weird OFMT/CONVFMT formats no longer cause fatal errors.
- Diagnostics about array parameters now include the parameter's name,
  not just its number.
- It is now possible to open a two-way pipe via the `|&' operator.
  See the discussion in the manual about putting `sort' into such a pipeline,
  though.  (NOTE!  This is borrowed from ksh: it is not the same as
  the same operator in csh!)
- The close() function now takes an optional second string argument
  that allows closing one or the other end of the two-way pipe to
  a co-process.  This is needed to use `sort' in a co-process, see
  the doc.
- If TCP/IP is available, special file names beginning with `/inet'
  can be used with `|&' for IPC.
- With `--enable-portals' on the configure command line, gawk will also
  treat file names that start with `/p/' as a 4.4 BSD type portal file,
  i.e., a two-way pipe for `|&'.
- Unrecognized escapes, such as "\q" now always generate a warning.
- The LINT variable is new; it provides dynamic control over the --lint
  option.
- Lint warnings can be made fatal by using --lint=fatal or `LINT = "fatal"'.
  Use this if you're really serious about portable code.
- A number of lint warnings have been added.  Most notably, gawk will
  detect if a variable is used before assigned to.  Warnings for
  when a string that isn't a number gets converted to a number are
  in the code but disabled; they seem to be too picky in practice.
  Also, gawk will now warn about function parameter names that shadow
  global variable names.
- It is now possible to dynamically add builtin functions on systems
  that support dlopen. This facility is not (yet) as portable or well
  integrated as it might be.  *** WARNING *** THIS FEATURE WILL EVOLVE!
- Profiling has been added!  A separate version of gawk, named pgawk, is
  built and generates a run-time execution profile.  The --profile option
  can be used to change the default output file.   In regular gawk, this
  option pretty-prints the parse tree.
- Gawk has been internationalized, using GNU gettext.  Translations for
  future distributions are most welcome.
- New asort() function for sorting arrays.  See the doc for details.
- The match function takes an optional array third argument to hold
  the text matched by parenthesized sub-expressions.
- The bit op functions and octal and hex source code constants are on by
  default, no longer a configure-time option.  Recognition of non-decimal
  data is now enabled at runtime with --non-decimal-data command line option.
- Internationalization features available at the awk level: new TEXTDOMAIN
  variable and bindtextdomain() and dcgettext() functions. printf formats
  may contain the "%2$3.5d" kind of notation for use in translations.  See
  the texinfo manual for details.
- The return value from close() has been rationalized.  Most notably,
  closing something that wasn't open returns -1 but remains non-fatal.
- The array effeciency change from 3.0.5 was reverted; the semantics were
  not right.  Additionally, index values of previously stored elements
  can no longer change dynamically.
- The new option --dump-variables dumps a list of all global variables and
  their final types and values to a file you give, or to `awkvars.out'.
- Gawk now uses a recent version of random.c courtesy of the FreeBSD
  project.
- The gawk source code now uses ANSI C function definitions (new style),
  with ansi2knr to translate code for old compilers.
- `for (iggy in foo)' loops should be more robust now in the face of
   adding/deleting elements in the middle; they loop over just the elements
   that are present in the array when the loop starts.
2002-04-04 13:58:25 +00:00
hubertf
8d467e8297 Allow teapop to use mysql, when TEAPOP_WITH_MYSQL is defined.
Bump pkg revision.

Contributed in private mail by Charlie Root <root@gornik.tgr.lubin.edu.pl>
2002-04-03 23:10:41 +00:00
seb
d362c2a8bf Add another locale dir (he) for Hebrew. 2002-04-03 14:56:58 +00:00
seb
4e6697c2c8 Set minimum required version of the pkg_ tools to 20020218.
This is mostly to get the improved/fixed version number handling provided
by this version of the tools, but see the log of
pkgsrc/pkgtools/pkg_install/Makefile revision 1.47 for a summary of
changes.
2002-04-02 15:58:20 +00:00
agc
7de8949242 Make the "replace" and "undo-replace" targets more useful:
+ Check for the existence of pkg_tarup, and fail if it can't be found.

+ Place the binary package of the replaced-package in the ${WRKDIR},
rather than overwriting any instance in ${PKGREPOSITORY}.

+ Don't make a binary package when undoing the replacement.
2002-04-02 09:41:39 +00:00
skrll
8186bff76a Fix a bug when inferring the CXX tag which meant that for certain
libraries the following could occur

	- a.out platforms: c++rt0.o would be missing and therefore
	  global contstructors would not work.

	- ELF platforms libstdc++ and libm would not be explicitly
	  linked in.

This affected notably libqt and explains the build failure of kdelibs2 on
arm32.

Bump PKGREVISION and require it.
2002-03-26 16:31:27 +00:00
martti
68a83ffa9f Added PURE_FTPD_USE_MYSQL 2002-03-26 08:24:59 +00:00
martti
628c7dc15d Added VIM_EXTRA_OPTS 2002-03-25 08:04:04 +00:00
hubertf
7621c45c78 Rewrite REPLACE_PERL as shell-loop, so one can use shell wildcards,e.g.
REPLACE_PERL=   *.cgi *.perl *.pl

Code submitted by Amitai Schlair <schmonz@schmonz.com>
2002-03-24 14:06:22 +00:00
dmcmahill
9988a01984 if we're using ptl2, then pull in its buildlink.mk file now that one
exists rather than just adding a DEPENDS.
2002-03-23 01:24:44 +00:00
tron
105558c351 Remove depend directory file in "update" target if the deinstallation
fails because otherwise the next invokation of the "update" target will
not attempt to remove the package again. Fix provided by Aaron J. Grier
in PR pkg/15827.
2002-03-22 19:08:44 +00:00
martti
7db1d9ea11 Added POSTFIX_USE_MYSQL=YES 2002-03-22 09:01:14 +00:00
jlam
b03bad7085 Modify the generated wrapper script to honor the exit code of the wrappee.
Idea from Dan McMahill <dmcmahill@netbsd.org>.
2002-03-20 14:18:00 +00:00
jlam
db33d0c79d Disable the code added in the previous commit. It seems to be causing
problems linking against libintl in the base system (pkg/15964).
2002-03-20 14:11:54 +00:00
tron
2012c2fb1e Remove "ftp.cs.columbia.edu" from GNU master sites because the mirror
is horribly outdated.
2002-03-20 11:31:33 +00:00
jlam
28ea07c164 When replacing for ${BUILDLINK_X11_DIR}, just replace it directly with
${X11BASE} instead of checking for -I or -L in front of it.  This is okay
because ${BUILDLINK_X11_DIR} should just never appear in any installed
files regardless of its prefix.  Problem noted in private email by Mark
Davies <mark@mcs.vuw.ac.nz>.
2002-03-19 15:54:17 +00:00
jlam
54f9720d09 _LIBTOOL_ARCHIVE_TRANSFORM creates $${dest} from $${file}, where
$${file} is a libtool archive (*.la).  It allows libtool to properly
interact with buildlink at link time by linking against the libraries
pointed to by symlinks in ${BUILDLINK_DIR}.

This change has been tested by me on NetBSD-1.5ZA/i386 and by Mark
Davies <mark@mcs.vuw.ac.nz> on Solaris.
2002-03-18 17:45:34 +00:00
fredb
266c0cfd05 Add an option to disallow cleartext on the wire in "mail/imap-uw",
and while we're in here, prefix the CCLIENT_MBOX_FMT option with the
name of the package. Reviewed by hubertf.
2002-03-18 17:11:04 +00:00
jlam
387f4cee22 Back out some changes that I didn't intend to commit. 2002-03-18 15:17:55 +00:00
fredb
d9607f2757 Append "elf" to ${MACHINE_GNU_PLATFORM}, for NetBSD archs that were once
a.out but are now ELF, in a way that's consistent with bsd.own.mk in
NetBSD-current. This, incidently, makes the gcc package build again on
NetBSD-1.5.3_ALPHA/i386.
2002-03-18 05:46:42 +00:00