summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2004-08-07Use an awk script to avoid using possibly non-portable shell constructs.jlam1-18/+16
2004-08-07Add some new variables to control how "distribution" patches are extractedjlam1-29/+60
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-07Fix some comparisson strings to handle XFree86/xorg dirs.mk files properly,xtraeme1-4/+5
PR pkg/26576: Kouichirou Hiratsuka.
2004-08-07Remove unused JABBERD_METHOD, it was replaced by PKG_OPTIONS.jabberd2.xtraeme1-6/+1
2004-08-07Add some sourceforge sites that are currently mentioned on the sourceforgewiz1-1/+6
download page (cesnet, easynews, keihanna, mesh, switch).
2004-08-06Unset CDPATH variable in the user environment which prints the cwd to stdoutsketch1-1/+3
when changing directory, breaking the resulting tsort from the printindex script output.
2004-08-05G/C the MUTT_* variables as they're documented in the mutt packagejlam1-17/+1
Makefiles and will be removed and some point in the future.
2004-08-05Garbage collect package-specific default settings that have migrated intojlam1-58/+1
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-05Move addition of PKG_OPTIONS to BUILD_DEFS below the definition of thejlam2-7/+9
build-defs-message target so that PKG_OPTIONS doesn't show up as a settable variable in the displayed message.
2004-08-04oops.. reversed a testjlam1-2/+2
2004-08-04Pretty-print the PKG_SUPPORTED_OPTIONS so that we don't overflow a linejlam1-4/+20
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-04Sometimes, the dependencies installed are a function of which variablesjlam1-6/+7
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-04Add INSTALL_GAME_DATA to the list of defined macros in CONFIGURE_ENVjschauma1-1/+2
as well. (Noted by wiz@)
2004-08-04Display a message with the supported build options at build time.jlam1-1/+31
2004-08-04Do not run xargs if its input is an empty string; xargs in Interixminskim1-9/+14
executes the utility even in such a case. Based on the patch provided by Hiramatsu Yoshifumi in PR pkg/25777.
2004-08-04Introduce GAMEDATAMODE and INSTALL_GAME_DATA, which will take carejschauma2-3/+16
of files installed for SETGIDGAME packages. This will help address PR pkg/25313 and PR pkg/26236.
2004-08-02Remove QMAIL_AUTOCONFIG. No need to mark it obsolete; it hasn'tschmonz1-6/+1
been around long.
2004-08-01If we need to create users or group, require the latest sysutils/user_darwin.schmonz1-2/+2
2004-07-31Garbage collect NO_CHECK_DEPENDS: it is meaningless since revision 1.942.seb1-2/+2
2004-07-30Convert to use bsd.options.mk. The relevant options variable to setjlam1-41/+73
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-30bsd.options.mk provides boilerplate code for standard naming conventionsjlam2-1/+170
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-30Update documentation for the current state of buildlink3.jlam1-138/+2
2004-07-30Add a new variable to specify the installation prefix forxtraeme1-1/+16
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-30Only assign X11BASE=/usr/X11R6 if X11_TYPE was not defined, orxtraeme1-5/+5
if X11_TYPE == native (by default).
2004-07-29jdk12 was never here. "avert your eyes."tv1-21/+3
2004-07-29Depend on xorg-dirs where appropiate, as was done for XFree86 by jmmv@.xtraeme1-1/+8
2004-07-29Enable X11_TYPE=xorg now that we have the X.org packages on pkgsrc.xtraeme1-1/+2
2004-07-28jdk12 is now in pkgsrc/lang.tv1-3/+3
2004-07-28Readd two mirros which apparently still exist.tron1-1/+3
2004-07-28Remove SourceForge mirrors which apparently no longer exist.tron1-11/+1
2004-07-27erm, I had PKG_RESUME_TRANSFERS set to yes, disable it for now.xtraeme1-3/+3
2004-07-27Make the option to resume transfer optional, as suggested byxtraeme2-5/+14
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-27Add two new sourceforge mirrors: ovh (.fr) and puzzle (.ch), andwiz1-2/+4
comment out twtelecom, since it's not in the mirrors list and didn't work for me a few minutes ago.
2004-07-27eww, replace another [ with ${TEST}.xtraeme1-2/+2
2004-07-27s/echo/${ECHO}/xtraeme1-3/+3
2004-07-27Fix some more troubles with my modification for resume transfers:xtraeme2-17/+26
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-27Fix some problems with REFETCH mods:agc1-7/+15
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-27Add support to resume transfers, by default it will be disabled ifxtraeme2-9/+39
$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-26Add the 'et_EE' and 'it_NA' locale directories, used by amule-2.0.minskim11-11/+99
2004-07-25correctly use PKG_SUFX instead of ".tgz".grant1-2/+2
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-25move PKG_SUFX=.tbz example to bsd.pkg.defaults.mk.grant2-3/+7
2004-07-24Export the according BUILDLINK_PREFIX of postgresql-lib as PGSQL_PREFIX.recht1-1/+2
2004-07-23pgsql.buildlink3.mk is used to select a PostgreSQL version for use byrecht1-0/+74
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-22make the TBL variable work as intendeddrochner1-2/+2
2004-07-22Abstract out the "nice -n 20" clause, so that it can be set to somethingagc2-4/+12
else if desired. Print out dates in the form: yyyy/mm/dd
2004-07-21Add QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA, whichschmonz1-4/+22
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-21Enable _OPSYS_MAX_CMDLEN test.xtraeme1-6/+5
2004-07-21If a package Makefile sets USE_TBL to "yes", then add "tbl" tojlam1-1/+22
${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-21Add a reminder that the old Postfix make variables will be removed afterjlam1-1/+5
the 2004Q3 branch is released.
2004-07-20Remove external Matroska support from mplayer packages.salo1-2/+2
The new internal demuxer is the only one supported now, works better and support for the external one will be removed in next releases.