Commit graph

2086 commits

Author SHA1 Message Date
wiz
e5ebd8f39a Move BUILD_USES_GETTEXT_M4 logic to automake.mk. 2002-10-07 21:47:49 +00:00
jschauma
58933cb993 Document (commented) SAWFISH_THEMES variable, specifying the DISTFILES for
wm/sawfish-themes (default: about 180 themes available on themes.freshmeat.net)
2002-10-07 17:09:11 +00:00
hubertf
c378823256 Add switch GIMP_WITH_HELPBROWSER to build gimp with help browser.
Disables to "no", which results in no gnome-libs being needed.

Patch contributed by Stefan Krüger <skrueger@europe.com> in private mail,
with some changes from me.
2002-10-07 14:54:42 +00:00
seb
31d37f8832 Full pathname for expr command. 2002-10-06 22:16:41 +00:00
dmcmahill
b89364002b fix typo in comment and an error in the usage output (position of
bar and libbar were swapped).
2002-10-06 20:15:05 +00:00
wiz
8cfd589740 Mention buildlink2.txt. Closes PR 18542 by Greg Woods. 2002-10-05 22:06:32 +00:00
jlam
561ca1b8b7 Add new bsd.pkg.install.mk tunable variable: SPECIAL_PERMS.
SPECIAL_PERMS are lists that look like:
		file user group mode
	At post-install time, file (it may be a directory) is changed to be
	owned by user:group with mode permissions.

SPECIAL_PERMS should be used primarily to change permissions of files or
directories listed in the PLIST.  This may be used to make certain files
set-uid or to change the ownership or a directory.

Packages that install setuid executables should list them in SPECIAL_PERMS
so that the correct user and group will be used for file ownership, even
if the uid/gid changes between the package creation and the package
installation.
2002-10-04 23:46:26 +00:00
jlam
d940548856 Instead of the incredibly dense _print_* stuff, use a (hopefully) more
readable way of print messages.
2002-10-04 23:35:51 +00:00
jlam
3b536452b9 Add definitions for EXPR == expr, used for portable shell arithmetic. I
was only able to check the paths for NetBSD and Linux...Solaris and Darwin
pkgsrc developers should change the path to expr in the right defs.*.mk
file.
2002-10-04 23:32:17 +00:00
jlam
36647028eb Don't use JAVA_HOME as the user may have it incorrectly set in the
environment.  Instead, create a new variable PKG_JAVA_HOME, which is
passed to the configure and build processes via:

	JAVA_HOME=${PKG_JAVA_HOME}

to override any environment setting for JAVA_HOME.  This should fix
pkg/17989.
2002-10-04 11:19:26 +00:00
jlam
7b96c8d97c Add USE_OSS to BUILD_DEFS if it's defined. 2002-10-03 20:31:14 +00:00
jlam
ab22ba864a Created a new variable USE_OSS that is used to enable OSS audio support in
preference to or in place of Sun audio support in various packages.  People
using audio/oss should set USE_OSS in their /etc/mk.conf when building
packages.
2002-10-03 20:30:21 +00:00
jlam
b8684da367 Rename "OSS" variable to "HAVE_OSS". 2002-10-03 20:24:33 +00:00
wiz
a741933477 Sync with new autoconf213, automake14 packages and autoconf, automake updates. 2002-10-03 19:36:36 +00:00
jwise
80a79f514d Back out previous -- needs more thought. 2002-10-03 18:20:46 +00:00
jwise
4b31d5108f Fix a long-standing problem with dependencies for java packages, introduced
when support for BUILD_DEPEND-only java packages was introduced -- this problem
was preventing java from being registered as a dependency for a number of java-based
packages.
2002-10-03 16:07:27 +00:00
jlam
67255d948b Invent a new publicly readable variable OSS that is YES/NO for whether
audio/oss is installed.  Also add an example in the comments at the top
of the file that shows how to use the OSS variable.
2002-10-03 08:58:05 +00:00
jlam
3278f50981 Create "DEVOSSSOUND" which is used where we'd like for programs that use
the ossaudio emulation to use /dev/sound instead of /dev/audio.  For OSS,
DEVOSSSOUND == DEVOSSAUDIO == /dev/dsp.
2002-10-03 08:04:28 +00:00
jlam
bd6ecd6552 Recognize when 4Front OSS is installed on a NetBSD system and use real
OSS instead of the ossaudio OSS emulation library when building software.
2002-10-03 02:56:32 +00:00
dillo
cfe021d515 add AUTORECONF variable 2002-10-02 18:56:47 +00:00
dillo
5e15133d7d add makefile fragments for packages that need automake / autoconf to build. 2002-10-02 18:10:15 +00:00
jschauma
dd7020be6e Document NS_INST variable, determining if netscape7 uses the complete or
the recommended (default) install, as pointed out by wiz.
2002-10-01 13:35:12 +00:00
jlam
46dcc3cf14 Really, really fix the problem I was trying to fix with rev 1.6. I want
to only add -Ldir/.libs for *.la files that are not named with absolute
paths or named with an absolute path starting with ${WRKSRC}.  This should
fix the problem with converting kdebase3 to buildlink2.
2002-10-01 09:51:22 +00:00
jschauma
d2dd18dbfa Add PKG_LANG variable, defaulting to english.
Currently only used by www/netscape7 but this can potentially be used by
many packages to help localize the installation.  Ok'd by wiz.
2002-09-30 13:55:54 +00:00
rh
5b9570bb28 Correctly fetch ALLFILES containing '=' characters 2002-09-29 01:38:32 +00:00
jlam
3f254d2f51 * Split _BLNK_TRANSFORM_SED into 4 variables, as even with 3 it was
overflowing the make variable size limit.

* Rename _BLNK_WRAP_ENV to _BLNK_WRAP_SETENV, and use _BLNK_WRAP_ENV to
  set the shell environment for the wrappee.  Allow BUILDLINK_WRAPPER_ENV
  to add to the shell environment.
2002-09-28 23:46:42 +00:00
uebayasi
561b979f39 Nuke a bogus invocation of 'pkg_info -I' and use 'pkg_info -e' instead.
Simplify the '!=' lines.

Pointed out by wiz (a.k.a. wizd(8)).
2002-09-28 14:19:51 +00:00
rh
8c9edc8e2e Make machine/soundcard.h an alias for sys/soundcard.h if non-existent 2002-09-27 15:17:18 +00:00
jlam
73b1e2ab06 Provide a way for buildlink2.mk files to convert a build dependency to
a full dependency.  BUILDLINK_DEPMETHOD.<pkg> is now a space-separated
list of the words "full" and/or "build", and if any of them is "full",
then a full dependency on <pkg> is used.  buildlink2.mk files may now do:

	BUILDLINK_DEPMETHOD.<pkg>+=	full

to convert from a build to a full dependency.

Previously, if a package Makefile set BUILDLINK_DEPMETHOD.<pkg>=build,
there was no way to override its value consistently.
2002-09-27 12:21:41 +00:00
rh
0cbef82639 Add MASTER_SITE_GNUSTEP 2002-09-27 10:36:53 +00:00
wiz
35129dfeba Add share/locale/is. 2002-09-27 09:51:48 +00:00
jlam
84cb9a37e9 Create a new variable USE_X11_LINKS that controls whether packages that
use buildlink2 and set USE_X11 will use x11-links, or if they will simply
symlink the X11 files directly into ${BUILDLINK_DIR}.  If USE_X11_LINKS is
"YES" (the default), then x11-links is used.  If USE_X11_LINKS is "NO",
then the X11 files are symlinked directly.

There is a choice here between speed and flexibility.  Using x11-links is
faster since you don't need to spend time symlinking all of the X11 files
into ${BUILDLINK_DIR}.  However, if you update your X11 installation, then
the x11-links package will likely be out-of-date.  Conversely, directly
symlinking the X11 files will protect you from changes in your X11
installation when you update, but there is a (small) time penalty to have
to do it for every package that uses X11.
2002-09-27 09:22:58 +00:00
jlam
57ede4f404 Change /usr/lib/*.la to ${BUILDLINK_DIR}/lib/*.la in libtool archives when
buildlinking them into ${BUILDLINK_DIR}.  This should allow cases where a
/usr/lib/libintl.la escaped into an installed libtool archive (during the
time when buildlink2 was broken for about 4 days) to be handled properly.
2002-09-27 00:22:06 +00:00
jlam
55ef787302 When PKG_DEBUG_LEVEL=2, set_PKG_DEBUG_SCRIPT is set to "${SH} -x". Use
_PKG_DEBUG_SCRIPT when running the INSTALL/DEINSTALL scripts so that they
may be easier to debug.
2002-09-26 21:04:11 +00:00
jlam
f9a095a3ea Create DEVOSSAUDIO, for the default OSS audio device. 2002-09-26 12:31:08 +00:00
jlam
3a00d7c948 Don't make ${RCD_SCRIPTS_EXAMPLEDIR} unless it doesn't exist, and if we
do make it, make it with the same permissions as outlined in the *.pkg.dist
files.
2002-09-26 09:59:09 +00:00
abs
5dcd7e65d1 At least jakarta-tomcat requires the same ${_ULIMIT_CMD} on do-install as
on do-build
2002-09-26 09:57:50 +00:00
jlam
021f618f90 USE_MOTIF is unused. 2002-09-25 06:31:00 +00:00
jlam
5983233cd7 Don't create the fake libtool archives unless USE_LIBTOOL is defined. This
fixes building gmake without libtool installed.
2002-09-24 22:16:42 +00:00
jlam
4a7c8310c5 Move pkgtools-related definitions into bsd.prefs.mk so that they may be
used by buildink2.mk files.
2002-09-24 21:54:49 +00:00
wiz
6c40f123f7 Some whitespace cleanup. 2002-09-24 13:59:20 +00:00
wiz
a9007ebbe1 Fix gnome path on ftp.tuwien.ac.at. 2002-09-24 13:01:02 +00:00
jlam
099d7836af Allow passing multiple items to BUILDLINK_DEPENDS.<pkg>. So, if we have
BUILDLINK_DEPENDS.foo=	foo>=1.0 foo<1.5

then this is converted to:

	DEPENDS+=	foo>=1.0:../../category/foo
	DEPENDS+=	foo<1.5:../../category/foo

We can use this to record upper bounds on dependency versions.
2002-09-24 10:41:25 +00:00
jlam
210d6f9c51 Use |, not : to separate case conditions. 2002-09-24 08:37:53 +00:00
jlam
0fb75d8658 For completeness, also allow for ./* when naming uninstalled libtool
archives, and also do the special handling for dependency_libs.
2002-09-23 23:51:28 +00:00
jlam
f2a3cbaeba Also add -L*/.libs for *.la that start with "../", which is also quite
common when referring to an uninstalled libtool archive.
2002-09-23 23:49:01 +00:00
jlam
3a13ebd730 The previous commit of libtool-fix-la let a lot of references to the build
directory escape into the installed *.la files.  Fix this by only adding
-L*/.libs if the *.la file is uninstalled, and by filtering out references
to ${WRKSRC}.
2002-09-23 22:32:07 +00:00
markd
427592ad77 Add mimedefang defaults 2002-09-23 13:37:21 +00:00
jlam
e11cfce83c * buildlink1 -> buildlink2
* Replace ELK_USE_{X11,MOTIF} with ELK_GUI, which is either "none" or is
  some combination of "xaw" and/or "motif".
* Reenable Motif -- it seems to build properly with OpenMotif-2.0.x.
* Modernize this package a bit and clean up how linker flags are passed to
  the build process by using the new variables available.
2002-09-23 08:45:40 +00:00
jlam
8c44b289f4 Missing a /lib on the end of the library path. 2002-09-23 08:41:00 +00:00
jlam
63ee7336e7 Provide a separate variable "X11_LDFLAGS" that just contains the linker
flags for finding the X11 libraries.  The value of X11_LDFLAGS is appended
to LDFLAGS if the packages uses X11.
2002-09-23 08:35:12 +00:00
jlam
04cb5535df Add the -Wl,-R flags to find the widget library. The ld wrapper script
understands "-Wl,-R" to be just "-R", so it will work fine.
2002-09-23 08:29:56 +00:00
jlam
d6df64f924 Allow for wrapper-specific transformations of arguments that occur after
the main transformations have been performed.

The ld wrapper can now accept "-Wl,*" arguments and transform them
appropriately by stripping of the -Wl and the commas.  This will obiviate
the need for logic in pkgsrc that strips away the "-Wl," depending on
whether the platform was a.out or ELF, and whether the individual package
chose to link using "cc" or "ld".
2002-09-23 01:11:39 +00:00
jlam
513bfa31b8 Allow other Makefiles to specify a PERL5_GENERATE_PLIST that overrides the
one provided by bsd.pkg.mk when generating the PLIST from PERL5_PACKLIST.
2002-09-22 12:19:36 +00:00
jlam
48fe50ff78 Don't strip past non-whitespace characters. 2002-09-21 23:31:41 +00:00
jlam
3b54a65495 Handle removing the rpath flags in the wrappers if USE_BUILDLINK2 is set. 2002-09-21 23:19:22 +00:00
jlam
17ffee9884 Clarify comment for BUILDLINK_TRANSFORM. 2002-09-21 20:51:03 +00:00
jlam
39aeb0b76e Fix typo: s/11/x11/. From pkg/18365 by Roland.Dittel@epost.de. 2002-09-21 20:49:21 +00:00
jlam
84927fc8d8 Don't require setting the version of the replacement pthread package needed
by pthread.buildlink2.mk if the default one from the package's
buildlink2.mk suffices.
2002-09-20 23:46:38 +00:00
jlam
39ed96c8d6 Create PTHREADBASE, which has the base prefix location for the pthread
libraries.
2002-09-20 08:27:21 +00:00
jlam
424a6c350f Fix problem with linking against uninstalled libtool archives that in turn
depend on other uninstalled libtool archives.  During the relinking process
the newly installed libraries weren't being found.  We now insert the
appropriate -Ldir flags to allow them to be found in the uninstalled
locations.
2002-09-20 00:59:48 +00:00
jlam
c54fb6c8cd Protect against -Wl,-rpath,/usr/local/lib if LOCALBASE != /usr/local. 2002-09-20 00:57:43 +00:00
grant
3af39f4e3c Add RCD_SCRIPTS_SHELL to automatic rc.d script handling, defaulting to
${SH}. Enables rc.d script portability for non-NetBSD systems.

as discussed with jlam.
2002-09-20 00:45:00 +00:00
jlam
072abe06cf Restore the ability to not automatically install the rc.d script into
/etc/rc.d.  This is controlled by the new variable PKG_RCD_SCRIPTS which
may be set in /etc/mk.conf or in the shell environment in which the
INSTALL script is executed.  PKG_RCD_SCRIPTS only takes effect if
${PKG_CONFIG} == "YES" and defaults to NO.
2002-09-19 10:20:50 +00:00
jlam
26ffd9ecf0 Automatically generate and install the rc.d scripts if specified by
RCD_SCRIPTS.  From the comments in bsd.pkg.install.mk:

# rc.d scripts are automatically generated and installed into the rc.d
# scripts example directory at the post-install step.  The following
# variables are relevent to this process:
#
# RCD_SCRIPTS                   lists the basenames of the rc.d scripts
#
# RCD_SCRIPT_SRC.<script>       the source file for <script>; this will
#                               be run through FILES_SUBST to generate
#                               the rc.d script
#
# RCD_SCRIPTS_EXAMPLEDIR        the directory in which to install the
#                               example rc.d scripts
#
# If the source rc.d script is not present, then the automatic handling
# doesn't occur.
2002-09-19 09:02:40 +00:00
jlam
992f7e5394 Recognize ghostscript-esp{,-nox11}. 2002-09-18 23:06:03 +00:00
jlam
e507190d0d When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.
2002-09-18 21:15:07 +00:00
tron
d37d1a1495 Add secure HTTP support to the "wget" package. It is turned on by default
and can be turned of by "WGET_USE_SSL=NO".
2002-09-18 19:51:53 +00:00
abs
4ce6a8c4c2 Always Linux-*-i[3456]86, never Linux-*-i386.
Fixes ap-jk build breakage on Linux systems.
2002-09-18 11:08:25 +00:00
jlam
36b46a2390 Split up the UNTRANSFORM variables into *.{1,2,3} so that they won't
exceed any maximum length on values stored in a variable.
2002-09-18 02:14:35 +00:00
jlam
7d8a00b308 Modifications and additions to create a dummy libtool archive to represent
a system library so that we can prefer a system library to a pkgsrc one
when building with pkgsrc.
2002-09-18 00:46:58 +00:00
jlam
0d2ebb8aba Move the LIBTOOL definition outside of the USE_LIBTOOL conditional so that
it may be used by buildlink2.
2002-09-17 23:53:50 +00:00
jlam
5bcd5a4093 Ensure that the PROTECT and UNPROTECT variables are clobbered by properly
ordering them and using += instead of an accidental = .  This should fix
pkg/18324 by John Kohl <jtk@kolvir.arlington.ma.us>.
2002-09-17 19:15:35 +00:00
jlam
9ab9a8e0fc Add REPLACE_BUILDLINK, REPLACE_BUILDLINK_PATTERNS, REPLACE_BUILDLINK_SED to
bsd.buildlink2.mk.  This allows packages that use buildlink2 to fix up
*-config and other shell scripts that hardcode wrong library names as a
side-effect of how buildlink2 works, e.g., the package thinks "-laa" works
because the wrapper silently converts it to "-laa-x11.

REPLACE_BUILDLINK		files relative to ${WRKSRC}
REPLACE_BUIDLINK_PATTERNS	shell glob
REPLACE_BUILDLINK_SED		sed expression to run over the files named
				above
2002-09-17 06:20:14 +00:00
jlam
db716be0c3 Change the way that we note when a libtool file has been fixed by
buildlink2.  We used to create a timestamp file in the .libs directory.
Now, we add a line to the *.la and *.lai file that directly notes that it
has been "modified by buildlink2".  This makes it easier to debug problems
caused by using the wrong libtool during either a build or install by
checking if the *.la or *.lai files have the "modified by buildlink2" line.
2002-09-16 19:55:56 +00:00
jlam
9307af5faa Add a missing shell wildcard which was causing the expression to not
catch arguments with symbols that are special to the shell.
2002-09-16 19:06:41 +00:00
uebayasi
bde7f9bfcb * Assume each Emacs lisp package supports only (GNU) Emacs 20/21 by default.
* Slightly modify the way to prefix "xemacs-" to a package compiled for XEmacs.

* Suppress warnings issued when Emacs/XEmacs are not installed.
2002-09-16 12:51:34 +00:00
hubertf
067781c309 quote args to pkg_info, to prevent some shell trying to interpret them. 2002-09-16 10:04:39 +00:00
hubertf
44763c1291 show-installed-depends: properly quote pkg, as it can contain some things
the shell would definitely interpret in a wrong fashion (like
	"perl>=5.0" - we don't want to create some file).

Pointed out by Jan Schaumann <jschauma@netmeister.org> on tech-pkg.
2002-09-16 09:56:31 +00:00
mycroft
55f3b4a04d Don't pass down GHOSTSCRIPT_DEPENDS through MAKEFLAGS for now. It causes
shell quoting lossage.
2002-09-16 01:30:44 +00:00
rh
5d9dea26a6 Move xpkgwedge check from bsd.pkg.mk to bsd.prefs.mk so that X11PREFIX
location check within package Makefiles actually works as expected.
2002-09-15 11:58:22 +00:00
rh
4bde325dd1 Undo previous commit. This seems to be a much more suble error. 2002-09-14 03:21:11 +00:00
rh
378c55edfc Fix directory path to the X11 version of ghostscript-gnu. 2002-09-14 03:17:31 +00:00
uebayasi
bf3386ac95 * Prefix PKGNAME with "xemacs-" if the package is for XEmacs.
* Do the trick in mk/emacs.mk instead of each package's Makefile.
2002-09-14 02:19:29 +00:00
jlam
e9b56d18cc Recognize latest versions of ghostscript-gnu. 2002-09-13 22:30:09 +00:00
jlam
76e160e547 Recognize ghostscript-gnu-x11. 2002-09-13 20:23:37 +00:00
uebayasi
d177730c30 A Makefile fragment for Emacs Lisp packages. 2002-09-13 10:36:20 +00:00
jlam
50f2573239 Require at least 6.01. I don't think there are any more 6.0 installed out
there.
2002-09-13 06:54:17 +00:00
jlam
477c5648f1 Convert all of the GS_REQD to GHOSTSCRIPT_REQD. 2002-09-13 06:40:08 +00:00
jlam
a9e8a3eeca Add a ghostscript.mk file that may be included by packages that want a
dependency on ghostscript.  This handles the dependency patterns that will
match either ghostscript{,-nox11} and ghostscript-gnu{,-nox11} depending
on which version number of ghostscript is required.  From the comments at
the top of the file:

To use this Makefile fragment, simply:

(1) Optionally set GHOSTSCRIPT_REQD to the minimum version number of
    Ghostscript required by the package,
(2) Optionally set USE_GHOSTSCRIPT to "build" to only add a build-time
    dependency on Ghostscript,
(3) And include this Makefile fragment in the package Makefile,
2002-09-13 06:37:11 +00:00
jlam
b944dd3217 Add BUILD_DIRS and INSTALL_DIRS, which have the same semantics as
CONFIGURE_DIRS, and allows running the shell commands in the do-build and
do-install targets within the specified directories.  Both variables
default to ${WRKSRC}.
2002-09-12 10:34:29 +00:00
tron
01817b5b43 Add a "list" target which invokes "pkg_info -L" for the current package. 2002-09-08 06:59:26 +00:00
jlam
6a3ef162c6 Filter out -R and -Wl.-R arguments that point to /usr/local as well as
just -I and -L (modulo if LOCALBASE == /usr/local).
2002-09-07 07:33:14 +00:00
jlam
993383ae30 * Use a for loop to consolidate identical logic for removing paths in the
argument transform filter.

* Remove special ZOULARISBASE hack and use the new _BLNK_*PROTECT_SED
  variables to accomplish the same thing.
2002-09-06 14:39:41 +00:00
jlam
08c8404aae Create _BLNK_PROTECT_SED and _BLNK_UNPROTECT_SED variables to protect
${_PKGSRCDIR} and ${BUILDLINK_DIR} from any filtering, as they may be
subdirectories of ${LOCALBASE}, /usr/pkg, or /usr/local.

This should fix pkg/18142 and other puzzling problems reported on the
tech-pkg mailing list where it was necessary to revert back to buildlink1
versions of packages in order to build when the pkgsrc tree or the work
directories are kept under /usr/local.
2002-09-06 14:25:24 +00:00
jlam
e5981c7c8d Don't add the perl dependency if perl5/buildlink2.mk is included as the
buildlink2.mk file has it's own logic for how to add the perl dependency.
2002-09-06 08:10:40 +00:00
jlam
2552a2329c Minor whitespace nit. 2002-09-06 07:21:28 +00:00
jlam
3f8fb9faec Move the l:lib1:lib2 transformation to _BLNK_TRANSFORM_SED.3, which now
contains all of the transformations that we may want to use to fix up
any *-config scripts that have incorrect paths or library names.  Also
add some _BLNK_UNTRANSFORM_SED.* variables that do the opposite of the
corresponding _BLNK_TRANSFORM_SED.* variables, and that are used to clean
up libtool archives.
2002-09-06 07:20:20 +00:00
wiz
11b8523589 add mk locale dirs (for gnome-mime-data) 2002-09-05 16:29:56 +00:00
agc
cb0e38446b Apply patches from Lubomir Sedlacik <salo@Xtrmntr.org> in PR 18115 to
generalise the linker flags used to export symbols by setting them on
a per-OS basis.

> many packages force -Wl,-export-dynamic which is not portable outside GNU ld
> and cause problems e.g. on Solaris.  some of these packages use if
> conditionals either only for NetBSD or except SunOS, but the state is not
> coherent and it may complicate later when support for new OS is added to
> pkgsrc (e.g. ongoing work on HP-UX support).
>
> jlam proposed the following framework in discussion on tech-pkg:
>
>   http://mail-index.netbsd.org/tech-pkg/2002/06/21/0009.html
>
> now, ${EXPORT_SYMBOLS_LDFLAGS} is used instead of directly defining
> -Wl,-export-dynamic which is set in appropriate defs.*.mk to reasonable
> values.  packages should be converted to this framework by:
>
> 1) replacing LDFLAGS+= -Wl,-export-dynamic and LIBS+= -export-dynamic with:
>
>    LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
>
> 2) for use in patchfiles, add this variable to MAKE_ENV if needed:
>
>    MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS}
>
> 3) replace occurances of -Wl,-export-dynamic and -export-dynamic in patch
>    files with:
>
>    $(EXPORT_SYMBOLS_LDFLAGS)
2002-09-04 14:47:32 +00:00
jlam
e3d8bd520f Also protect -L${ZOULARISBASE}* from being transformed. 2002-09-03 22:10:17 +00:00
jlam
a72ff273d0 Invert test in buildlink-${OPSYS}-wrappers that was causing the OPSYS
wrappers to not be generated.  I forgot to flip this back after testing on
my NetBSD box.
2002-09-03 22:06:50 +00:00
jlam
144e45523e Fix botch in previous commit which caused the sanitized PATH to not be
inserted into the wrapper scripts.
2002-09-03 21:43:40 +00:00
jlam
e90ca9f172 Add a missing shell wildcard which was causing the expression to not
catch arguments with symbols that are special to the shell.  This should
fix pkg/18156 by Matthias Scheler.
2002-09-03 21:36:18 +00:00
jlam
721f556b8c Don't munge references to directories in ${ZOULARISBASE} if
${ZOULARISBASE} != ${LOCALBASE}.  This should fix problems compiling
pkgtools/digest with zoularis where ${ZOULARISBASE} != ${LOCALBASE}.
2002-09-03 03:14:10 +00:00
jlam
08bc981080 Add OPSYS-specific section for overriding the generic wrapper scripts, and
add one section for SunOS to possibly allow using the SUNWspro compilers
when building X11 packages that use imake.  Many thanks to Matthias Scheler
for his help on this.

Also use _BLNK_OPSYS instead of OPSYS in bsd.buildlink2.mk so that's it's
easier to pretend I'm using a different OS when doing buildlink2 work.
2002-09-02 21:53:23 +00:00
abs
de040ce391 openoffice requires the unlimit on configure (for jdk) as well as for build.
Add ${_ULIMIT_CMD} to do-configure:
2002-09-02 02:42:26 +00:00
jlam
48ac015754 Don't protect the creation of ${_BLNK_LIBTOOL_FIX_LA} with USE_LIBTOOL.
This script is part of the buildlink2 infrastructure and is harmless if
not used.  This allows devel/zlib to build on Solaris.  Problem noted by
Stoned Elipot.
2002-09-01 18:38:15 +00:00
wiz
87fc391620 Fix sourceforge path on ftp.tuwien.ac.at. 2002-09-01 16:15:32 +00:00
tron
df0b4367aa The "Xpm" library is distributed with Solaris 9. Handle this case like
XFree86 4.x and don't install the package.
2002-09-01 15:13:41 +00:00
schmonz
169b48dc9d Move default definitions of P4USER, P4GROUP, P4ROOT, and P4PORT here. 2002-09-01 04:59:05 +00:00
fredb
0c11c3b7f2 Add TRPlayer license, in support of soon-to-be-imported TRPlayer package. 2002-08-31 19:51:17 +00:00
grant
dc8fcff76a Add variables for openssh privilege separation to bsd.pkg.defaults.mk:
OPENSSH_USER
	OPENSSH_UID
	OPENSSH_GROUP
	OPENSSH_GID
	OPENSSH_CHROOT

Use these to automatically create user/group if they do not already
exist. Assists platforms which do not have an 'sshd' user by default,
while adding flexibility for NetBSD systems.

Checked by Stoned Elipot <seb@netbsd.org>.
2002-08-31 10:08:59 +00:00
wiz
ff35ca18f0 Another sourceforge mirror site. 2002-08-30 12:54:29 +00:00
abs
dfd095b58c Add 'UNLIMIT_RESOURCES+=datasize' if we are using sun-jdk14. On at least
NetBSD/i386 1.6 datasize needs to be at least 192MB to build jakarta-tomcat.
Also set it for sun-jdk as that can expand to {sun-jdk13,sun-jdk14}...
2002-08-30 10:46:46 +00:00
jlam
81fd4ce214 Rename _BLNK_X11PKG_DIR to BUILDLINK_X11PKG_DIR and make it publicly
usable.
2002-08-29 22:29:03 +00:00
jlam
7b02107173 Number questions and answers to make referring to specific Q&As easier. 2002-08-29 17:08:49 +00:00
wiz
561201e58b Remove superfluous 'be'. pkg/18104 by Julio Merino. 2002-08-29 14:02:28 +00:00
wiz
da994f1178 It's APACHE_USER instead of APACHE_SUEXEC_USER now. 2002-08-29 10:16:44 +00:00
jlam
85d49fe337 Teach about x11/neXTaw. 2002-08-28 15:20:39 +00:00
seb
9a2cbf0ab0 Allow more flexibility in the handling of UNLIMIT_RESOURCES.
Each word of UNLIMIT_RESOURCES is supposed to be a knob on
ULIMIT_CMD_<word> variable which value if defined is added to _ULIMIT_CMD.
The ULIMIT_CMD_* variables are set per $OPSYS in defs.*.mk and are overridable
by the user.

Solaris' default value of ULIMIT_CMD_memorysize adjusted as suggested in PR
pkg/18087 by Jonathan Perkin <sketch@rd.bbc.co.uk>.
2002-08-28 11:06:17 +00:00
jlam
7a9849cf96 Don't try to multiply define the same target for generating buildlink2
wrapper script.  This can occur if you set something like LD=cc where
the cc wrapper is already generated from CC=cc.
2002-08-28 04:49:16 +00:00
jlam
3cabf7e0ed Fix USE_FORTRAN in the USE_BUILDLINK2 case. 2002-08-27 17:35:02 +00:00
jlam
6976525599 FC and F77 point to the same thing, so no need to create wrappers for
both of them -- just create wrappers for one, then set the appropriate
env vars to handle the other one.
2002-08-27 17:34:04 +00:00
jlam
e4d02a9cf4 In print-PLIST, use "${RMDIR} dir 2>/dev/null || ${TRUE}" instead of just
using "true" at the end.
2002-08-27 06:06:38 +00:00
grant
e2b0ec1e59 deprecate SQUID_SYSCONFDIR in favour of PKG_SYSCONFDIR.squid 2002-08-26 06:42:10 +00:00
jlam
7230ff5dd9 PKG_SYSCONFDIR is not supposed to be settable, so change its setting from
?= to =.  Note in Packages.txt that the only variables that a user should
customize in /etc/mk.conf are PKG_SYSCONFBASE and PKG_SYSCONFDIR.<pkg>.
2002-08-26 05:17:39 +00:00
jlam
4ab7ebefaa Remove estimates on increased build times as they're probably not still
accurate.
2002-08-25 22:16:44 +00:00
jlam
fff8372661 Pull up change in buildlink2 branch:
Rename NO_BUILDLINK2 to NO_BUILDLINK.  This better matches what it's
supposed to disable -- the "buildlink" targets.
2002-08-25 18:52:05 +00:00
jlam
944ecea87e It's USE_BUILDLINK2, not USE_BUILDLINK2_ONLY. 2002-08-25 18:51:31 +00:00
dmcmahill
e9286ba966 add cy, en@IPA, fa, ia locale's used by gtk-2.0.6. 2002-08-24 02:18:01 +00:00
wiz
e6c4e8251c Add some more sourceforge mirror sites. 2002-08-23 11:26:07 +00:00
jlam
3cfe800533 Create the include and lib buildlink dirs so that Darwin's compiler won't
complain on stdout (!) when -I or -L args are passed to it and break
scripts that check for output.
2002-08-23 00:27:59 +00:00
jlam
afd2d15ee3 Use sed instead of a funky make RE variable to sanitize the PATH. It was
breaking when the directory names had RE characters like "+".
2002-08-22 20:20:33 +00:00
jlam
b119dbc8ef Merge pkgsrc/mk from the buildlink2 branch back into the main trunk. 2002-08-22 08:21:26 +00:00
grant
a4a0e792bf set USE_INET6 if we are on an IPv6 capable Solaris host. 2002-08-21 08:40:40 +00:00
hubertf
7508b153db Add CVS_FLAGS that will be passed to 'cvs update' before builds.
Allows specifying a branch ("-rnetbsd-1-6") or the trunk ("-A") easily
from the build.conf file.
2002-08-20 02:17:56 +00:00
seb
6490d0675b Now by default the support of micro- and nano-second timestamp values provided
by stat(2) is disabled: it causes grief even for package building.

This is adjustable by the GMAKE_NSEC_TIMESTAMPS variable.

Bump PKGREVISION.
2002-08-19 18:39:14 +00:00
seb
ae89e1a1e1 Actually Alistair was right: $packages and $distfiles also need to be
$mkdirprog'ed, it helps on a fresh/virgin/cleaned up bulk building system.
2002-08-15 10:42:19 +00:00
fredb
fed81d8aec Document `IMAP_UW_NO_SSL'. 2002-08-15 00:34:04 +00:00
grant
af823178c5 make this work on Solaris by using ${EGREP} instead of ${GREP}. 2002-08-14 02:38:25 +00:00
agc
a4d0d788d6 Make sure that /var/games exists in the sandbox, and has the correct
permissions.
2002-08-12 16:33:11 +00:00
seb
9ddc0ee2a9 New feature: this script now create $sandbox/sandbox, a shell script
to ease the use of the sandbox.

$sandbox/sandbox umount
  Umount the null mounts from the sandbox
$sandbox/sandbox mount
  Mount the null mounts required by the sandbox (useful across reboots, ...).
$sandbox/sandbox whatever
  Runs the command passed as arguments, chrooted into the sandbox.
  Typical usage would be `$sandbox/sandbox /my/favourite/shell'.
$sandbox/sandbox
  Same as `$sandbox/sandbox /bin/sh'

Approved by agc.
2002-08-12 15:19:49 +00:00
seb
5670256c19 - Remove $sandbox/etc/localtime before copying /usr/share/zoneinfo/GMT over.
This prevent surprise when /etc/localtime -previously copied over in the
  sandbox by pax/tar- is a symlink to /usr/share/zoneinfo/whatever.
- Improve somewhat some messages.
- Make sure $sandbox/$packages and $sandbox/$distfiles are created instead of
  $packages and $distfiles.
2002-08-12 14:47:07 +00:00
agc
e9822c16a7 In the build script, set BATCH=1 and DEPENDS_TARGET=bulk-install in the
environment, and pass them down to the bulk build. This means that the
/etc/mk.conf (or $MAKECONF) can be shared between ordinary builds and
bulk builds.
2002-08-12 14:20:59 +00:00
agc
84639e443b Add the default for USERPPP_GROUP for the userppp package 2002-08-12 12:15:12 +00:00
agc
335e691b7a Don't null-mount all of /var - just do /var/mail for just now, so that
the packages which expect a sane mail delivery set up can configure and
build within the sandbox.
2002-08-12 10:12:09 +00:00
agc
c57f1d48cf Also null-mount /var from inside the sandbox 2002-08-12 09:55:35 +00:00
agc
c2edb365bc Specify defaults for the Free wnn user and group. 2002-08-12 09:47:34 +00:00
agc
7832e64d14 Don't assume that this is a shell script - instead, realise that it's
written in perl, and call the environment variable "BMAKE" accordingly
(it's set to the name of the NetBSD make(1) program).
2002-08-12 08:46:54 +00:00
tron
4b4b32f248 Move "ftp.fi.netbsd.org" from "MASTER_SITE_LOCAL" to "MASTER_SITE_BACKUP".
This will reduce load on "ftp.netbsd.org" a bit and still make our
local distribution files available during outages.
2002-08-11 16:56:51 +00:00
tron
5c7aa4554d Add "ftp.fi.netbsd.org" to "MASTER_SITE_LOCAL" so that e.g. building
the "openssl" package works while "ftp.netbsd.org" is down.
2002-08-11 09:59:43 +00:00
jlam
11382ac762 Depend on the hard-syscall version of pth if we using it as a pthread
replacement via pthread.buildlink.mk.
2002-08-08 15:34:17 +00:00
jlam
c8a6f4234b Allow non-Darwin platforms to build perl58. We're in pkgsrc lockdown down
just prior to branching for 1.6, so this should be okay now.  I also want
to see this built in the bulk-builds for testing purposes.
2002-08-08 06:10:03 +00:00
agc
b517957acd Don't create the ${INTERACTIVE_COOKIE}s in the ${WRKDIR} - this will fail
if the interactive stage is "fetch", since there will be no ${WRKDIR} at
that time.

Instead, since ${INTERACTIVE_COOKIE}s are only used in bulk builds, create
them in the package directory, along with the related .broken.`hostname`
file.
2002-08-07 15:12:45 +00:00
veego
e58778ca63 Prepare for the mplayer 0.90pre6 aka 0.90rc6 update:
- Change the mplayer default font size from 18 to 14
- Add MPLAYER_USE_REALMEDIA, defaulting to NO
  Used by mplayer to enable realmedia support by using the realplayer
  libraries. Note that this only works on i386 and also adds a
  dependency for the linux emulation to this package.
2002-08-07 12:46:49 +00:00
agc
7d725beb1b Correct the position of a closing parenthesis in a comment 2002-08-07 12:14:12 +00:00
agc
742d20ca58 A small shell script to set up a sandbox (usually for a pkgsrc bulk
build), using null mounts.
2002-08-07 12:03:00 +00:00
agc
9a4f22c0ba Make these scripts useful on platforms other than NetBSD by using a BMAKE
environment variable, which contains the name of the make(1) program to
invoke - suggestion by Julien Letessier some time ago, the confusion mine,
since I thought he was referring to something else completely.

Don't rely on there being a POSIX tr(1) in the path by default - test
explicitly for both "yes" and "YES".

Set the default for PRUNEDISTFILES to "no", since we can't assume that
the user wants us to delete something which he may have been keeping
around, and there are other ways of accomplishing this aim (lintpkgsrc
-o, for example).

Clean up some superfluous white space at the end of lines.
2002-08-07 10:56:11 +00:00
agc
b1e763d5bc Add a missing "-o" from the compound test in the if statement 2002-08-06 18:14:49 +00:00
jlam
28130fad6c USE_BUILDLINK_X11 is dead too with the removal of pkgtools/buildlink-x11. 2002-08-06 06:11:12 +00:00
jlam
2fd2e60ce0 USE_BUILDLINK_X11 is dead, too. 2002-08-06 06:10:41 +00:00
jlam
fcf2d2e2bc Remove completely unused code for buildlink-x11 that is never going to see
the light of day in pkgsrc.
2002-08-06 05:56:36 +00:00
lukem
7978d8d155 revert previous as it is borken. per testing by me and discussion with jaromir.
(/brickage to certain vi clones with syntax editing...)
2002-08-05 08:09:01 +00:00
jdolecek
7db72790ae fix \ botch - need double \ to get the the \ properly generated
in wrapper script
2002-08-04 17:03:58 +00:00
jlam
7472947b84 Fix _JAVA_PKGBASE definition in "sun-jdk" case so that when used as a
pattern with "pkg_info -e <pattern>", we can actually match a full package
name.
2002-08-03 19:51:20 +00:00
hubertf
f65cd0defb print-PLIST:
* move redundant sed expression into variable to only maintain it once
 * properly catch grep return code in *both* cases (makes substitution
   of pkg variables in @dirrm statements / directory names work)
2002-08-03 00:15:30 +00:00
jlam
88ca8458b4 Add support for XAW_TYPE == "neXtaw". 2002-08-02 20:14:34 +00:00
jlam
3b6db329d0 A package Makefile may add the word "optional" to PTHREAD_OPTS, which
will override the effects of any instance of the word "require".  This
should _only_ be used by those packages that can be built with or
without pthreads _independently_ of whether any of its dependencies need
pthreads.  Currently, this only only www/mozilla, which uses its own
threading library if native pthreads is unavailable, despite that it
uses GTK+, which _does_ need pthreads.
2002-08-02 05:38:37 +00:00
schmonz
856d2fdf3e Set JAVA_HOME correctly on Darwin. 2002-08-01 13:25:26 +00:00
jlam
74efb51f8c Alter the way pkgsrc handles dependencies on pthreads. We now bless the
hard-syscall version of GNU pth as the official pthread replacement
package for those platforms that don't have a native pthread library.
USE_PTHREAD is now deprecated in favor of directly include
pthread.buildlink.mk, but the behaviour may be tweaked by setting
PTHREAD_OPTS to contain any of "native" and "require".  More complete
documentation may be found in the first half of this file.
2002-08-01 05:40:29 +00:00
jlam
554bc08289 We no longer expect PTHREAD_TYPE to be defined after including
bsd.prefs.mk.  It's value is now supposed to be checked after including
pthread.buildlink.mk.
2002-08-01 05:36:33 +00:00
jlam
fad3c804a0 * Rename _JAVA_PKGNAME to _JAVA_PKGBASE which more accurately reflects its
contents.

* Each PKG_JVM needs its own special _JAVA_PREFIX_DEFAULT hardcoded as
  there's no way to discern the subdirectory of ${LOCALBASE}/java in which
  the PKG_JVM is installed.

* If PKG_JVM == "sun-jdk", allow either sun-jdk13 or sun-jdk14 to be used,
  preferring whichever one is already installed, but otherwise using the
  best default for a given platform.
2002-07-31 14:48:03 +00:00
wiz
7c5034a857 Add "${_PATCH_BACKUP_ARG} .orig" to PATCH_DIST_ARGS too.
Fixes Solaris problem reported in pkg/17769 by Valeriy E. Ushakov.
2002-07-31 14:43:29 +00:00
wiz
2e29143b54 Add APACHE_USER and APACHE_GROUP variables, remove APACHE_SUEXEC_USER. 2002-07-30 18:42:14 +00:00
grant
93c8ef6a61 back out OBJOSMACHINE stuff as it is superfluous. pointed out by
jlam.
2002-07-30 00:09:23 +00:00
jlam
fa208fe38d Invert the test for USE_JAVA. It now takes an optional value of "run"
(instead of "build").  The rationale is that USE_JAVA= is "bigger" than
USE_JAVA=run in the sense that the former adds another dependency.  For
packages that don't need the extra dependency, we can trim it off by
setting USE_JAVA more thoughtfully.
2002-07-29 22:15:02 +00:00
jlam
e2001908fc Change the semantics of the USE_JAVA variable. USE_JAVA may now take an
optional value of "build" to represent that the package needs a JDK for a
build dependency in addition to the usual run dependency on a JVM.
2002-07-29 21:45:22 +00:00
schmonz
67b37a3bac Now that multiple JDKs can be installed, provide a working default
JAVA_HOME for the given PKG_JVM.

Include tools.jar on the CLASSPATH if it exists.

From discussion with jlam. Approved by jwise.
2002-07-29 20:54:28 +00:00
grant
6bd5203ec2 add OBJOSMACHINE, to use OS version and arch specific work
directories, eg.

  work.NetBSD-1.5-i386
  work.SunOS-5.7-sparc
2002-07-29 07:25:38 +00:00
schmonz
5fe116a826 Inform USE_JAVA about the new JDK/JRE naming scheme, so that packages
that USE_JAVA can work.
2002-07-28 12:51:07 +00:00
cjep
97ab191e21 Add share/nls/{et_EE.ISO_8859-15,ru_RU.KOI8-R,uk_UA.KOI8-U} which seem to
be required for tcsh-6.12
2002-07-25 07:09:47 +00:00
jlam
e38613966f Create a new variable "RCD_SCRIPTS_EXAMPLEDIR" that contains the location
of the example rc.d scripts for a package.  This defaults to
${PREFIX}/etc/rc.d, but may be reset for those odd packages, e.g. qmail,
that set LOCALBASE=/.
2002-07-24 20:30:06 +00:00
jlam
aaade83d33 * Change the semantics of the USE_PERL5 variable. USE_PERL5 may now take
an optional value of "build" to represent that the package only wants a
  build dependency on perl.

* Add a new public variable "PERL5_PKGSRCDIR" that is either
  "../../lang/perl58" or "../../lang/perl5" depending on whether we need
  perl>=5.8.0 or not.
2002-07-24 19:42:21 +00:00
mrauch
cb20bdff4f Add a missing semicolon in the INTERACTIVE_STAGE=fetch bulk build logic. 2002-07-24 17:44:16 +00:00
kim
c5575cb68f Add share/nls/pl_PL.ISO_8859-2 2002-07-24 17:40:33 +00:00
hubertf
a346fa0977 print-PLIST: only substitute PKGVERSION when it really matches, i.e.
excape the "." ("1.2" -> "1\.2" etc.; hit in fonts/intlfonts)
2002-07-24 00:54:23 +00:00
cjep
bb81429b52 Add a variable SU_CMD_PATH_APPEND containing a colon separated list of
directories. When ${SU_CMD} is used, we add this list to the end of the
PATH environment variable.

This fixes PR#17532 from Hauke Fath.
2002-07-23 19:10:27 +00:00
jlam
80743a4834 Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl as
DynaLoader.a is now an archive of PIC objects.
2002-07-22 22:00:49 +00:00
cjep
b76f2a5cb5 Documentation nit: SU_CMD does not default to ${SU} root -c. 2002-07-22 17:20:06 +00:00
martti
ab5c216427 Added POSTFIX_USE_TLS=YES 2002-07-22 11:51:35 +00:00
jschauma
4130032ed4 TYpoe: 'stoping' -> 'stopping' 2002-07-22 02:33:55 +00:00
mrauch
740ad47954 Make bulk builds aware of packages with INTERACTIVE_STAGE and mark them as
"not packaged" instead of "broken".
2002-07-21 11:53:18 +00:00
jschauma
d6f2059e22 On -current, let PKG_JVM default to the same as on 1.6.
I should have done this when I added sun's jdk 1.4 originally,
but did not account for version names like 1.6[A-Z].
2002-07-20 17:01:09 +00:00
tron
6184c63b15 Add optional netboot support to "grub" package as suggested by
Julio Merino in PR pkg/17354.
2002-07-20 12:42:35 +00:00
agc
358a65874e Correct two indentation nits 2002-07-18 10:21:18 +00:00
schmonz
93b7dc1afc Add RCS Id. 2002-07-16 15:13:51 +00:00
schmonz
f23c05c5e3 Add two knobs for packages: CONFIG_GUESS_OVERRIDE and CONFIG_SUB_OVERRIDE.
Example:

    CONFIG_GUESS_OVERRIDE=  ${WRKSRC}/config.guess
    CONFIG_SUB_OVERRIDE=    ${WRKSRC}/config.sub

Just before the bulk of the "configure" phase, the named files will be
replaced with symlinks to their canonical pkgsrc versions in
pkgsrc/mk/gnu-config.
2002-07-16 15:02:01 +00:00
schmonz
79665559c2 "Import" the latest config.guess and config.sub from
${MASTER_SITE_GNU:=config/} :

GNU config.guess (2002-07-09)
GNU config.sub (2002-07-03)
2002-07-16 14:50:39 +00:00
schmonz
a9600197ee Provide per-${OPSYS} defaults for how to run a command as root.
Darwin ships with a disabled root account and a working "sudo".
2002-07-15 16:24:01 +00:00
rh
0c128e2a86 Add missing LN to PLIST_SUBST 2002-07-13 23:27:54 +00:00
wiz
e2aeb1a23e Add some more locale dirs. 2002-07-12 16:57:40 +00:00
wiz
1f3da5448f Add ar, lv, ms, and vi locale dirs (needed by some GNOME2 packages). 2002-07-12 15:54:36 +00:00
grant
cc60a7b9d4 on Solaris, depend on gzip-base if GZCAT is not set, and neither
/usr/bin/gzcat nor ${LOCALBASE}/bin/gzip exist.

required for Solaris systems which do not include gzcat in the base
system.

sanity checked by Stoned Elipot <seb@netbsd.org>.
2002-07-11 15:52:35 +00:00
agc
904ea3366f In the do-fetch target, break out the check for distfiles if we're in
batch mode, into a separate target.

Call that target if we're in batch mode.

Modify the check for distfiles code to do a loop for all the
distfiles, and only print the message once at the end if the files
aren't present, and BATCH is defined.

Only check for distfiles' explicit presence if BATCH is defined.
2002-07-03 16:30:18 +00:00
cjep
9fe6747789 For interactive configure, say "Please configure manually...". 2002-07-03 06:58:31 +00:00
wiz
0c3f94f20f Deprecate USE_SSL. 2002-07-02 15:25:49 +00:00
wiz
66332a11fc Reduce chances that distinfo ends up with a bogus RCS Id or none at all. 2002-07-02 13:31:40 +00:00
agc
769153c5c4 Deprecate IS_INTERACTIVE, and introduce a finer-grained INTERACTIVE_STAGE
definition.

INTERACTIVE_STAGE can take any of the values: fetch, configure, build and
install

Multiple values are allowed: e.g. INTERACTIVE_STAGE= configure install

Explain INTERACTIVE_STAGE and its use in documentation.

Patches provided by Chris Pinnock (cjep@netbsd.org).
2002-07-02 11:26:05 +00:00
dmcmahill
808b30b3b0 add entry for NS_USE_SUNOS. If defined, the netscape and communicator
packages will use the old SunOS-4.1 binaries.  Otherwise, default to
using the recently enabled Solaris-2.5.1 binaries which include more
modern releases.
2002-06-30 19:07:27 +00:00
schmonz
bcc48e8a45 Register lang/sun{jre,jdk}13 as stub packages on Darwin, pointing
to the included 1.3.1 JDK. Teach USE_JAVA about this. Approved by
jwise and agc.
2002-06-30 15:01:47 +00:00
dmcmahill
187edbfd07 don't hard code the start time stamp file as .start.${arch} but allow
OBJMACHINE and OBJHOSTNAME to work.  Also don't hardcode /usr/pkg and
/usr/X11R6 for LOCALBASE and X11BASE.  Finally, fix a few typos in messages
while here.
2002-06-29 03:33:34 +00:00
seb
b37de5b10e Add PKG_SYSCONFDIR to BUILD_DEFS.
Note: it was already as part of CONFIGURE_ENV value, this change only makes
it more "readable" IMHO.

Remove explicit addition of PKG_SYSCONFDIR to BUILD_DEFS in a couple of
Makefiles.
2002-06-28 09:05:16 +00:00
agc
d770bff3a2 fix typo 2002-06-28 08:46:38 +00:00
agc
33334d61db Don't hardcode the value /var/db/pkg - this may not be the desired value
of PKG_DBDIR. Instead, get the value using "make show-var".
Pass this value down through the environment to pkg_info and pkg_delete
2002-06-28 07:54:36 +00:00
jlam
8aca95c13e Don't bother the admin to create a directory from MAKE_DIRS if it already
exists on the system.  We still make noise about directories in
MAKE_DIRS_PERMS because those directories must have special permissions
that the admin should check, even if they do exist.
2002-06-27 20:46:31 +00:00
jlam
6697300211 Don't bother the admin about the ${PKG_SYSCONFBASE} and ${RCD_SCRIPTS_DIR}
directories if they still exist after we try to remove them.
2002-06-27 20:43:44 +00:00
jlam
ce7c65ef99 Put PKG_SYSCONFBASE and PKG_SYSCONFDIR in the header so that they may be
used in the scripts.
2002-06-27 20:42:15 +00:00
jlam
87ea621afe Back out revisions 1.21 and 1.22 and
(1) do the work of not being so noisy for /etc and /etc/rc.d in the
	scripts themselves, and

    (2) make PKG_SYSCONFBASE and PKG_SYSCONFDIR usable from within
	the INSTALL/DEINSTALL scripts by putting them in the header.

This preserves the ability for a single binary package to be used for both
PKG_CONFIG=yes or PKG_CONFIG=no.
2002-06-27 20:41:44 +00:00
grant
b3dbf2fad1 pass PKG_SYSCONFDIR when calling {PRE,POST}-INSTALL. 2002-06-27 01:55:21 +00:00
lukem
cd99e0fe84 Only add RCD_SCRIPTS_DIR to MAKE_DIRS if RCD_SCRIPTS isn't empty.
Prevents warning on deinstall "remove /etc/rc.d" if no rc.d scripts
are provided for the package and PKG_CONFIG=no.
2002-06-27 00:54:30 +00:00
lukem
1217f73ea4 let mk.conf's PKG_CREATE_USERGROUP and PKG_CONFIG take advantage of
the same case insensitive multiple choice that the equivalents from
the environment support
2002-06-24 13:14:41 +00:00
kent
073d2c25b1 Add MPG123_ARM_FIXED64. 2002-06-23 08:46:22 +00:00
jlam
7fc61ff015 New variable GNU_CONFIGURE_PREFIX whose value is the argument to the
--prefix option passed to a GNU configure script.  It defaults to
${PREFIX}.  This should help simplify the packages out there that avoid
setting GNU_CONFIGURE=yes because they need a custom --prefix option.
2002-06-23 03:15:28 +00:00
kei
51dc28b799 forgot to commit in previous. 2002-06-23 02:23:23 +00:00
kei
87c4b6b2be introduce MASTER_SITE_MOZILLA. 2002-06-23 02:20:07 +00:00
jlam
063b3c32e8 Change PKG_CREATE_USERGROUP and PKG_CONFIG so that their values are merely
defaults for the INSTALL/DEINSTALL scripts.  The environment variables of
the same name take precedence during installation of a binary package.
2002-06-22 02:48:35 +00:00
jlam
753e8e8e87 Move the definition of OBJECT_FMT for NetBSD-1.3.x back _below_ the
inclusion of bsd.own.mk.  This is to allow OBJECT_FMT to be set explicitly
in ${MAKECONF} (/etc/mk.conf) to override the setting in bsd.own.mk on the
older NetBSD systems.
2002-06-21 21:06:48 +00:00
jlam
d52785d9bf Move the definition of OBJECT_FMT for NetBSD-1.3.x systems ahead of the
inclusion of defs.*.mk so that they can conditionalize on OBJECT_FMT.
2002-06-21 17:49:47 +00:00
abs
8ca99c83ae Linux updates: match MTREE value in pkg_install, pass correct arg to patch to create .orig files, and update ZOULARISBASE to /usr/pkg 2002-06-21 17:28:44 +00:00
jlam
f28a0a731b In order to solve the following problems:
(1) Admins want to create users/groups on their own (pkg/17183).
    (2) Admins don't want packages to setup an initial configuration.

The bsd.pkg.install.mk-generated INSTALL/DEINSTALL scripts have been
modified to check certain PKG_* environment variables to tune their
behaviour.  This works whether installing from "make install" or from a
binary package.

PKG_CREATE_USERGROUP indicates whether the INSTALL script should
	automatically add any needed users/groups to the system using
	useradd/groupadd.  It is either YES or NO, and defaults to YES.

PKG_CONFIG indicates whether the INSTALL/DEINSTALL scripts should do
	automatic config file and directory handling, or if it should
	merely inform the admin of the list of required files and
	directories needed to use the package.  It is either YES or NO,
	and defaults to YES.

The make(1) variable INSTALL_RCD_SCRIPTS is removed.  The package rc.d
script is now handled like other config files for the package, and is
copied into place if PKG_CONFIG=YES.

The default values above reflect the current behaviour.  Setting
PKG_CREATE_USERGROUP=NO solves problem (1), and setting PKG_CONFIG=NO
solves problem (2).

To simply matters for users installing directly from pkgsrc, these
variables may also be defined in /etc/mk.conf, but behaviour at deinstall
time may be surprising.  It is *HIGHLY* recommended that these values be
set in the shell environment instead.
2002-06-20 20:15:46 +00:00
grant
94abee63c5 MASTER_SITE_PERL_CPAN, cpan.pair.com: s/by-modules/by-module/ 2002-06-17 09:11:10 +00:00
cjep
64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00
fredb
4c6fa1026e Actually set the defaults for MUTT_USE_SLANG and MUTT_USE_SSL, like
it says in the comments; add a section plus default for MUTT_USE_NCURSES,
and alphabetize.
2002-06-15 15:26:15 +00:00
cjep
41ffd28765 Insist on a newer lha (xm7 failed to extract properly with an older one).
Suggested by wiz.
2002-06-15 11:28:12 +00:00
schmonz
763997df7e If ${_USE_RPATH} == "no", strip any rpaths that may have managed
to sneak into LDFLAGS. From jlam, tested a bit by billc, approved
by agc.
2002-06-10 13:28:23 +00:00
sakamoto
28924481e6 add IMDICTDIR for input method's dictionary installation.
default is /var/dict.
2002-06-10 12:23:44 +00:00
skrll
700b1e6e40 Allow memorysize as an option in UNLIMIT_RESOURCE.
Use it in kdelibs3. This closes pkg/17164 from Eric Jacoboni
<jaco@scrogneugneu.org>
2002-06-10 11:40:53 +00:00
martti
69421ed9c3 Updated PKGTOOLS_REQD to 20020402. 2002-06-10 05:51:10 +00:00
schmonz
7602306f7a Don't rely on /usr/bin/make being a symlink to gnumake; rather,
set GMAKE to /usr/bin/gnumake explicitly.
2002-06-02 19:44:32 +00:00
schmonz
63ce60909f Introduce CPP_PRECOMP_FLAGS, defaulting to "-no-cpp-precomp" on
Darwin (meaning "don't use the OS X cpp that groks precompiled
headers", which gets us the more compatible GNU cpp instead), and
blank on other systems.

Approved by agc and yyamano.
2002-06-02 00:40:18 +00:00
schmonz
4a19db1481 On Darwin, before including <bsd.own.mk>, set OBJECT_FMT to "Mach-O".
(<bsd.own.mk> tries to set it to "ELF" otherwise.) The problem was
unmasked by -r1.983 of bsd.pkg.mk.

Approved by agc.
2002-05-30 22:15:40 +00:00
schmonz
e8c4951974 Fix comments in show-shlib-type pertaining to "dylib". 2002-05-29 21:30:30 +00:00
yyamano
3fd6d97d03 Remove STRIPFLAG to fix pkg/15467.
It was replaced with _STRIPFLAG_INSTALL and moved to defs.*.mk.
2002-05-29 14:55:22 +00:00
yyamano
5eb62eb51c Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-05-29 14:52:14 +00:00
skrll
19f99199a4 Add a new variation on the pth package that has --enable-syscall-hard
as part of the configure options. A pth with this option enabled provides
some semblance of pre-emptive threads - enough for things like xmms and
knode to actually work.

Add the necessary glue to pthread.buildlink.mk and appropriate CONFLICT
into pth.

It is hoped that the pkgs that currently use

	-D_POSIX_THREAD_SYSCALL_SOFT=1

will be tested against pth-syscall and changed to use it. The goal is to
be able to add --enable-syscall-hard to devel/pth and retire pth-syscall.
Baby steps...
2002-05-29 08:19:55 +00:00
fredb
f1ae32bea9 Pass ${OBJECT_FMT} into a package's make environment, to permit BSD-make
packages to build correctly on "transitional" systems, where the user
may have ${OBJECT_FMT} set in ${MAKECONF} to either a.out or ELF. On such
systems, you need something like this just to build the "pkg_install"
package. Closes PR pkg/16213.
2002-05-26 15:00:25 +00:00
veego
57bd98d71b Ups, no need to use "'s for the MPLAYER_FONT. 2002-05-25 07:40:36 +00:00
veego
37f112f114 Add an entry for MPLAYER_FONT, which will be used by the mplayer-share
package.
2002-05-25 07:34:43 +00:00
hubertf
2b609a5840 Move description of variables used for config file handling to
Packages.txt.

Supplements PR 16971 by Julio Merino <jmmv@hispabsd.org>
2002-05-22 23:15:22 +00:00