Commit graph

3950 commits

Author SHA1 Message Date
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
jlam
12887cdd6a Use _SUBST_BACKUP_SUFFIX instead of hardcoding ".subst.sav" everywhere. 2004-08-23 16:35:11 +00:00
seb
b0312a5e94 Also hide automake 1.9* commands by adding their names in _HIDE_PROGS.automake.
For me this fixed the build of devel/kdevelop-base version 3.1.0 with latest
automake package version 1.9.1 installed.
2004-08-23 09:33:25 +00:00
jlam
dd5015fc43 SUBST_FILTER_CMD can't be empty. It must be a real filter cmd, so default
it to ${CAT} as a fall-through.
2004-08-23 09:01:57 +00:00
jlam
1f9933b155 Match documentation to reality to reflect recent change in semantics for
PKG_DEFAULT_OPTIONS.
2004-08-22 19:42:10 +00:00
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
3c0724db48 The option names are "ldap" and "PAM". 2004-08-22 19:10:26 +00:00
jlam
31219901be USE_RSAREF2 is a yes/no variable. 2004-08-18 06:27:23 +00:00
tv
b0bcde2b2d Don't put the .la transform in GENERATE_PLIST; that's too late to make it in
before any @dirrm's are executed.  Rather, put it explicitly at the top of
the final static PLIST generation code.
2004-08-17 17:48:11 +00:00
tv
57110d93e1 Add new variable LIBTOOL_LA_FILES, which may be used instead of listing
all of the .a, .la, .so, and .so.* files in the PLIST.  This will
autogenerate the PLIST entries based on the informaion in the .la file.

This include print-PLIST support; if LIBTOOL_LA_FILES contains an
installed .la, its entries will be elided from the output PLIST template.
2004-08-16 03:12:02 +00:00
schmonz
9482f7b935 If patching fails and either of PKG_OPTIONS and LOCALPATCHES are
defined, note thatthe patch failure may be due to incompatible
build options and/or local patches, and suggest building with fewer.
2004-08-16 01:56:03 +00:00
jschauma
2d88922062 Use '-none' instead of '-notall' as the mipspro equivalent to --no-whole-archive 2004-08-15 22:21:14 +00:00
schmonz
3a5a08cd7f For ROOT_CMD, use full path to sudo and ${SH} instead of "sh". 2004-08-14 19:35:39 +00:00
schmonz
e9043ca8dd Update to 2004-03-12, maintaining our local additions for sh5. 2004-08-14 19:14:42 +00:00
schmonz
8591844fb7 Update to 2004-06-11, maintaining our local additions for sh5. 2004-08-14 19:13:55 +00:00
wiz
b48b2c7651 Update for automake-1.9. 2004-08-13 14:19:24 +00:00
jlam
446886c30e Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> so
that the whole pipeline returns 0.  This avoids subtle breakage when the
we use built-in software and there is actually no list of files passed as
input to the pipeline, and the final egrep returns non-zero.
2004-08-13 03:43:23 +00:00
dmcmahill
d7098ab8a2 add some quoting to deal with the case where a file in a package
has a space in the filename.  Without the quoting the buildlink
stage fails completely with errors.  ok'ed by Johnny Lam.
2004-08-13 00:48:05 +00:00
sketch
58a29490d5 Properly quote the NICE_LEVEL variable to prevent errors. 2004-08-12 22:18:07 +00:00
jlam
ec2830a96a Reorder the transformations in _BLNK_TRANSFORM so that commands to
remove rpath options come first.  This fixes problems we may encounter
if ${_OPSYS_RPATH_NAME} is something surprising, like "-L".  On Darwin,
this was causing -L/usr/lib to be stripped out of "-Wl,-L/usr/lib",
which left a bare "-Wl," on the command line.
2004-08-10 15:16:29 +00:00
jlam
dda95b6721 In the rpath transformations, also handle -Wl,@_OPSYS_RPATH_NAME@... in
case ${_OPSYS_RPATH_NAME} is something surprising, like "-L".
2004-08-10 15:13:25 +00:00
jlam
1b3922b1bc Set _OPSYS_RPATH_NAME="-L". UnixWare has no rpath, but many packages
pass "-Wl,${RPATH_FLAG}..." to the linker, which can break the build
of these packages.  Using -L essentially makes these arguments a no-op,
and fixes packages which were solely broken by this.
2004-08-10 15:11:58 +00:00
schmonz
c2164cca0e ezmlm-idx's options have moved to its options.mk. 2004-08-10 05:59:45 +00:00
schmonz
ed6f9f8369 Fix spell-o. 2004-08-10 05:33:05 +00:00
seb
888e93aac7 Use bsd.options.mk framework for flow-tools package. 2004-08-09 22:37:34 +00:00
minskim
2840e4feab Convert bash2 to use bsd.options.mk. 2004-08-07 21:03:59 +00:00
jlam
7d11d16245 Use an awk script to avoid using possibly non-portable shell constructs. 2004-08-07 18:02:05 +00:00
jlam
cf2ba07f21 Add some new variables to control how "distribution" patches are extracted
and applied to the package sources.  The existing options are:

	PATCH_DIST_STRIP - option that sets the pathname strip count.
	PATCH_DIST_ARGS - the list of arguments to pass to patch(1).

The new options are:

	PATCH_DIST_CAT is the command that outputs the patch to stdout.

For each of these variables, there is a patch-specific variant that
may be set, i.e. PATCH_DIST_STRIP.<patch>, PATCH_DIST_ARGS.<patch>,
PATCH_DIST_CAT.<patch>.
2004-08-07 15:58:59 +00:00
xtraeme
bdd9977873 Fix some comparisson strings to handle XFree86/xorg dirs.mk files properly,
PR pkg/26576: Kouichirou Hiratsuka.
2004-08-07 14:44:05 +00:00
xtraeme
6bb0fe05f0 Remove unused JABBERD_METHOD, it was replaced by PKG_OPTIONS.jabberd2. 2004-08-07 14:13:06 +00:00
wiz
0a038e32c8 Add some sourceforge sites that are currently mentioned on the sourceforge
download page (cesnet, easynews, keihanna, mesh, switch).
2004-08-07 11:01:23 +00:00
sketch
868a80d864 Unset CDPATH variable in the user environment which prints the cwd to stdout
when changing directory, breaking the resulting tsort from the printindex
script output.
2004-08-06 10:41:51 +00:00
jlam
401fa89089 G/C the MUTT_* variables as they're documented in the mutt package
Makefiles and will be removed and some point in the future.
2004-08-05 07:20:33 +00:00
jlam
4192e465ee Garbage collect package-specific default settings that have migrated into
their respective package Makefiles after they were converted to use
bsd.options.mk.  These variables will be removed at some point in the
future (to be determined).
2004-08-05 02:55:50 +00:00
jlam
8810d2a8dd Move addition of PKG_OPTIONS to BUILD_DEFS below the definition of the
build-defs-message target so that PKG_OPTIONS doesn't show up as a
settable variable in the displayed message.
2004-08-05 02:10:20 +00:00
jlam
369315ec93 oops.. reversed a test 2004-08-04 23:29:50 +00:00
jlam
955bd55d68 Pretty-print the PKG_SUPPORTED_OPTIONS so that we don't overflow a line
of the display.  We now batch them up and print a few per line.  Also,
display the supported options at pre-install-depends time.
2004-08-04 23:25:14 +00:00
jlam
0862c2a79c Sometimes, the dependencies installed are a function of which variables
are set, and it'd be nice to know which ones before the default
dependencies are installed.

Create a new target "pre-install-depends" that is executed before
dependencies are installed.  Move the display of BUILD_DEFS
(build-defs-message) into pre-install-depends so that they are displayed
before dependencies are installed.
2004-08-04 23:22:38 +00:00
jschauma
154daf0353 Add INSTALL_GAME_DATA to the list of defined macros in CONFIGURE_ENV
as well.  (Noted by wiz@)
2004-08-04 15:29:13 +00:00
jlam
c79cd2859c Display a message with the supported build options at build time. 2004-08-04 09:36:16 +00:00
minskim
7f8cb7a664 Do not run xargs if its input is an empty string; xargs in Interix
executes the utility even in such a case.  Based on the patch provided
by Hiramatsu Yoshifumi in PR pkg/25777.
2004-08-04 06:22:39 +00:00
jschauma
b6318472ea Introduce GAMEDATAMODE and INSTALL_GAME_DATA, which will take care
of files installed for SETGIDGAME packages.
This will help address PR pkg/25313 and PR pkg/26236.
2004-08-04 02:56:01 +00:00
schmonz
569d4cb101 Remove QMAIL_AUTOCONFIG. No need to mark it obsolete; it hasn't
been around long.
2004-08-02 04:01:38 +00:00
schmonz
56d76ec38e If we need to create users or group, require the latest sysutils/user_darwin. 2004-08-01 18:24:20 +00:00
seb
f45e880102 Garbage collect NO_CHECK_DEPENDS: it is meaningless since revision 1.942. 2004-07-31 12:24:02 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
jlam
85306a8348 bsd.options.mk provides boilerplate code for standard naming conventions
for handling per-package build options.

Before including this file, the following variables should be defined:

	PKG_OPTIONS_VAR
		This is a list of the name of the make(1) variables that
		contain the options the user wishes to select.  This
		variable should be set in a package Makefile.  E.g.,

			PKG_OPTIONS_VAR=	WIBBLE_OPTIONS
		or
			PKG_OPTIONS_VAR=	FOO_OPTIONS BAR_OPTIONS

	PKG_SUPPORTED_OPTIONS
		This is a list of build options supported by the package.
		This variable should be set in a package Makefile.  E.g.,

			PKG_SUPPORTED_OPTIONS=	kerberos ldap ssl

Optionally, the following variables may also be defined:

	PKG_DEFAULT_OPTIONS
		This is a list the options that should be built into
		every package, if that option is supported.  This
		variable should be set in /etc/mk.conf.

	${PKG_OPTIONS_VAR} (the variables named in PKG_OPTIONS_VAR)
		These variables list the selected build options and
		override any default options given in PKG_DEFAULT_OPTIONS.
		If any of the options begin with a '-', then that option
		is always removed from the selected build options, e.g.

			PKG_DEFAULT_OPTIONS=	kerberos ldap sasl
			PKG_OPTIONS_VAR=	WIBBLE_OPTIONS
			WIBBLE_OPTIONS=		${PKG_DEFAULT_OPTIONS} -sasl
			# implies PKG_OPTIONS == "kerberos ldap"
		or
			PKG_OPTIONS_VAR=	WIBBLE_OPTIONS
			WIBBLE_OPTIONS=		kerberos -ldap ldap
			# implies PKG_OPTIONS == "kerberos"

		This variable should be set in /etc/mk.conf.

	PKG_FAIL_UNSUPPORTED_OPTIONS
		If this is set to "yes", then the presence of unsupported
		options in PKG_OPTIONS.<pkg> (see below) causes the build
		to fail.  Set this to "no" to silently ignore unsupported
		options.  Default: "yes".

After including this file, the following variables are defined:

	PKG_OPTIONS
		This is the list of the selected build options, properly
		filtered to remove unsupported and duplicate options.

Example usage:

-------------8<-------------8<-------------8<-------------8<-------------
# Global and legacy options
.if defined(USE_OPENLDAP) || defined(USE_SASL2)
.  if !defined(PKG_OPTIONS.wibble)
.    if defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[yY][eE][sS])
PKG_OPTIONS.wibble+=	ldap
.    endif
.    if defined(USE_SASL2) && !empty(USE_SASL2:M[yY][eE][sS])
PKG_OPTIONS.wibble+=	sasl
.    endif
.  endif
.endif

PKG_OPTIONS_VAR=	PKG_OPTIONS.wibble
PKG_SUPPORTED_OPTIONS=	ldap sasl
.include "../../mk/bsd.options.mk"

# Package-specific option-handling

###
### LDAP support
###
.if !empty(PKG_OPTIONS:Mldap)
.  include "../../databases/openldap/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-ldap=${BUILDLINK_PREFIX.openldap}
.endif

###
### SASL authentication
###
.if !empty(PKG_OPTIONS:Msasl)
.  include "../../security/cyrus-sasl2/buildlink3.mk"
CONFIGURE_ARGS+=	--enable-sasl=${BUILDLINK_PREFIX.sasl}
.endif
-------------8<-------------8<-------------8<-------------8<-------------
2004-07-30 20:59:08 +00:00
jlam
08ffe1eca5 Update documentation for the current state of buildlink3. 2004-07-30 20:52:44 +00:00
xtraeme
0cfedd6db1 Add a new variable to specify the installation prefix for
X11 packages (currently XFree86 and xorg), X11ROOT_PREFIX.

Defaults:

xorg: X11ROOT_PREFIX = xorg.
XFree86: X11ROOT_PREFIX = XFree86.

Otherwise it's undefined.

With this modification we don't have to specify X11BASE anymore,
because it's assigned automatically via bsd.pkg.defaults.mk.

If you want to change the defaults, specify X11ROOT_PREFIX in mk.conf.

Update Packages.txt now that we don't need X11BASE.
2004-07-30 07:48:56 +00:00
xtraeme
02371f01af Only assign X11BASE=/usr/X11R6 if X11_TYPE was not defined, or
if X11_TYPE == native (by default).
2004-07-30 07:38:01 +00:00
tv
e9da8ba15a jdk12 was never here. "avert your eyes." 2004-07-29 14:43:16 +00:00
xtraeme
8acbcaea77 Depend on xorg-dirs where appropiate, as was done for XFree86 by jmmv@. 2004-07-29 07:27:43 +00:00
xtraeme
9f3bfb4a8f Enable X11_TYPE=xorg now that we have the X.org packages on pkgsrc. 2004-07-29 05:09:29 +00:00
tv
cc3839d9bd jdk12 is now in pkgsrc/lang. 2004-07-28 21:15:38 +00:00
tron
e637e74628 Readd two mirros which apparently still exist. 2004-07-28 07:35:35 +00:00
tron
14a8991f9b Remove SourceForge mirrors which apparently no longer exist. 2004-07-28 07:30:17 +00:00
xtraeme
c17e36db94 erm, I had PKG_RESUME_TRANSFERS set to yes, disable it for now. 2004-07-27 15:59:31 +00:00
xtraeme
088cc6d2d6 Make the option to resume transfer optional, as suggested by
Robert Elz in PR pkg/26448 (at least for now).

If you want to use it, PKG_RESUME_TRANSFERS must be set to [Yy][Ee][Ss].

While here, no need to use ${AWK} to get the size with ${WC} -c,
${WC} -c < file is enough.

Thanks to Robert Elz for suggestions, still I have to fix the problems
reported in the PR.
2004-07-27 15:56:19 +00:00
wiz
8c8c89684e Add two new sourceforge mirrors: ovh (.fr) and puzzle (.ch), and
comment out twtelecom, since it's not in the mirrors list and
didn't work for me a few minutes ago.
2004-07-27 12:03:28 +00:00
xtraeme
ee561b38da eww, replace another [ with ${TEST}. 2004-07-27 11:30:55 +00:00
xtraeme
5d398fabc4 s/echo/${ECHO}/ 2004-07-27 11:28:41 +00:00
xtraeme
1c1f182b61 Fix some more troubles with my modification for resume transfers:
o Use ${WC} -c instead of using ${LS} -l, which works with
	  symlinks.
	o Only assign -R to FETCH_RESUME_ARGS when FETCH_CMD is the
	  default value (NetBSD's ftp).
	o Fix for www/navigator package, which uses DIST_SUBDIR.
	o Replace another [ with ${TEST}.
	o Print a warning when FETCH_CMD != ftp and FETCH_RESUME_ARGS
	  is empty (resume will not be possible).

Thanks to cube@ and tron@ for reporting/helping with the problems.
2004-07-27 10:34:53 +00:00
agc
a60952e252 Fix some problems with REFETCH mods:
1. don't hardcode true, echo and [
2. Cope with distfiles which are located in a DIST_SUBDIR
3. Don't always assume there will be a size field in the ${DISTINFO_FILE}

XXX The refetch mods make an assumption that an exit code of 0 from a
${FETCH_CMD} means that the transfer has been completed successfully,
and this used not to be the case.  I haven't tested this assumption
recently.
2004-07-27 09:57:57 +00:00
xtraeme
2f4220cc9d Add support to resume transfers, by default it will be disabled if
$http_proxy or $ftp_proxy are defined (for the moment, NetBSD's ftp(1)
doesn't support this).

While I'm here, move FETCH_CMD from bsd.pkg.mk to bsd.pkg.defaults.mk,
and add the new variable FETCH_RESUME_ARGS (-R by default with ftp(1)
from NetBSD/pkgsrc).

If you want to use wget to resume transfers, you should use something
like:

FETCH_CMD=wget
FETCH_RESUME_ARGS=-c
2004-07-27 03:59:26 +00:00
minskim
9e5641f444 Add the 'et_EE' and 'it_NA' locale directories, used by amule-2.0. 2004-07-26 14:31:10 +00:00
grant
51bd835ca8 correctly use PKG_SUFX instead of ".tgz".
this fixes a problem where bulk builds with PKG_SUFX=.tbz would
needlessly, repeatedly rebuild dependency packages because
${PKGNAME}.tgz did not exist.
2004-07-25 08:40:46 +00:00
grant
38ec7e0ca7 move PKG_SUFX=.tbz example to bsd.pkg.defaults.mk. 2004-07-25 06:51:33 +00:00
recht
f8d7e38602 Export the according BUILDLINK_PREFIX of postgresql-lib as PGSQL_PREFIX. 2004-07-24 10:40:15 +00:00
recht
9416178d77 pgsql.buildlink3.mk is used to select a PostgreSQL version for use by
pkgsrc. It is modeled after lang/python/pyversion.mk and like it
could be influenced by user- and package-settable variables.

More precisely, tt's behaviour is controlled by the following
two variables:

- PGSQL_VERSION_DEFAULT
  A user-settable variable to choose the default PostgreSQL version.
  Default: 74

- PGSQL_VERSIONS_ACCEPTED
  A package-settable list of PostgreSQL versions accepted by the package.
  Default: 74 73

After postgresql-* has been reimported as postgresql73* all depending
packages should be changed to use mk/pgsql.buildlink3.mk.
2004-07-23 21:40:00 +00:00
drochner
f944e0044f make the TBL variable work as intended 2004-07-22 17:02:22 +00:00
agc
047727a341 Abstract out the "nice -n 20" clause, so that it can be set to something
else if desired.

Print out dates in the form: yyyy/mm/dd
2004-07-22 14:26:42 +00:00
schmonz
74524f9cef Add QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA, which
will control some aspects of the about-to-be-imported qmail package,
and note that you probably don't need to change QMAILDIR anymore.
2004-07-21 22:32:24 +00:00
xtraeme
2d0b55ee61 Enable _OPSYS_MAX_CMDLEN test. 2004-07-21 21:50:41 +00:00
jlam
cac0c549c0 If a package Makefile sets USE_TBL to "yes", then add "tbl" to
${TOOLS_DIR}/bin.  It will either point to /usr/bin/tbl or will depend
on groff otherwise.

This should allow removing dependencies on groff just for the sake of
forcing the existence of tbl.
2004-07-21 19:55:11 +00:00
jlam
0b8ae8d7c2 Add a reminder that the old Postfix make variables will be removed after
the 2004Q3 branch is released.
2004-07-21 16:19:26 +00:00
salo
03fc6a69a6 Remove external Matroska support from mplayer packages.
The new internal demuxer is the only one supported now, works better
and support for the external one will be removed in next releases.
2004-07-20 22:04:44 +00:00
schmonz
f52b58fadd Introduce EZMLM_IDX_USE_{MY,PG}SQL, which provide database support
in mail/ezmlm-idx.
2004-07-19 23:54:32 +00:00
jlam
494d4a7c1d Stop the proliferation of <PKG>_USE_<FOO> yes/no variables in the
mail/postfix package -- create a new option "POSTFIX_OPTIONS" that is a
list of optional add-ons that will be built into Postfix.  Currently,
it accepts any of "inet6 ldap mysql mysql4 prce sasl tls".  Move the
existing POSTFIX_USE_* variables into bsd.pkg.obsolete.mk.
2004-07-19 20:00:15 +00:00
xtraeme
1e0c42a299 Enable OpenLDAP support in devel/apr, by default it's disabled.
If you want to use it, "APR_USE_OPENLDAP" should be set to [Yy][Ee][Ss].

This closes PR pkg/25356.
2004-07-16 23:21:50 +00:00
grant
fc250c5bd6 add anchors for jumping to the top and each section of the HTML report. 2004-07-15 11:57:26 +00:00
grant
562864ccd0 only include broken packages in the email output. 2004-07-15 11:39:11 +00:00
wiz
267fc37990 Revert 1.29.
With 1.29, e.g. devel/jgrasp would report:
===> Checking for vulnerabilities in jgrasp-1.7.0
=> Checksum OK for jgrasp170.zip.
===> Extracting for jgrasp-1.7.0
===> Required package : NOT found
===> Verifying reinstall for ../../lang/sun-jre13

even if sun-jre13/sun-jdk13 were already installed.
2004-07-14 13:37:09 +00:00
xtraeme
2f7fe4cd5f Update chat/jabberd2 to 2.0s3.
Changes:

2004-06-25  jabberd 2.0s3

    * Fixed several memory leaks and overruns <karsten.petersen@hrz.tu-chemnitz.de>
    * Fixed XMPP session replacement [rob]
    * Added support for Win32 platforms <peter@cerebus.co.za> [rob]
    * Added support for requiring SSL/TLS before auth <deryni@eden.rutgers.edu>
    * Added support for LDAPv3 (including channel encryption) [rob]
    * Added workaround to make large presence broadcasts more efficient [rob]
    * Generate random dialback key if none provided [rob]
    * Rewrote configure script (+ many code tweaks to support this) [rob]
    * Remove build requirement for Libidn and OpenSSL [rob]
    * Removed bundled Libidn due to licensing issues [rob]
    * Bugfixes: 3059, 3174, 3343, 3368, 3480, 3481, 3594
2004-07-14 00:25:11 +00:00
salo
e28ece6d4c Add default values for CONSERVER_DEFAULTPORT and CONSERVER_DEFAULTHOST,
used by comms/conserver.
2004-07-10 22:32:28 +00:00
wiz
a4eac7e63f Be explicit about the fact that USE_PKGINSTALL has to be set to YES
for this Makefile fragment to get included.

XXX: This should be documented in Packages.txt, not here.
2004-07-10 20:54:44 +00:00
salo
7adc0ac704 Replace test -e with -d and -f respectively.
Fixes part of PR pkg/26235 by Georg Schwarz.
2004-07-10 20:42:37 +00:00
grant
7c66293290 fix typo 2004-07-10 14:37:36 +00:00
grant
1d8168af4e explicitly don't transform "-Wl,*", fixing a bug that meant we were
throwing away all -W arguments that weren't -Wl,-R.

fixes building of a number of packages on Solaris.
2004-07-10 12:55:08 +00:00
grant
95b2c1a0e0 provide BUILDLINK_{CPPFLAGS,LDFLAGS,LIBS}.bdb, taken from whichever db
implementation is being used, including native. tested on NetBSD with
db1 in libc, Linux with db1 in libdb, db2, db3 and db4.
2004-07-10 03:05:46 +00:00
reed
74492f1522 Replace VARBASE in INSTALL/DEINSTALL scripts and in rc.d scripts. 2004-07-08 14:58:30 +00:00
xtraeme
76fb23ab5c Remove duplicated BUILDLINK_DEPENDS lines, which are not needed because
they are already defined in the buildlink3 files.
2004-07-07 11:25:09 +00:00
wiz
d4e8b44315 Retire buildlink2, now that all packages using it have been converted to
buildlink3.
2004-07-06 22:49:16 +00:00
heinz
b959ea947c Option "-e" for "test" is not portable. 2004-07-06 20:47:15 +00:00
abs
e830cdf161 Add SUN_JRE14_USE_JCE which pulls in Sun's Unlimited Strength
Java Cryptography Extension. Implemented as a variable rather than
as an additional package as it needs to replace JRE jar files.
2004-07-06 11:32:49 +00:00
abs
b5a3f86522 Implement EXTRACT_CMD.bin 2004-07-06 11:28:55 +00:00
wiz
36ccfca825 Handle --execute the same way as --install (not modifying the arguments).
Needed to convert inputmethods/xcin to bl3. Idea from jlam.
2004-07-04 09:52:04 +00:00
grant
4b6f21b903 transform --export-dynamic to -G and strip -fstrict-prototypes. 2004-07-04 08:30:46 +00:00
wiz
8ff007ed51 Re-add USE_PKGSRC_GCC, and document it should only be
used in /etc/mk.conf. Requested by Klaus Heinz.
2004-07-04 00:38:15 +00:00
wiz
592ae724f4 Retire USE_GCC2, USE_GCC3, USE_SUNPRO, USE_MIPSPRO, and USE_PKGSRC_GCC,
now that all instances of packages using it have been fixed.
2004-07-04 00:28:30 +00:00
grant
bb8987d2b8 catch locking failure case where we couldn't find the parent's process
ID. from Roland Illig.
2004-07-03 22:11:56 +00:00
grant
b0aaf8b819 style fix from Roland Illig. 2004-07-03 22:07:11 +00:00
grant
cb70f6baab use built-in test(1) now that bsd.pkg.mk is ${TEST} -e free. 2004-07-03 22:04:57 +00:00
grant
d0f8bececc replace ${TEST} -e with -f. 2004-07-03 22:00:03 +00:00
grant
51c3057c32 replace use of ${TEST} -e with -f or -d as appropriate. use consistent
shell syntax.

this allows the pkgsrc framework to work with IRIX 5.3 and Solaris'
sh(1) built-in test(1).
2004-07-03 21:59:04 +00:00
grant
06d1f588de add /var/sadm so that Solaris pkgchk(8) can read the package database,
xpm/builtin.mk uses this to determine whether Solaris has xpm.
2004-07-03 21:42:37 +00:00
grant
ca57d6e396 update the cache for -static 2004-07-03 20:53:59 +00:00
grant
456c546037 fix typo and slight botch up in last 2004-07-03 20:53:47 +00:00
salo
61d3b15bc9 Convert -static to -Bstatic. 2004-07-03 20:39:26 +00:00
gavan
e8994b9a6f Use http instead of ftp from ftp.fi.NetBSD.org. This provides at least
one MASTER_SITE_BACKUP which is available by http, to be nice to people
behind proxies or who have difficulty with ftp.
2004-07-03 12:35:04 +00:00
grant
f45f23ce98 gcc 3.3.4 is in pkgsrc now. 2004-07-03 11:25:49 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
wiz
7979f4ef47 Remove support for buildlink2, now that all packages using this
file have been converted to buildlink3.
2004-07-02 22:10:51 +00:00
wiz
be918cc63f else exists ... -> elif exists ...
Noted by Roland Illig on tech-pkg.
2004-07-02 16:27:48 +00:00
grant
eca521ff8e the timezone file on Solaris is /etc/TIMEZONE. 2004-07-01 13:18:20 +00:00
wiz
0b38542de9 Do not use continuation -- line is short
enough, and this silences a pkglint warning.
2004-07-01 13:09:39 +00:00
jschauma
d48cc89ce3 Use shell builtins where possible, particularly for TEST.
Pointed out by Roland Illig on tech-pkg.
2004-06-27 22:54:21 +00:00
grant
80f6b640e4 s/planetmirror.com/public.planetmirror.com.au/ to help MASTER_SORT. 2004-06-27 16:16:11 +00:00
grant
2704a2aa94 as per bsd.pkg.mk rev 1.1449, flow.dl.sourceforge.net in Australia is
still unreachable. replace it with optusnet.dl.sourceforge.net,
another fast, up-to-date mirror.
2004-06-26 06:03:41 +00:00
wiz
8605f7b956 Add switch and voxel sourceforge mirrors, and reenable aleron,
since it is currently working.
2004-06-25 16:16:51 +00:00
dmcmahill
f2b6b7c157 make sure we get BMAKE set when calling printdepends and printindex 2004-06-25 13:45:00 +00:00
salo
97a5956635 In SUBST_SED.pkglocaledir, escape the rest of the line in the pattern.
Saves trailing \ properly.

Addresses PR pkg/26022 by Akio OBATA.
2004-06-23 11:42:18 +00:00
cjep
a957b1f62d Use TEST instead of [] when using -nt. This makes the section work on
SunOS.
2004-06-23 11:13:12 +00:00
xtraeme
b290be6cc2 Enable drac support in mail/qpopper package, patch was supplied
by John Nemeth in PR pkg/22925.

The new option to use is "QPOPPER_USE_DRAC" and by default is not
defined.

Bump PKGREVISION.
2004-06-22 23:53:52 +00:00
xtraeme
d8d555b461 Remove references about BUILDLINK_UPDATE_CACHE in the configure stage,
you could build packages faster right now (yay), I'm using this way
around +2 months ago without any problem.

Ok'ed by jlam@.
2004-06-22 23:23:36 +00:00
xtraeme
38e875e52b Check for libpthread.so.* file with -f instead of echo as suggested by
grant, because previous check was not working fine, I tested it under
OpenBSD 3.5 and now just works.
2004-06-21 21:57:00 +00:00
xtraeme
b259186410 Under OpenBSD there is no libpthread.so, just libpthread.so.X.X, and
BUILDLINK_LDADD.pthread was empty, so add a check to find the libraries
and if they are found, add -lpthread to BUILDLINK_LDADD.pthread, thanks
to grant beattie for the suggestion.

Reported and tested by Sergio Jimenez <tripledes at eslack dot org>.
2004-06-21 00:06:37 +00:00
xtraeme
360c467eeb Update sysutils/grub to 0.95, and remove obsoleted options
GRUB_USE_UFS2/GRUB_USE_ISO9660, they are not longer needed.

New in 0.95 - 2004-06-13:

* Add support for ReiserFS 3.
* Fix support for FreeBSD 5.
* Support ATARAID for Linux in the grub shell and grub-install.
* Add CDROM support for El Torito with no emulation mode. You can use
  (cd) as a CDROM drive in the config file.
* Option --no-mem-option is implied for Linux 2.4.18 and newer.
* Add support for UFS2.
2004-06-20 20:57:17 +00:00
xtraeme
efe060c0f2 Remove obsoleted options USE_TETEX2 and LIBWRAP_FWD, they are not used
under any package, reported by Jim Bernard in PRs pkg/25975, pkg/25976.
2004-06-20 02:52:56 +00:00
kristerw
94d68468ae Remove Motif 1.2 functionality. 2004-06-18 11:22:41 +00:00
grant
6c1ca06818 NetBSD 2.0 and above does not have GNU awk, make it so. 2004-06-15 13:41:43 +00:00
grant
8c1e1038ca add optusnet.dl.sourceforge.net as a sourceforge mirror in Australia. 2004-06-15 13:05:10 +00:00
uebayasi
208c6f1b98 Update priv to 1.0beta2nb1.
* Make sure ${PKG_SYSCONFDIR} is passed to configure.
* Care ${PRIV_CONF_DIR} as an obsoleted variable.

Pointed out by Matt Green.
2004-06-14 03:16:42 +00:00
grant
dd030e3fb5 ensure that motif header files and libraries can be found at
compile/link time by adding the appropriate flags to CPPFLAGS and
LDFLAGS (patch posted to tech-pkg@).

fixes build of a number of motif-needy packages on Solaris using
native motif from /usr/dt.

XXX this needs to better adhere to the buildlink3 way, but not during
the freeze.
2004-06-14 01:18:16 +00:00
grant
9bc788ad87 strip -fno-gnu-keywords argument to SunPro, and munge -pthread into
-lpthread. ok'd by jlam.

addresses PR pkg/24966 from Charlie Allom.
2004-06-13 08:50:15 +00:00
grant
c4e3c8cd15 when using native threads, only set BUILDLINK_CFLAGS.pthread=-pthread on
systems known to support its (FreeBSD, NetBSD, Linux).

fixes breakage caused by passing -pthread to SunPro cc(1) and likely
also fixes platforms other than the above.
2004-06-12 03:19:52 +00:00