Commit graph

3884 commits

Author SHA1 Message Date
wiz
1fdf9e5bd6 Remove a duplicate gnome mirror, and fix path on a second one. 2004-11-22 17:12:42 +00:00
wiz
1d2852cb72 Change perlfiles var to look for files from perl*,
not only perl, so that perl-thread files are not marked as leftovers.
2004-11-22 12:53:56 +00:00
grant
b4ba1b2d00 add OSF1 bits. 2004-11-20 23:30:22 +00:00
kim
f22d973c2f Add AMANDA_TMP 2004-11-20 23:09:48 +00:00
grant
4321a9c877 quieten spurious broken pipe output from cc. 2004-11-20 05:54:36 +00:00
grant
cda1ab8d17 add pthread glue for OSF1, patch from Tobias Nygren. 2004-11-20 05:19:12 +00:00
grant
c047f6663e backout cvs misfire 2004-11-20 04:38:09 +00:00
grant
919cb8bddb add framework support for Tru64 and the Compaq C compiler.
patches provided by Tobias Nygren <tnn at netilium dot org> with
minor changes by me.
2004-11-20 04:37:08 +00:00
tv
e281d8ed2c Remove PERL5_USE_THREADS setting now that the default is perl58-thread. 2004-11-19 13:10:05 +00:00
xtraeme
838274a29f OpenBSD's pax(1) doesn't support -O flag, so use the pkgsrc one. 2004-11-18 04:22:39 +00:00
xtraeme
78d6464808 OpenBSD was fork()ed from NetBSD, so this uses -lossaudio as well. 2004-11-18 04:00:50 +00:00
jlam
a96518e2b0 Remove some obsolete/deprecated variables that have been in this file
for over two years.  They're officially dead now for the upcoming
branch and beyond.
2004-11-17 23:28:12 +00:00
jlam
55ba984801 Move selection of the default perl58 (whether it is threaded or not) into
bsd.pkg.mk.  lang/perl58 now always builds perl58, while lang/perl58-thread
builds perl58-thread (POLS).  Fixes PR pkg/28343.
2004-11-17 22:55:14 +00:00
jlam
319f9f72eb PTHREAD_AUTO_VARS is "yes" or "no" for whether the values of the
variables PTHREAD_{CFLAGS,CPPFLAGS,LDFLAGS,LIBS} should be automatically
added to their respective variables.  Defaults to "yes".

Packages that only require some parts to be linked the the pthreads
compiler/linker options should set this to "no" and selectively add
those options via patches to the right makefiles..
2004-11-17 21:05:24 +00:00
jlam
b990d523e9 Generalize BUILDLINK_AUTO_LIBS.<pkg> to BUILDLINK_AUTO_VARS.<pkg>,
which is "yes" or "no" for whether the values of any of
BUILDLINK_{CPPFLAGS,CFLAGS,LDFLAGS,LIBS}.<pkg> should be appended
automatically to their respective variables.
2004-11-17 21:01:00 +00:00
jlam
9418b1ff37 BUILDLINK_AUTO_LIBS.<pkg> is "yes" or "no" for whether BUILDLINK_LIBS.<pkg>
should automatically be appended to LIBS.  It defaults to "yes".
2004-11-17 19:40:35 +00:00
tv
069c8dffba For some reason EVAL_PREFIX is not properly using the _DEFAULT values, so
re-add the ?= assignments.  (Will be fixed properly later.)
2004-11-17 17:18:33 +00:00
tv
f1b2b2d6a7 Don't check _*PREFIX/bin for the requested compiler hook program. If
PKGSRC_COMPILER requested it, assume that it's available, so that
compilation will (properly) fail if the hook program is somehow not
correctly installed.
2004-11-17 17:14:43 +00:00
jlam
81e4749b3f If we don't need to link against -ldb or -ldb1 (because the DB functions
are a part of libc), then remove "-ldb" altogether.  This should fix
GNU configure scripts that assume you need to at least link against
"-ldb".
2004-11-17 15:12:08 +00:00
jlam
b2320b8957 Preserve the .work.log file from a broken build as .broken.work.html
in the package directory, and add a link to it from .broken.html at
the point where the build fails.  Also adjust the auxilliary scripts
to handle/cleanup .broken.work.html files.

This should enhance the ability of developers to debug broken builds
by providing important information about what is happening as a build
progresses and fails.
2004-11-16 18:34:12 +00:00
tv
4b5d899ef8 Revert previous (re-add common CPP_PRECOMP_FLAGS). For consistency, also
move usage of _USER_DEPENDS and _OPSYS_MAX_CMDLEN to bsd.pkg.mk.
2004-11-16 18:04:00 +00:00
tv
2e3f2421db CPP_PRECOMP_FLAGS is a Darwinism only. Move its frobbing of CPPFLAGS to
platform/Darwin.mk (simplification).
2004-11-16 16:21:40 +00:00
jlam
d1152688ba If we're using db1, the create a compatibility header db_185.h that is
in newer Berkeley DB packages.
2004-11-15 18:23:40 +00:00
jlam
581bc42843 Whitespace nits. 2004-11-15 18:14:10 +00:00
jlam
9572207dcf Store the actual library options in BUILDLINK_LDADD.db1 and append that
to BUILDLINK_LIBS.db1.  This ensures that BUILDLINK_LDADD.${BDB_TYPE}
always resolves to the correct library options.
2004-11-15 18:01:58 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
tv
d1383b985f Set some _OPSYS_SHLIB_TYPE to precisely 'ELF' on platforms where a.out is
not being used by pkgsrc at all.  This saves some build time in
show-shlib-type.
2004-11-15 14:48:18 +00:00
jlam
4c79895c31 Add a mini-framework to centralise the handling of "hacks" for getting
particular packages to compile correctly.  bsd.hacks.mk auto-includes
the hacks.mk file in the current directory.  An example hacks file:

-------------8<-------------8<-------------8<-------------8<-------------
.if !defined(FOO_HACKS_MK)
FOO_HACKS_MK=	defined

### [Sun Nov 14 02:08:31 EST 2004 : jlam]
### arm GCC 2.95.x optimisation bug tickled when compiling
### lib/funkyfile.c.  Require a more recent version of GCC as a
### workaround and patch lib/funkyfile.c (patch-ae).
###
.if !empty(MACHINE_ARCH:Marm*)
PKG_HACKS+=	optimisation
GCC_REQD+=	3.0
.endif

.endif  # FOO_HACKS_MK
-------------8<-------------8<-------------8<-------------8<-------------

The comment which heads each individual hack should timestamp when the
hack was added and describe the bug that requires the hack.  By
separating out hacks to a separate file, we should be able to simplify
package Makefiles so that they are more readable.
2004-11-14 07:23:07 +00:00
jlam
3586ec85db Move PREFER_NATIVE_PTHREADS default setting to from pthread.buildlink3.mk
to defaults/mk.conf, where all defaults should live.
2004-11-12 22:34:15 +00:00
jlam
8a7d3d2ec6 Don't expand .la files in PLISTs that are symlinks. The expansion should
only occur with the real .la file.  This avoids the problem noted by
Greg Troxel in:

	http://mail-index.netbsd.org/tech-pkg/2004/11/12/0018.html
2004-11-12 21:21:08 +00:00
sketch
cc78d56bb6 Introduce LIBABISUFFIX for platforms which require ABI-dependant library paths. 2004-11-12 20:25:41 +00:00
jlam
92eea4d8e0 Insert the default values for WRAPPER_DEBUG and WRAPPER_UPDATE_CACHE as
defaults within the wrapper script.  This avoids requiring those two
variables to be defined in the shell environment for the correct defaults
to take effect.
2004-11-12 16:27:57 +00:00
jlam
d13b06f317 Bulk builds should be defaulting to building perl58. 2004-11-12 15:39:22 +00:00
jlam
af591191d2 Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk.  Also, factor out the pthread
library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS
and use it in packages where necessary (usually the ones that don't
have a GNU configure script).
2004-11-12 06:39:19 +00:00
jlam
153b3f00b7 (1) Split out the native (built-in) pthread detection in
pthread.buildlink3.mk into a separate file, pthread.builtin.mk,
    that is handled using the usual builtin.mk logic.

(2) If pthread.buildlink3.mk is included by a package Makefile, then
    automatically add the necessary compiler and linker flags to
    compile and link pthread-enabled/reentrant code.  For native
    pthreads, this means passing -pthread to the compiler and linker.
    For the userland pthread replacement, we pass -D_REENTRANT and
    -lpthread instead.

(3) Add PTHREAD_{CFLAGS,LDFLAGS,LIBS} in both CONFIGURE_ENV and MAKE_ENV
    when pthread.buildlink3.mk is included so that the configure and
    build processes can use these values.  Remove these definitions
    from bsd.pkg.mk since PTHREAD_* variables are all declared within
    pthread.buildlink3.mk.

XXX For now, PTHREAD_LDFLAGS is a superset of PTHREAD_LIBS until
XXX packages that use use PTHREAD_LDFLAGS can be fixed.
2004-11-12 05:20:01 +00:00
jlam
e5817e65a2 Teach the native linker to accept "-pthread" by silently dropping it.
This allows "-pthread" to be added to LDFLAGS for use by both the
compiler and the linker.
2004-11-12 05:02:41 +00:00
jlam
88b9364ed3 Add a new variable BUILDLINK_LIBS.<pkg> which contains a list of -l...
options (library options) to be appended automatically to LIBS when
building against <pkg>.  LIBS is used by GNU configure scripts to note
the library options that are automatically added to the link command
line.
2004-11-12 04:57:31 +00:00
tv
6d01962e98 Well, the double libtool BUILD_DEPENDS is already annoying people and I'd
rather not force BUILD_DEPENDS through the (slow) reduce-depends dance, so
resurrect LIBTOOL_REQD (though in a bit more succinct manner).
2004-11-12 02:05:20 +00:00
tv
e8e85c8003 Bump that libtool version number back down to nb1 where it was in previous. 2004-11-11 22:34:12 +00:00
tv
d8c17c9d39 Change the way _OPSYS_LIBTOOL_REQD works slightly.
Rather than replacing the LIBTOOL_REQD value, add two BUILD_DEPENDS lines.
That way, the higher numbered BUILD_DEPENDS wins -- allowing the version
in bsd.pkg.mk to be bumped beyond the value in the platform .mk and still
be enforced properly.
2004-11-11 22:32:45 +00:00
tv
a09be89d5a NetBSD now needs libtool-base-1.5.10nb6. 2004-11-11 22:29:40 +00:00
tv
91907b6376 -pthread is invalid for Interix gcc. Add a failure for it so that
portability oopses can be caught earlier.
2004-11-11 00:49:01 +00:00
jlam
8f7405c2b5 Correct debugging output to show the actual script name. 2004-11-10 21:08:11 +00:00
jlam
2d6f90d42d Backout previous pending further testing. There are rumors of problems
with -pthread/-pthreads GCC options detection that may be difficult to
overcome.
2004-11-10 18:46:07 +00:00
jlam
45aebed3b7 Allow BUILDLINK_BUILTIN_MK.<pkg> to point to the builtin.mk file for the
specified package.  This defaults to the builtin.mk file in the pkgsrc
package directory.
2004-11-10 17:39:03 +00:00
jlam
0d1a6b1c29 If we are using native pthreads, then add "pthread" to BUILDLINK_PACKAGES
so that the buildlink3 framework knows to use the various
BUILDLINK_*.pthread variables.  This fixes a long-standing and long-
overlooked bug in pthread.buildlink3.mk that has existed since the
buildlink3 framework was initially committed.

As a result of this change, modifications to packages to introduce
PTHREAD_{CFLAGS,LDFLAGS} in various places to either the configure script
or into Makefiles are probably no longer needed.
2004-11-10 17:29:37 +00:00
sketch
94f891acb9 SunPro understands -Wl,* and passes to the relevant backend, so don't bin it.
Fixes at least graphics/netpbm.
2004-11-10 16:20:40 +00:00
shannonjr
7ce1b962f3 Update _GCC_DIST_VERSION to 3.4.3 2004-11-10 12:04:59 +00:00
jlam
17f45b2ca7 The "transform" file is used to transform arguments on the command line.
The "untransform" file is used to unwrap *-config files and *.lai files.

The transform file can be much stricter about what command line arguments
should look like, so take advantage of that to fix the "libpath" and
"libpath-in-define" regression tests.
2004-11-09 17:16:16 +00:00
jlam
8542f8be3d g/c unused variable _ws_sep. 2004-11-08 22:29:19 +00:00
jlam
a684410450 Whitespace fixes. 2004-11-08 22:26:31 +00:00
jlam
5deded3d41 Remove unnecessary argument checks. 2004-11-08 22:24:22 +00:00
tron
69a269a87e Remove "aleron.dl.sourceforge.net" from "MASTER_SITE_SOURCEFORGE"
because it keeps failing or more than a week.
2004-11-06 15:58:50 +00:00
wiz
e265fbd577 Add a switch SUSE_PREFER which can be set to 9.1 to get
suse91 packages by default.
2004-11-05 13:46:39 +00:00
wiz
6af35801a0 Some updates for DragonFly from Todd Willey via tech-pkg. 2004-11-02 22:24:35 +00:00
agc
ec3956e4aa Correct whitespace after UPDATE_RUNNING changes 2004-11-02 08:31:45 +00:00
erh
00d045e33b Set UPDATE_RUNNING=YES when deinstalling due to a update or replace target.
Use this to trigger appropriate args to pkg_delete so PKG_PRESERVE packages
can be upgraded.
2004-11-02 00:03:09 +00:00
wiz
e8cb326b9f Add DragonFlyBSD support, provided by Todd Willey on tech-pkg. 2004-10-31 22:05:02 +00:00
tv
2e2cb6b1ef Clarify previous (missing a word). 2004-10-29 15:15:50 +00:00
tv
6e04a29aad Add a block comment to track the base addresses of Interix shlibs as used
in pkgsrc.  (Since they are non-PIC, they require better than just default
base addresses in some fashion, or else face runtime text relocation.)
2004-10-29 15:15:10 +00:00
tv
ce5ae8b6ad Collapse ROOT_CMD a little; it's possible to make all invocations do the
$(id -un ...) dance for canonical naming.
2004-10-29 14:53:39 +00:00
darcy
9a93a222e9 Changed name of variable from file to cfile (config file) so that pkglint has
one less thing to complain about in every package that includes this file.
2004-10-29 12:30:20 +00:00
tv
2c8efb738f Fix shlib execute perm pattern (was broken after 1.1537).
Also, to address concerns raised on tech-pkg, only issue the warning about
execute permission if PKG_DEVELOPER is set.
2004-10-28 14:05:56 +00:00
xtraeme
3c76f3a70b mysql.bl3.mk suggested by Jaromir Dolecek (jdolecek@):
Default mysql package if there isn't any installed is mysql-4.1.7
(databases/mysql4-client)

You can choose a mysql package via MYSQL_VERSION_DEFAULT, it will
accept the following values:

MYSQL_VERSION_DEFAULT=41 # <- mysql-4.1.7
MYSQL_VERSION_DEFAULT=40 # <- mysql-4.0.21
MYSQL_VERSION_DEFAULT=30 # <- mysql-3.5.x
2004-10-28 11:28:27 +00:00
wiz
c3f7f45921 Fix path to CPAN on cloud9. 2004-10-28 09:53:44 +00:00
recht
b83ac5ddfa - Allow CXXFLAGS to be set on a per-OS basis (read added to OPSYSVARS).
- Set CXXFLAGS in the MAKE_ENV (if defined).
2004-10-27 21:45:53 +00:00
tv
28cb3985eb Don't chmod shlibs that are symlinks; fixes issue noted by <grant@netbsd.org>.
Also don't do the ldd-REQUIRES dance unless SHLIB_HANDLING=YES (because you
don't want to run a native ldd on a foreign binary).
2004-10-27 13:47:41 +00:00
grant
91c3a1ad95 whitespace police and tidyup of PLIST_SUBST. no functional change. 2004-10-27 10:41:43 +00:00
xtraeme
f20f07a4bf Add missing PKG_SKIP_REASON when ${_PGSQL_VERSION} is defined, but
the package is not postgresql "74" or "73".
2004-10-26 21:39:33 +00:00
xtraeme
a31423607e Modify the comment about FETCH_RESUME_ARGS a bit, to sync with
FETCH_OUTPUT_ARGS.
2004-10-26 21:22:51 +00:00
xtraeme
45b3b684a4 2nd round for PKG_RESUME_TRANSFERS:
* Add FETCH_OUTPUT_ARGS (new option, defaults to "-o" with NetBSD's ftp(1))
* Use FETCH_OUTPUT_ARGS to move the file transfer to a temporary name
 on ${DISTDIR}/${DIST_SUBDIR} with extension ".temp"
* If temporary file matches the checksum recorded in distinfo, move it
 to the original name (removing temp file)

For example, if you want to use PKG_RESUME_TRANSFERS with wget
(pkgsrc/net/wget), the following vars should be defined in mk.conf:

FETCH_CMD=wget
FETCH_RESUME_ARGS=-c
FETCH_OUTPUT_ARGS=-O

No need to set these vars when using defaults (NetBSD's ftp(1))
2004-10-26 21:14:59 +00:00
lukem
474141b293 add hostname to Subject: of PKGSRC_MESSAGE_RECIPIENTS email 2004-10-26 02:23:37 +00:00
jmmv
f604984f30 Introduce the PKGCONFIG_OVERRIDE_STAGE variable to let a package
specify when the pkgconfig substitutions have to be applied; defaults
to pre-configure.  This is useful because some packages modify the .pc
files during the build process (adding -L flags), so they have to wait
until the build finishes to add the correct rpaths.

Also modify the regular expression in PKGCONFIG_OVERRIDE_SED to match
and fix multiple -L flags, instead of just one.
2004-10-25 18:02:20 +00:00
tron
fdf24cdaf0 Add mirror on "ftp.fu-berlin.de" to "MASTER_SITE_APACHE". 2004-10-25 07:48:22 +00:00
agc
a920ff2b3c Allow the xsrc directory to be specified on the command line, defaulting to
/usr/xsrc if not specified, and check for its existence.
2004-10-24 22:54:25 +00:00
ben
780b5f9c9f Remove ftp://ftp.wustl.edu/packages/TeX/ from MASTER_SITE_TEX_CTAN for now,
as the /packages directory no longer exists.
2004-10-22 13:32:18 +00:00
tv
d581ad2ae3 Only allow LIBTOOLIZE_PLIST=no if USE_LIBTOOL is *not* used, setting BROKEN
if both are specified.
2004-10-21 17:18:44 +00:00
tv
10bbfcf5b1 Put back LIBTOOLIZE_PLIST, which I meant to do but didn't commit. This is
needed by some packages currently which install broken .la files or
otherwise don't work with the transform logic yet.
2004-10-21 17:00:10 +00:00
martti
827682d60f Added missing / 2004-10-20 05:42:55 +00:00
ben
056dbbb3f1 Translate MACHINE_ARCH and LOWER_ARCH from ppc to powerpc in the case of
Linux, to be more consistent with other platforms.
2004-10-19 23:16:47 +00:00
tv
b271937c8b Propagate $ECHO, $GREP, $SORT to print-la-libnames; fixes this on IRIX.
Noted by Georg Schwarz <geos@epost.de>.
2004-10-16 22:37:29 +00:00
tv
e2231831d1 Oy. For some reason, when doing :O:u, -L and -R options are stripped
completely (they say "cached" but never come out the other side).  So
revert previous, hopefully to find a resolution later....
2004-10-14 20:22:21 +00:00
tv
4b8e5d9b9a Big speedup hack: Sort and uniqify ${_WRAP_TRANSFORM_CMDS}. Eliminates
many (hundreds, in some packages) multiple identical transformations.
2004-10-14 20:00:30 +00:00
grant
a2123a466b make sure _TOOLS_HAS_GNU.<tool> is initialised. from Michael van Elst
in PR pkg/27258.
2004-10-14 11:41:40 +00:00
grant
caabec7172 fix a comment 2004-10-14 09:56:52 +00:00
grant
4f6d6c2740 devel/yacc -> devel/bison. there is no such package as devel/yacc.
(how did this ever work?)
2004-10-14 09:54:04 +00:00
grant
f8258b249d handle the operating system having GNU yacc (actually bison) and
explicitly undef YACC.

YACC?=yacc is set in sys.mk, but this interferes with building some
packages that require bison because they try ${YACC} and fail.
2004-10-14 09:51:43 +00:00
tv
d133a216ec Oy, what a hack. But then, so is Interix....
On Interix, force inclusion of devel/ncurses/buildlink3.mk from
mk/curses.buildlink3.mk.  This forces inclusion of its builtin.mk too.

In devel/ncurses/builtin.mk, if using Interix's builtin ncurses, always
transform -lncurses to -lcurses.  (-lncurses is static, but -lcurses is
shared; we want the shared version.)
2004-10-13 20:10:31 +00:00
tv
888be43a6a Bump LIBTOOL_REQD back to 1.5.10nb1. This ensures that folks who built
1.5.10 during the "broken" period (before the workaround and wrapper fix)
have to upgrade to make it work correctly.
2004-10-13 18:42:19 +00:00
tv
7f3683f1ed For the ELF form, make sure shlibs are installed +x. If not, issue a
warning, fix it, and move along.
2004-10-13 17:52:46 +00:00
tv
9a8ac08ae7 Use /bin/test. The /bin/sh builtin has some bugs with symlinks. 2004-10-13 17:50:01 +00:00
tv
53860a0446 Make strip/no-strip choice more consistent:
Move check for INSTALL_UNSTRIPPED to the platform/*.mk files, alongside
existing check for DEBUG_FLAGS.
2004-10-13 15:31:31 +00:00
tv
78745eb4bf Bump gzip-base to 1.2.4b for security fix. 2004-10-12 18:29:25 +00:00
tv
b0f7b8b308 Automatic inclusion of gzip-base needs a version number in the BUILD_DEPENDS. 2004-10-12 17:32:46 +00:00
tv
728ff6632f Fix _PLIST_AWK_LIBTOOL not to pass @comment lines to print-la-libnames. 2004-10-12 14:34:57 +00:00
tv
0a4331633b libmikmod is certainly not the only package using USE_ESOUND any longer.... 2004-10-12 13:58:22 +00:00
uebayasi
37f4171f37 ulimit' can't parse localized messages of "unlimited"; force ulimit -H
...' to print out the C-locale message.  Problem reported by Hiroyuki
Nakaji.
2004-10-12 08:38:19 +00:00
tv
9e2ecafeae Another Interix fubar workaround: C++ libs weren't linking in libtool
because Interix installs completely hosed .la files for libstdc++ and
libsupc++.  Make libtool instead trust g++ to DTRT.
2004-10-12 04:41:39 +00:00
tv
0755bfeadb Let's do another _TOOLS_REPLACE_OPSYS dance for Interix. It ships with a
version of gawk in /usr/contrib/bin, so use that instead.
2004-10-12 01:17:36 +00:00
tv
b546e8c0c5 Upon further digging, it appears that Interix just needed a
_TOOLS_REPLACE_OPSYS setting to pick up nbsed in tools.mk; no need to
throw more into autoconf's environment.
2004-10-11 23:38:53 +00:00
tv
d769d069b3 A couple packages overflow Interix's sed in an autoconfitized configure
script.  Since all platforms define a "reasonable" sed(1), it seems
reasonable to pass this info to ./configure as well.

While here, convert LIBS="${LIBS}" to the proper LIBS=${LIBS:Q}.
2004-10-11 23:27:18 +00:00
reed
15fee44a6c Make it so RCD_SCRIPTS_EXAMPLEDIR is a directory relative to
${PREFIX}. It is not an absolute path because with the automatic
addition of the entry to the PLIST would be bogus if someone
defined it to some RCD_SCRIPTS_EXAMPLEDIR outside of PREFIX.
(This may cause multiple rc.d directories if there are multiple
PREFIXes, but I think that is fine.)

Note that at this time, this doesn't change the RCD_SCRIPTS_EXAMPLEDIR
default directory. This will change soon.

Most of this has been in use for over a year.

Also some of this is from Greg Woods. Thank you Greg.

I will next update a few other references to RCD_SCRIPTS_EXAMPLEDIR.
2004-10-11 22:04:19 +00:00
reed
1f144be250 Add RCD_SCRIPTS_EXAMPLEDIR to the MESSAGE_SUBST. www/tinyproxy's MESSAGE
used it but it was not defined. Other MESSAGE files use it too.
2004-10-11 21:49:00 +00:00
tv
2f4cc60680 Add MASTER_SITE_CYGWIN, to be used for some emulators/cygwin_* packages
(mainly to provide Win32 gateway services for Interix hosts).
2004-10-11 19:44:06 +00:00
tv
c12846d533 Make -export-symbols work properly under Interix. (The Interix ld(1) does
not implicitly add `_' to -retain-symbols-file values, so we have to add
it manually before doing the physical link.)
2004-10-11 16:51:56 +00:00
tv
50627baf77 Add win32-jdk. While here, sort the per-JVM metadata sections by JVM name. 2004-10-11 13:38:18 +00:00
jmmv
8b4ceebcb8 Add az_IR locale, initially used by gtk2 2.4.11. 2004-10-09 09:17:12 +00:00
tv
26bca1504d Add a comment explaining that bizarre $$(id -un ...) construct in ROOT_CMD. 2004-10-09 04:12:58 +00:00
tv
61fabf5361 Move -D_ALL_SOURCE for Interix, required for nearly every compilation, from
the funky CPPFLAGS assignment into the new wrapper framework.
2004-10-09 03:49:13 +00:00
tv
e186c85bad devel/patch is needed by some platforms in order to build ccache, so don't
cache that one either.
2004-10-09 03:48:31 +00:00
tv
af06ad46bd Add EXTRACT_ENV.bin, allowing things to be passed into the environment of
a ".bin" extraction (to be used shortly by lang/sun-jre15).

This isn't a generic EXTRACT_ENV, as the rest of the extraction tools don't
currently need such a knob.  The most common use would be to set things in
the env of a binary-only distribution to make for silent or otherwise
twiddled package extraction.
2004-10-09 03:47:13 +00:00
jlam
73324346e7 Drop the extraneous comma in "-Wl,-R,/dir" and turn it into "-Wl,-R/dir".
Do the same for options that look like "-Wl,-L,/dir".
2004-10-08 21:53:53 +00:00
xtraeme
8dfcb6fabd X11_TYPE=xorg:
Blah, again the .pc files problem with compositeext and fixesext, we have
the headers but not these files... remove them.
2004-10-08 04:47:52 +00:00
xtraeme
53f32a3d09 Use builtin versions for Xcomposite and compositeext for X11_TYPE=xorg
users.
2004-10-08 04:00:37 +00:00
xtraeme
21a0d4da99 Changes for meta-pkgs/xorg and friends:
Looks like that cannot we use render/randrext builtin versions for
meta-pkgs/xorg, because of missing .pc files required to build Xrender
and friends, remove them from here.

Closes PR pkg/27129 by Cristopher Richards, thanks for the info, I thought
they were installed by xorg-libs... (!)
2004-10-08 00:58:25 +00:00
jlam
b74c7e3473 Make PKGSRCDIR a read-only value. This avoids problems where the user
decides to set PKGSRCDIR to a relative path as seen in several old PRs
and which prompted the original switch to make PKGSRCDIR private in
revision 1.881 of bsd.pkg.mk.
2004-10-07 13:42:26 +00:00
jlam
0f9ae0638a Remove _PKGSRCDIR now that we have PKGSRCDIR (as per previous commit). 2004-10-07 03:03:09 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
jlam
095767c3c2 _DEPENDS.${_path_} can contain more than one dependency pattern, so split
along whitespace when appending ":../../category/pkgdir".  Fixes problem
noticed when running "make show-depends-dirs".
2004-10-06 21:51:41 +00:00
jlam
f8946737f1 Climb up the directory tree to find the top, instead of guessing where
the top and searching on the way down.  Thanks Gavan!
2004-10-06 20:59:40 +00:00
jlam
dffc19378a Reorganize some of the files under pkgsrc/mk:
(1) defs.${OPSYS}.mk --> platform/${OPSYS}.mk.

The "platform" subdirectory is where all of the ${OPSYS}-specific
infrastructure logic should reside.

    (2) bsd.pkg.defaults.mk --> defaults/mk.conf
        bsd.pkg.obsolete.mk --> defaults/obsolete.mk

Renaming bsd.pkg.defaults.mk to defaults/mk.conf is to mimic the way
that NetBSD has /etc/rc.conf as well as /etc/defaults/rc.conf, where
the latter is a full list of user-settable variables, and the two
files share the same name to reinforce the fact /etc/defaults/rc.conf
can be directly copied in place as /etc/rc.conf.  This is the same
relationship shared by defaults/mk.conf and /etc/mk.conf.
2004-10-06 20:51:47 +00:00
tv
fe9f6ce2c3 Add SUN_JRE15_USE_JCE (forgot this file in the commit). 2004-10-06 19:47:01 +00:00
grant
2644aa2b45 call the C compiler as 'xlc' so libtool mostly DTRT. 2004-10-06 13:56:46 +00:00
grant
b761a1f885 add initial support for IBM's XL C/C++ compiler. tested with version
6.0 on Mac OS X 10.3.5.

to use XL C, set PKGSRC_COMPILER=xlc in mk.conf. XLCBASE defaults to
/opt/ibmcmp/vacpp/6.0 (the default installation location on OS X),
this can be overridden in mk.conf too.

this is a work in progress - some simple packages can be built, but
there are still lots of issues that need to be worked through.
2004-10-06 09:49:53 +00:00
jlam
1191106c78 Check for presence of the libname listed in the libtool archive before
outputting it to stdout.
2004-10-05 22:34:07 +00:00
jdolecek
892c99e9e4 the distfile mirror on ftp.cz.NetBSD.org is no longer functional 2004-10-05 18:03:51 +00:00
jlam
087adf00de Move the "dependency reduction" code from buildlink3 to bsd.pkg.mk so
that all of pkgsrc can benefit from removing redundant dependencies.
The code is encapsulated in a new file reduce-depends.mk which is
included by bsd.pkg.mk after all dependencies have been specified.
2004-10-05 15:28:50 +00:00
cube
2b1dbffc46 Add man/fi, required for an upcoming package. 2004-10-04 20:47:41 +00:00
jlam
f2cb35cf1e Add a scan script that checks for "-v" on the command-line, and prevents
the wrappers from adding extra flags to the command-line if "-v"
exists.  This makes "g++ -v" return the same error code for both the
wrapper and the real executable and fixes the problem with the
libtool-base build not correctly detecting the C++ compiler and thus
not adding the CXX configuration tag to the final libtool script.

Downgrade LIBTOOL_REQD to 1.5.10 since the newest version isn't needed
with this change.
2004-10-04 20:28:29 +00:00
tv
4bee2600f9 Fix completely hosed test for g++ when CXX=g++. The old test worked fine.
Revert until the hosage is tracked down and eliminated at the source.

(Bump to libtool-1.5.10nb1, and make this the required version.)
2004-10-04 19:48:09 +00:00
jlam
b339673bcc When transforming from ${LOCALBASE} into ${BUILDLINK_DIR}, convert
into the mangled name for ${BUILDLINK_DIR} as an intermediate step,
then convert the mangled name into ${BUILDLINK_DIR} at the end.  This
avoids problems with too many substitutions when ${BUILDLINK_DIR} is
a subdirectory of ${LOCALBASE}, as noted in PR pkg/27104.
2004-10-04 17:57:08 +00:00
jlam
5b6ee3d6b7 Don't cache transformations of "-lfoo" into "rel/path/to/libfoo.la" because
"rel/path/to" can be different each time.  This should fix problems with
building transcode after the wrapper framework was integrated.
2004-10-03 21:39:07 +00:00
hira
da072355cf Don't echo the debug message for the targets whose output is used
by other targets.

OK'd by jlam.  This should close pkg/24377.
2004-10-03 04:24:20 +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
hubertf
ec50bc5bf8 Update the wording a bit when a license is not accepted, to better
indicate the proper process: first read the license, then accept,
and indicate so in /etc/mk.conf:

	yui% make
	===> graphviz-1.12 has an unacceptable license: graphviz-license.
	===>     To view the license, enter "/usr/bin/make show-license".
	===>     To indicate acceptance, add this line to your /etc/mk.conf:
	===>     ACCEPTABLE_LICENSES+=graphviz-license
	*** Error code 1
2004-10-01 00:23:18 +00:00
rh
bb15c9ef51 Add and enable {jdk,jre}15 2004-09-30 23:50:33 +00:00
jlam
4933de09cd G/C _WRAPPER_SH.LIBTOOL which isn't needed (it's value was being
overwritten within bsd.wrapper.mk anyway).  Also fix up the documentation
surrounding that section.  From Stoned Elipot in private email.
2004-09-30 16:34:32 +00:00
epg
75c64ab200 Make APR_USE_DB4 default to NO everywhere, now that subversion-base
can build without it.
2004-09-30 15:37:24 +00:00
cube
23f895afd8 Remove ftp.sunet.se for now, as it contains at least one broken
archive (PR#27049 by Robert Elz).
2004-09-28 12:17:26 +00:00
tv
2639310040 Per jlam's suggestion, remove the libtoolize conditional altogether. Some
packages install libtool archives without using USE_LIBTOOL.
2004-09-27 19:37:36 +00:00
tv
243c9deac1 LIBTOOLIZE_PLIST doesn't even need to be conditional. If USE_LIBTOOL is
set in the package Makefile, then a libtool transform will be done, period.
2004-09-27 14:44:31 +00:00
tv
9f83d13210 LIBTOOL_REQD in bsd.pkg.mk is newer than the version listed here; remove
the _OPSYS local override.
2004-09-27 14:42:09 +00:00
jlam
430f3b2ae5 Move some wrapper definitions into a separate file wrapper-defs.mk that is
included by bsd.prefs.mk.  This allows the following variables to be used
before bsd.wrapper.mk is included:

	WRAPPER_DIR		WRAPPER_SRCDIR
	WRAPPER_BINDIR		WRAPPER_SHELL
	WRAPPER_TMPDIR
2004-09-27 12:05:53 +00:00
jlam
48816eb26f Define PKGSRC_TOPDIR as the path to the top of the pkgsrc tree relative
to the Makefile on which make is invoked.  Use it instead of doing the
same dance for finding defs.${OPSYS}.mk and bsd.pkg.defaults.mk.
2004-09-27 12:00:56 +00:00
rh
ccdc09933b In print-PLIST, handle '@exec ${MKDIR}' by PRINT_PLIST_AWK as well. 2004-09-27 00:27:45 +00:00
jlam
a92d5feb00 Make _WRAPPEES into a public variable so that we can more easily create
wrapper scripts in package-land.
2004-09-26 21:38:03 +00:00
jlam
320e487b44 We don't use skipargs here... it's all in logic. 2004-09-26 21:09:34 +00:00
danw
8d2996c6f9 fix dylib handling 2004-09-26 19:11:50 +00:00
jlam
50e0a73caf Fix rmdir command so it passes remove-dir in the buildlink-transform
regression test.
2004-09-26 05:50:39 +00:00
jlam
2044bc930d Add Dan Winship's workaround to allow building on Darwin. This is only a
temporary fix until I can find time to do this better.
2004-09-25 20:38:21 +00:00
jlam
cf55b4e474 Teach the libtool wrapper about the "clean" and "uninstall" modes, where
we don't append the BUIDLINK_LDFLAGS to the commandline.
2004-09-24 20:44:28 +00:00
jlam
6cdf3f2903 Create ${BUILDLINK_DIR}/bin for use by packages that need to drop off a
buildlink wrapper for an installed binary or script.
2004-09-24 16:15:18 +00:00
jlam
74b4e1b968 Make print-PLIST work if there are no *.la files. 2004-09-24 15:00:10 +00:00
seb
5671e58328 Fix typo in comment. 2004-09-24 09:37:28 +00:00
jlam
3621e208c1 Teach gcc.mk about gcc34 so that setting GCC_REQD=3.4 in /etc/mk.conf will
make pkgsrc do the right thing.
2004-09-23 15:25:54 +00:00
jlam
b2e3986dd7 Support the ABI flags on MIPS platforms. 2004-09-23 13:49:21 +00:00
jlam
19036ca486 Move @_WRAP_TRANSFORM_SED@ from the logic script into wrapper.sh so that
it can be customized per wrappee.  This fixes the imake wrapper script to
not do any transformations to -I... options.
2004-09-23 03:59:01 +00:00
jlam
0f129fde91 Typo in comment. 2004-09-22 23:17:47 +00:00
jlam
fbe4ac354a When mangling paths, also do (and undo) the transformations for full
paths to static archives and libtool archives.  This should fix the
problem where a mangled path sometimes makes its way into the the
executed command line.
2004-09-22 23:00:26 +00:00
jlam
bfecc5b0c7 Add a toggle that determines whether we pass extra arguments or not. This
is intended to be toggled by a $scan file.  Simplify buildlink3 by removing
_BLNK_LIBTOOL_LDFLAGS and just setting _WRAP_EXTRA_ARGS.* like all of the
other wrappers.
2004-09-22 17:56:31 +00:00
mason
d1a4ff1d2c Typo - "ressource". 2004-09-22 16:42:29 +00:00
jlam
f3f0daafb8 Protect against underflow in the argument buffer in the inner while loop,
noted in PR pkg/27014.
2004-09-22 08:35:01 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
79f68f7905 Don't exit on error if the *.la file is not a libtool archive. 2004-09-21 17:54:38 +00:00
xtraeme
a80ec50c6c X11_TYPE=xorg users:
* Use builtin versions for Xfixes, fixesext, randrext and render.
  There's no need to install these packages from pkgsrc when using
  X.org >= 6.8.0, they were already installed.
2004-09-21 17:51:30 +00:00
jmmv
5644603b47 Add 'ang' locale, initially used by eel2-2.8.0. 2004-09-21 16:32:35 +00:00
jlam
12830b2534 Add a lock_file function that generates lockfiles that are usable on
NFS-mounted directories.
2004-09-21 15:14:08 +00:00
jlam
1d55af8fb2 Initial commit of a new wrapper script framework that encapsulates
the non-buildlink-related code and moves it out of mk/buildlink3 into
mk/wrapper.  The buildlink3 code is modified to simply hook its
transformations into the wrapper script framework.

The wrapper script framework has some new features:

* Support automatically passing "ABI" flags to the compiler and linker
  depending on the value of ${ABI}.  Currently supports the SunPro
  compiler with ${ABI} == 64 and the MIPSPro compiler with ${ABI} as
  any of 32, n32, o32, and 64.

* making UnixWare GCC accept -rpath options and silently converting
  them into an appropriate LD_RUN_PATH

* Add cmd-sink-interix-gcc and cmd-sink-interix-ld that errors out
  when it sees -fpic/-fPIC and -shared/-Bshareable, respectively
  (requested by <tv>).

* Much improved debugging output.  It's possible to output the wrapper
  work log in-line with normal output by setting WRAPPER_LOG to
  "stderr".

Important differences in behaviour from the old buildlink3 code include:

* Only move the -l options to the end of the command line, leaving the
  -L options in-place.

* Extend the autodetection of the libtool mode to detect "compile" and
  "uninstall".

* Fix problem noted in both PR pkg/24760 and PR pkg/25500, where
  -L/usr/lib/* was being mangled improperly.

* Remove the top-level "buildlink" target; instead, make buildlinking
  occur as part of the "wrapper" target.

* mangle and sub-mangle are only meant to transform directories in
  -I, -L, and rpath options, so remove the lines in
  buildlink3/gen-transform.sh that transformed bare directories.

* Add the ability for the libtool wrapper to be called just to unwrap
  an existing libtool archive by running:

	libtool --mode=unwrap -o libfoo.la

  The old --fix-la syntax no longer works.


20040818
========
* Initial release of a new wrapper script framework that encapsulates
  the non-buildlink-related code and moves it out of mk/buildlink3.
  These features include:

   * making MIPSpro accept GCC options
   * making MIPSpro "ucode" accept GCC options
   * making SunPro accept GCC options
   * making "ld" accept -Wl,* options and silently removing the "-Wl,"
   * (NEW) making UnixWare GCC accept -rpath options and silently
     converting them into an appropriate LD_RUN_PATH

  One major benefit of this is that the buildlink3 code is now much
  tighter and easier to understand since it concerns itself solely
  with buildlink-related details.  I haven't yet optimized the wrapper
  cache, so the new wrapper scripts may take slightly longer to execute
  than the old buildlink3 wrapper scripts, but I'll be improving this
  over time.


20040821
========
* Move the inclusion of $cmd_sink outside of the main loop in wrapper.sh
  so that the $cmd_sink script can be used to globally scan and process
  the arguments.  Move the LD_RUN_PATH code to a cmd-sink-unixware-gcc
  script.  Garbage-collect the now unused export_vars-related code.

* Add cmd-sink-aix-xlc for AIX xlc that munges -Wl,-R* into an
  appropriate -blibpath option.

* Add cmd-sink-interix-gcc and cmd-sink-interix-ld that errors out
  when it sees -fpic/-fPIC and -shared/-Bshareable, respectively
  (requested by <tv>).

* Move the code that converts full paths to shared libraries into the
  "-Ldir -llib" equivalents from the buildlink3 code into wrapper/logic.
  Remove the same from bsd.buildlink3.mk and gen-transform.sh.

* Move the code that checks for absolute rpaths from the buildlink3
  code into wrapper/arg-source.  Remove the same from bsd.buildlink3.mk
  and gen-transform.sh.

* Only move the -l options to the end of the command line, leaving the
  -L options in-place.

* Add more debugging code.


20040824
========
* Fix quoting problems after arguments are transformed.  Remove the
  hack that was inserted that magically made almost everything work
  because we do it the right way now.

* Move the inclusion of $logic outside of the main loop in wrapper.sh
  so that the $logic script doesn't have to worry about underflowing
  the argument buffer.

* Encapsulate the loop in wrapper.sh that fills the argument buffer
  entirely within the arg-source script.

* Move from the logic script into the arg-source script the
  transformations that merge or split arguments.

* Fix bug where skipargs was effectively being ignored if it was more
  than 1.

* Handle the whitespace in transformations in the logic script that
  turn one library option into multiple library options, e.g.
  "-lreadline" -> "-ledit -ltermcap".

* Allow you to specify an environment variable WRAPPER_SKIP_TRANSFORM
  for whether you wish to skip the transformation step in the logic
  script.  This is intended for testing purposes.

* Added check_prog() and init_lib() functions to the shell code library
  to make it more reusable outside of the wrapper framework.

* Allow the msg_log() function to output to "stdout" or "stderr".  If
  you want to have all of the logging appear on the screen, then you
  can now set WRAPPER_LOG=stderr.

* Make some of the script components not overridable on a per-wrapper
  basis.

* Add a gen-transform.sh script that generates transformation sedfiles.
  The "transform" script is used to transform arguments, while the
  "untransform" script is used to unwrap files.  Move the no-rpath
  logic from buildlink3/gen-transform.sh into wrapper/gen-transform.sh
  since it's not buildlink3-specific.

* Check for a non-empty blibpath before adding the option in
  cmd-sink-aix-xlc.

* Extend the autodetection of the libtool mode to detect "compile" and
  "uninstall".

* Add a cmd-sink-libtool script that doesn't pass linker options to
  libtool unless we're in "link" mode.

* Set _USE_RPATH to "yes" for UnixWare so that the wrappers will see the
  rpath options and convert them to a LD_RUN_PATH definition.

* Add more debugging code.


20040826
========
* Rewrite buildlink3/gen-transform.sh to produce more precise sed commands.
  Drop some unused commands from the mini-language, and add a few more
  that are more restrictive in their scope.

* Fix problem where repeated options weren't properly handled by some
  of sed commands.  It's not enough that they're "global replace",
  since some patterns match separator characters before and after each
  option.  We must repeat those patterns twice to catch all instances
  correctly.

* Fix problem noted in both PR pkg/24760 and PR pkg/25500, where
  -L/usr/lib/* was being mangled improperly.

* Remove the top-level "buildlink" target; instead, make buildlinking
  occur as part of the "wrapper" target.

* Add more debugging code.


20040828
========
* Added a head_queue function to shell-lib that returns the head of the
  named queue without popping it off the front of the queue.

* Strip consecutive, repeated library options from the command line when
  we read it in the logic script.

* Be more careful about not underflowing the argument buffer.


20040906
========
* shell-lib was moved into pkgsrc/mk/scripts; correct references to that
  file in the wrapper code.

* Use opt-sub instead of sub-mangle when protecting -I/usr/include/*
  and -L/usr/lib/* from buildlink transformations.  This avoids adding
  lines that look like "-I-I..." in the transformation sedfiles.

* mangle and sub-mangle are only meant to transform directories in
  -I, -L, and rpath options, so remove the lines in
  buildlink3/gen-transform.sh that transformed bare directories.

* Fix bug in strip-slashdot where the "." wasn't backquoted and thus
  matched all characters instead of only the "." character.

* Change the libtool wrapper to use a modified buildcmd script that
  doesn't rearrange any of the arguments.  This should fix spurious
  problems where libtool doesn't understand how to parse the command
  line when the -l options are moved to the end of the argument list.

* Fix bug in the logic script where the $cachearg and $cachedarg
  weren't being properly set at all times, which caused the cache to
  contain the wrong transformed argument.


20040907
========
* Support automatically passing "ABI" flags to the compiler and linker
  depending on the value of ${ABI}.  Currently supports the SunPro
  compiler with ${ABI} == 64 and the MIPSPro compiler with ${ABI} as
  any of 32, n32, o32, and 64.

* Move back the code that splits absolute paths to shared libraries
  from arg-source back into logic.  This allows us to correctly skip
  splitting those paths based on the previous option.  Also add a
  sanity check that the library name in the split argument doesn't
  contain a "/" since shell globs are not as precise as REs.

* Don't transform the path given after --dynamic-linker (used by GNU
  ld for ELF linkage).

* Add the ability for the libtool wrapper to be called just to unwrap
  an existing libtool archive by running:

	libtool --mode=unwrap -o libfoo.la


20040914
========
* Add a loop in libtool-fix-la to ensure that all of the options listed
  in the dependency_libs lines of *.lai files are processed.  This fixes
  a buildlink3 leakage bug.

* Merge the gen-transform.sh scripts between buildlink3 and wrapper and
  place them all in wrapper.  This makes sense since the commands simply
  allow for many types of transformations, which buildlink3 takes
  advantage of, but there is nothing inherently buildlink-ish about
  those commands.

* Don't directly manipulate SUBST_SED.unwrap.  Instead, create the
  value of SUBST_SED.unwrap by combining several other variables
  (currently just _UNWRAP_SED) to ensure that the correct ordering is
  preserved.

* Correct some confusing debugging messages.
2004-09-21 15:01:38 +00:00
wiz
6e87eff20c Comment out old sourceforge URL for gd.tuwien.ac.at, and add commented
out URL where it will re-appear hopefully soon.
2004-09-19 13:00:28 +00:00
tron
5b5b90cb84 Correct path for Mozilla mirror on "ftp.funet.fi". 2004-09-19 12:55:53 +00:00
cjep
8d4dc2e04d Make and mount the local patches directory when relevant. Fixes PR#26951
from Masanori Mikawa.
2004-09-16 09:55:42 +00:00
jlam
9ba4de5e14 Move definition of PKGNAME and PKGNAME_NOREV higher in the file since their
expanded values are used somewhere in the middle.
2004-09-15 15:26:10 +00:00
jlam
f6447cb638 Default PKG_FAIL_UNSUPPORTED_OPTIONS to "no" to match current practices
for using bsd.options.mk, which is:

	PKG_DEFAULT_OPTIONS=	<common options>
	PKG_OPTIONS.<pkg>=	${PKG_DEFAULT_OPTIONS} <mods to defaults>
2004-09-15 03:59:17 +00:00
wiz
3689dbf710 Document THTTPD_LOG_FACILITY. 2004-09-14 08:34:52 +00:00
martti
2999621a53 Use /bin/false instead of false for NOLOGIN 2004-09-13 12:09:22 +00:00
agc
46f829ac2e Finish off the locking work, by adding locks around "make install" and
"make package", from a nudge by Greg Oster. No objections, but lots of
mail, received from pkgsrc developers, to committing this during the
stability freeze, but I'd really like this to go in pkgsrc-2004Q3.
2004-09-11 07:26:03 +00:00
jlam
5073201af9 * Do the *.la expansion within the current _PLIST_AWK_SCRIPT framework.
We no longer require that LIBTOOL_LA_FILES be defined in the package
  Makefile, and the libtool archives should once again be listed in the
  PLIST.

* Add a new yes/no variable "LIBTOOLIZE_PLIST" to control whether to
  have bsd.pkg.mk automatically expand *.la files in PLISTs into the
  true library names represented by the libtool archives.

* Rename the "transform-la" script to "print-la-libnames" which more
  correctly reflects its function.

Many thanks to Todd Vierling for the original implementation and for
his contructive comments on how to improve the changes in this commit.
2004-09-10 19:51:50 +00:00
jlam
b1d4c9dd68 UNBUILDLINK_{PATTERNS,FILES} are actually no more, so garbage-collec them
and update the documentation.
2004-09-08 08:02:00 +00:00
wiz
471f06aebe Remove non-standard share/locale/bg_BG.cp1251, which is currently
unused by pkgsrc. Noted by soda.
2004-09-07 15:47:16 +00:00
wiz
491b7815d4 Remove share/locale/ja_JA, since it should be ja_JP instead, but
there is no package using ja_JP for now.
Addresses PR 26874 by SODA Noriyuki.
2004-09-07 10:21:02 +00:00
jlam
0927de52e8 Use UNWRAP_{PATTERNS,FILES} instead of UNBUILDLINK_{PATTERNS,FILES}. This
will help to minimize diffs for packages between the forthcoming
pkgsrc-2004Q3 branch and the HEAD after the integration of the wrapper
script framework.
2004-09-07 00:14:13 +00:00
jlam
b9a3fde88c Add a library of useful shell functions. There are functions for
logging, backslash quoting, and two queue implementations: one entirely
in memory and one using a file.
2004-09-06 18:33:23 +00:00
jmmv
6873e335ae Add 'or' locale, initially used by eog2 2.7.1. 2004-09-04 16:59:58 +00:00
jmmv
5c64de2d8d Add 'yo' locale, initially used by gnome-desktop-2.7.92. 2004-09-03 13:58:07 +00:00
grant
b0bef53ef5 many kernel-grovelling tools in Linux need /proc mounted to do
anything useful.

make it so.
2004-09-02 07:04:54 +00:00
uebayasi
e06f9541d2 Match the default value and the "Default" line (W3M_USE_UNICODE). 2004-09-01 02:21:29 +00:00
schmonz
0286643931 Replace the only occurrence of the :E modifier in bsd.pkg.mk with
a more familiar construction. BZCAT wasn't getting defined for a
bzip2-compressed patch in my tree; now it is.
2004-09-01 00:10:58 +00:00
jmmv
edda066aa9 Add 'ka' locale, initially used by yelp-2.6.2. 2004-08-31 12:03:35 +00:00
wiz
a1e9ee2fea Fix typo in comment, reported by Ryo HAYASAKA in PR 26797. 2004-08-29 14:25:10 +00:00
jlam
672b335314 Make "rename" a synonym for "S". 2004-08-28 06:02:21 +00:00
jlam
3fffb3472f Add "rm:opt" as a synonym for "S:opt:", and "rmdir:dir" for "r:dir".
These are supported options from the soon-to-be-committed wrapper
framework and are meant to more precisely state the intended
transformation.  Also just skip over unknown commands instead of
generating an error.
2004-08-28 05:51:30 +00:00
jlam
5c7a0a7938 Restore a default definition for _BLNK_RPATH_FLAGS lost in previous commit. 2004-08-27 08:38:22 +00:00
jlam
4eedd8617c Whitespace nit. 2004-08-27 06:33:17 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
jschauma
fd45411cf2 If gpatch is installed, set _OPSYS_GPATCH_REQUIRED to YES, so that further
down we get the correct value for _PATCH_BACKUP_ARG and friends.
2004-08-26 00:41:45 +00:00
schmonz
71f7ba2993 Add a knob PKGSRC_SHOW_PATCH_ERRORMSG to control whether the newly
verbose message displayed on patch failure is in fact displayed on
patch failure. It defaults to "no" if PKG_DEVELOPER is defined,
"yes" otherwise. While here, rename PKG_PATCH_FAIL to PKGSRC_PATCH_FAIL.
2004-08-25 04:09:10 +00:00
tv
6ae0f5c2f9 Process RECOMMENDED *after* including bsd.buildlink3.mk; else it has no
real effect at all.
2004-08-24 00:27:13 +00:00
tv
11fff287f6 On Interix, default to using a threaded Perl. This is how the bundled
Perl in Interix ships, so it's an appropriate default for the OS.  (Still
overrideable in mk.conf explicitly.)
2004-08-23 23:34:45 +00:00
jlam
3a4481535e SUBST_POSTCMD must be globally defined or else it breaks. 2004-08-23 16:37:09 +00:00
jlam
4a7c06b1a3 Actually, it's okay if SUBST_FILTER_CMD is empty... the ${SUBST_COOKIE}
target takes care of this case already.
2004-08-23 16:36:00 +00:00