summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2005-01-12add my copyright/license.grant1-1/+36
2005-01-12Correct my name to what I legally use.jlam3-6/+6
2005-01-12Fix checking of up to date binary packages. The problem with DEPENDStv1-3/+3
containing constructs of the form {perl>=5.8.3nb1,perl-thread>=5.8.3nb1} is that a Bourne shell "for" interprets this as two separate items in the list, nuking the {}s. The above will never succeed and thus always cause Perl-dependent packages to be rebuilt unconditionally. Just adding more \s isn't enough -- the parsing of the depends list has to be moved out of the "for" clause. So, echo them one per line and use "read" to pull them in without allowing the shell to peek at those characters.
2005-01-12set _PATCH_CAN_BACKUP=no to avoid problems with DragonFly's native patch.recht1-2/+2
Patch by Todd Willey in PR 28947
2005-01-12Use ${AWK} instead of a bare "awk".jlam1-3/+3
2005-01-12Rearrange how LANGUAGES.<compiler> is set so that we can more flexiblyjlam4-43/+59
detect when only parts of a compiler toolchain are present, e.g. the SunPro C compiler is installed, but not the Fortran-77 compiler.
2005-01-12Put a TNF copyright on files that I authored.jlam4-4/+144
2005-01-12Whitespace.jlam2-30/+30
2005-01-12Even more whitespace.jlam1-13/+13
2005-01-12Whitespace.jlam1-3/+3
2005-01-12Prepend the CCC compiler dir to the PATH so that they're found by thejlam1-1/+6
wrapper scripts.
2005-01-12Backout part of previous commit that was unrelated.jlam2-39/+29
2005-01-12Remove explicit overrides for CC and CXX that prevented using thejlam4-43/+41
definitions supplied in /etc/mk.conf. It should now be possible to pass optimization flags directly using CC and CXX when using CCC and xlC compilers.
2005-01-12Disable win32-jdk for now. It doesn't play well with bulk builds yet.tv1-14/+14
2005-01-12Remove explicit overrides for CC and CXX that prevented using thejlam2-14/+2
definitions supplied in /etc/mk.conf. It should now be possible to pass optimization flags directly using CC and CXX when using SunPro and MIPSpro compilers.
2005-01-12Nuke USE_FORTRAN and bring the f2c handling within the mk/compilerjlam8-44/+179
framework. The list of changes include: * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES, so we no longer need to say it in package Makefiles. Packages should now append to USE_LANGUAGES instead of setting it. * Create mk/compiler/f2c.mk which implements another pseudo-compiler "f2c" that may be used with any C compiler backend, e.g. PKGSRC_COMPILER= f2c ccache gcc * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk, etc., to use f2c if the native Fortran compiler isn't present. Packages that use Fortran should now simply include the line: USE_LANGUAGES+= fortran in the package Makefile.
2005-01-12Add MONOTONE_GROUP and MONOTONE_USER, used by the monotone-server package.jmmv1-1/+13
2005-01-11Redo previous because it had a chance to cause serious problems, and wasjmmv1-4/+4
already demonstrated by imake failing. So, instead of fiddling with PATH's value in multiple places, rely on PREPEND_PATH to get things right. Hopefully this will DTRT. At least several local tests have worked without problems.
2005-01-11nfs-pkgsrc friendliness change:tv1-8/+13
Add a knob to relocate all the global bulk state files in one setting. BULKFILESDIR; defaults to PKGSRCDIR as before.
2005-01-11Some shells can cache * lookups, so do all the rm -f's of */*/<something>tv1-5/+4
on one line. Add a message prior to doing the leftover log cleanup, as it will take a while if pkgsrc is on nfs.
2005-01-11Really skip the transformations for imake. This shows the danger injlam1-2/+2
having variables that take a "yes" value to turn off behavior.
2005-01-11Reverse PATH order in many places: instead of appending ${LOCALBASE}/binjmmv1-4/+6
and ${X11BASE}/bin to the current PATH, _prepend_ them. This way we will pick our own binaries in favour of the system ones, in the cases where conflicts exist. Also add a PREPEND_PATH for ${LOCALBASE}/bin. This should fix several packages on non-NetBSD systems. For example, ispell-spanish under Linux comes to mind, as it was using the 'ispell' binary from /usr/bin instead of the one in /usr/pkg/bin to get its configuration information. Ideally, buildlink could handle this as it does for libraries, hidding unexpected binaries ;-) No objections in tech-pkg@ (or packages@; I don't remember the exact list where I asked).
2005-01-10rc is in /usr/pkgsrc/, even in sandboxeshubertf2-4/+4
2005-01-10_ALIASES.<wrappee> should be cumulative.jlam2-6/+6
2005-01-10Upload pkgs built in sandboxhubertf1-0/+11
(wrapper to 'upload' script, similar to do-sandbox-build).
2005-01-10Allow the creation of error handlers for shell commands in make targets.jlam1-3/+41
PKG_ERROR_CLASSES is a list of error handlers, PKG_ERROR_HANDLER.<class>, to create. The default error handler will rethrow the exit code after emitting an error message that may be specified per-class with PKG_ERROR_MSG.<class>. Create error messages for the configure and build phases that inform the user of places to go looking for why the build didn't complete.
2005-01-10Fix error in previous that turned off all transformations in alljlam1-3/+3
wrappers. "Oops". We now do transformations by default, and turn them off explicitly for wrappers that don't want them, e.g. IMAKE.
2005-01-10Sort the compiler list in the comments.jlam1-3/+3
2005-01-10Whitespace nits.jlam2-10/+10
2005-01-10Remove redundant CONFIGURE_ENV lines (they're already present in thejlam1-3/+1
shell environment passed in the do-configure target.
2005-01-10Avoid the silly optimization in the make logic and push it into thejlam2-9/+10
shell script instead. We can't avoid invoking sed at least once since we need to protect the arguments against shell expansion, but we avoid invoking sed for transformations unless there actually are transformations to perform. The code is simpler, more straightforward, and logically correct now. This fixes problems with using a non-GCC compiler with packages that haven't been converted to use buildlink3, noted in PR pkg/28896.
2005-01-09Modify krb5.buildlink3.mk so that we choose a single, well-knownjlam1-59/+19
package (heimdal) for all Kerberos 5 dependencies instead of choosing the best installed Kerberos 5 package by default. This can be overridden with the following variables: KRB5_DEFAULT is a user-settable variable whose value is the default Kerberos 5 implementation to use. KRB5_ACCEPTED is a package-settable list of Kerberos 5 implementations that may be used by the package.
2005-01-09Modify bdb.buildlink3.mk so that we choose a single, well-known packagejlam1-70/+41
for all Berkeley DB dependencies instead of choosing the best installed DB package by default: 1. BDB_DEFAULT is set in /etc/mk.conf for the life of pkgsrc and represents the package we use when either (1) a db-1.85 interface isn't required, or (2) a db-1.85 interface *is* required, but it's not builtin. It defaults to "db4" but can be any of db[234]. 2. BDB185_DEFAULT is set in /etc/mk.conf for the life of pkgsrc and represents the package we use when a db-1.85 interface is required. It defaults to "db1" if it's builtin, or to ${BDB_DEFAULT} otherwise.[**] 3. If we want db1, then we use the package named in BDB185_DEFAULT. If we don't want db1, then we use the package named in BDB_DEFAULT. 4. If ${BDB_DEFAULT} isn't listed in BDB_ACCEPTED for a package, then that package will be marked with PKG_FAIL_REASON as "${BDB_DEFAULT} not a supported Berkeley DB type for ${PKGNAME}." Using the above scheme, on NetBSD, the default of BDB_DEFAULT=db4 and BDB185_DEFAULT=db1 will cause db1 to be used whenever we want a db-1.85 interface and db4 to be used for all other packages.
2005-01-06If we fail the user/group existence test, then don't proceed to thejlam1-1/+10
directory creation, which often need to create directories owned by a particular user.
2005-01-04Add my_MM locale, initially used by gaim-1.1.1.jmmv22-22/+110
2005-01-03Apache6 package was removed on 2004/11/22: remove code to support it inseb2-14/+10
mk/apache.mk and references to it in mk/defaults/mk.conf. It is now only referenced in some CONFLICTS specifications and some dependencies specifications (for www/ap-dav and www/ap-jserv; should theses be removed too?)
2005-01-03Make IS_BUILTIN.dl work on Interix. Patch provided by Hiramatsu Yoshifumiminskim1-2/+2
in PR pkg/28836.
2004-12-31Add the perl path to CONFIGURE_ENV here, so that we don't have to fixminskim1-1/+2
every package using perl.
2004-12-30Create a symlink to the pkgsrc perl executable in ${TOOLDIR}/bin sominskim1-1/+16
that native perl is never used. Suggested by jlam@.
2004-12-29Use GNU make on Linux when USE_IMAKE=yes, because Makefile generatedminskim2-3/+6
by imake on Linux requires GNU make.
2004-12-28Fix ttf/type1 handling in fonts.mk:wiz2-4/+8
Previously, ttmkfdir's output was redirected to fonts.dir, while the correct behaviour is to let it create fonts.scale and then let mkfontdir merge fonts.scale into fonts.dir. type1 handling had a similar problem. Get the wanted behaviour by automatically appending the contents of FONTS_TTF_DIRS and FONTS_TYPE1_DIRS to FONTS_X11_DIRS. Also, save a subshell in install/fonts while there. Bump PKGREVISION for all affected packages. jmmv@ says ok.
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-2/+3
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-12-27OpenBSD uses the NetBSD user/group management tools, so re-add backjlam1-1/+6
support for USERADD/GROUPADD on OpenBSD.
2004-12-27Remove USERADD and GROUPADD definitions from OSes where the useraddjlam9-57/+14
and groupadd commands won't follow the calling conventions of the NetBSD useradd/groupadd. Modify the INSTALL scripts to *never* create users or groups if there is no available ${USERADD} or ${GROUPADD} command, but will warn the user of users and groups that need to be created before the package can be installed.
2004-12-26It's "modules/by-module".jlam1-7/+7
2004-12-25Set default values for MLDONKEY_{GROUP,HOME,USER} and document them.jmmv1-1/+17
2004-12-25Back out CPAN_MODULE_DIR change. Due to the way make variables arejlam1-8/+7
evaluated, this broke MASTER_SITES in many p5-* packages.
2004-12-25Rename to "CPAN_MODULE_PATH" to "CPAN_MODULE_DIR".jlam1-2/+2
2004-12-25Create CPAN_MODULE_PATH which points to the location of Perl modules atjlam1-7/+8
a CPAN mirror. By default, it is "modules/by-module".
2004-12-24Add 'as' locale, initially used by atk 1.9.0.jmmv13-13/+65