summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-08-04Provide a new variable NO_EXPORT_CPP to further restrict CPP from getting intojmc1-3/+3
MAKE_ENV. There is no effective way to unset CPP otherwise and there are some packages (the cross compilers using gcc) where having CPP set will break things.
2003-08-04Make exim user default to mail like it always had pre defaults conversion.jmc1-2/+2
2003-08-04Remove 'faad' support from MPLAYER_DISABLE_DRIVERS. It is an input driverjmmv1-2/+2
needed to play files as pointed out by wiz@ (sorry for the delay) and salo@.
2003-08-04Let EXIM_USER be 'mail' by default, as it has always been (so the new packagejmmv1-2/+2
does not break on systems where exim is already installed). Noted by jmc@.
2003-08-02Convert exim and exim-user to the bsd.pkg.install.mk framework:jmmv1-1/+11
- Introduce EXIM_GROUP and EXIM_USER to tune the details of the group and user used by the daemon. - Honour PKG_SYSCONFDIR. - Install sample files under the examples directory. - Automatically install example files under sysconfdir using CONF_FILES. This simplifies exim's set up from admin's point of view. - Use RCD_SCRIPTS to handle the startup script. As a result, bump PKGREVISION of exim and exim-user.
2003-08-02Move BUILD_DEFS check to pre-extract to avoid creating work directories inwiz1-3/+3
the fetch step.
2003-08-02depend on the right version of grep.grant1-2/+2
2003-08-02comment: clarify and describe why USE_GNU_TOOLS+= must be used.grant1-4/+10
2003-08-02handle platforms with broken tools in the base system, such as sedgrant2-1/+177
and awk. as proposed on tech-pkg@, with some changes to set the appropriate tool variables and handle OSs which provide GNU tools in the base system (ie. do nothing). this allows packages or users to force the use of pkgsrc GNU tools when they are not present in the base system by defining e.g. USE_GNU_TOOLS="awk sed". Solaris' sed is marked as incompatible, as even the XPG4 sed is too limited for a number of packages (especially large ones which use libtool, as libtool calls blind 'sed'), so GNU sed is always used on Solaris.
2003-07-31Revert previous. USE_MAKEINFO is initialized in bsd.pkg.mk.seb1-4/+1
The problem jmc encountered in textproc/groff and leading him to add it here was fixed in groff package itself.
2003-07-31Need to define USE_MAKEINFO before testing against itjmc1-1/+4
2003-07-31Sync comments with reality (Trilogy, volume 5).seb1-5/+4
2003-07-31Make it possible to have a package requiring makeinfo but not install-info.seb3-19/+18
INFO_FILES is now defined by default to the empty value. If it is not empty it means that install-info -or a suitable replacement like pkg_install-info- is required. USE_MAKEINFO is now defined by default to the 'no' value. If it has any other value it means that makeinfo is required. Note that as before simply defining USE_MAKEINFO in a package Makefile is enough to trigger the use of makeinfo. I.e. it is not required to be '[yY][eE][sS]'. As a side effect when using buildlink2 always create install-info and makeinfo wrappers in ${BUILDLINK_DIR}/bin. This could help package maintainer to catch spurious/hidden install-info and makeinfo usage. Note that for now this nice feature is not really enabled as the relevant part of bsd.buildlink2.mk is still conditional upon USE_NEW_TEXINFO. It will really be when USE_NEW_TEXINFO will be removed from pkgsrc.
2003-07-31Let a package override the name of the automatically generated rc.d scriptjmmv1-7/+8
files inside the WRKDIR. This is done by setting RCD_SCRIPT_WRK.<name> to the requested filename, like: RCD_SCRIPT_WRK.foobar= ${WRKDIR}/foobar.sh This fixes a problem (rc.d script not beeing generated) when there is a name conflict in the WRKDIR (i.e., the file already exists or WRKSRC has the same basename).
2003-07-31include bsd.prefs.mk, since we use ${ECHO}.grant1-1/+3
2003-07-30Modify the build-defs-message target so that it is only printed once, in thejmmv1-2/+7
pre-fetch stage. Do this by creating a cookie file inside the WRKDIR. Also let the user override the target from mk.conf to disable these messages. This fixes PR pkg/22305 by Robert Elz.
2003-07-30If a HEADER file exists in the package directory, then assume it's meantjlam1-1/+5
for the HEADER_EXTRA_TMPL variable.
2003-07-30Allow package Makefiles to insert a supplementary header to thejlam1-1/+4
INSTALL/DEINSTALL scripts via HEADER_EXTRA_TMPL, that is meant to contain variable definitions to be used by the various actions.
2003-07-30Rename sandboxDirs to sandboxMountDirs.seb1-14/+12
Introduce sandboxEmptyFiles a list of files to create empty in the sandbox if they exist on the hosting system. Hence put /var/run in sandboxEmptyDirs list. Use $cppprog instead of cp.
2003-07-30Whitespace.seb1-2/+1
2003-07-29Introduce sandboxEmptyDirs a list of directories to create emptyseb1-5/+14
in the sandbox if they exist on the hosting system: put /var/spool/mqueue as it was already created before and add /var/log for now (needed for various packages, like security/ssh2). Only create /var/run/utmp(x) if they exist on the hosting system. XXX this may better be an opsys dependent action.
2003-07-29Follow the trend started by jmmv@. Thanks Julio!seb1-7/+1
Remove IRCD_HYBRID_DPATH from bsd.pkg.defaults.mk and BUILD_DEFS, set PKG_SYSCONFSUBDIR to 'ircd-hybrid' instead: the package builder is now expected to adjust Ircd Hybrid configuration directory with PKG_SYSCONFBASE(.${PKG_SYSCONFVAR}). Replace local DOC_SUBST stuff with FILES_SUBST from bsd.pkg.install.mk. Go with the previous PKGREVISION bump. XXX Having the log files as SUPPORT_FILES is not optimal. XXX I really should update this package.
2003-07-29Go one step further: turn CANNA_GROUP and CANNA_USER build definitions andjmmv1-1/+11
handle the group and the user they specify with bsd.pkg.install.mk. In fact, these variables were already changeable.
2003-07-29Use PKG_SYSCONFDIR when setting the default value for IRCD_HYBRID_DPATH.jmmv1-2/+2
2003-07-29Apply pkgsrc-wip/wip/jdk1x_java-vm.mk.diff to add support for thewiz1-3/+21
jdk12 and jdk13 packages from pkgsrc-wip.
2003-07-28Indent cpp-like statements properlyagc1-7/+7
2003-07-28Add the build-defs-message target, which shows a list of all variables thatjmmv1-1/+26
can be customized for the package beeing built. This list is extracted from the contents of BUILD_DEFS, and the message is not shown if it's empty. Each variable is printed together with its actual value. The new target is called in the pre-fetch stage, so it's shown early to the user.
2003-07-27Introduce the MPLAYER_DISABLE_DRIVERS variable, which holds a list of "drivers"jmmv1-1/+7
that are not wanted in the binary program. It is empty by default, so that all drivers are linked in to get a full featured binary package. Packages using this variable include mplayer and gmplayer. While building mencoder, disable all of these drivers, as they are not needed. Bump PKGREVISION. arts is now a enabled if not present in the variable. This detail closes PR pkg/21775 by Marc Recht.
2003-07-26SDL_USE_NAS deprecated by the new audio/SDL-nas plugin.jmmv1-6/+1
2003-07-25- fix bug that gave an invalid entry in the homepage field when there isdmcmahill1-3/+13
no listed homepage. Thanks to Grant Beattie for noting this and providing a patch which I changed slightly. - fix a bug which put extra stuff in the categories field. Thanks to Grant for noting this.
2003-07-25replace the -u and -d options to tflat with 'up' and 'down' as the formerdmcmahill2-11/+11
causes problems with some awks. Patch provided by Jonathan Perkin in PR pkg/22246
2003-07-24- add HOMEPAGE as the last field in the INDEX file.dmcmahill2-35/+25
- make the paths be relative to PKGSRCDIR as opposed to absolute. - some cleanup/simplification of the awk code.
2003-07-23Mark all targets that do not correspond to real files with the .PHONYjmmv1-4/+127
attribute.
2003-07-23Use PKG_SKIP_REASON instead of PKG_FAIL_REASON here if qualifications aren'tjmc1-5/+5
met. The same message gets to the user but now it won't show a package as broken on bulk builds that really is simply unavaiable on a given platform
2003-07-23If CPP is set (via sys.mk) and not fully qualified in it's pathname, reset itjmc1-1/+5
to the fully qualified path name to avoid rpcgen bugs with undocumented usage of CPP.
2003-07-23rework the INDEX file generation. The new approach speeds up things bydmcmahill2-3/+408
several orders of magnitude and 'make index' now takes 30 minutes or so instead of several days on my test machine. The approach now is to take one pass through every package and extract some key information including the explicitly listed dependencies. After the data is extracted, the dependencies are flattened in one step which avoids the extremely inefficient recursive make that was previously used.
2003-07-22Add locale directories: af, tg, th; used by xmms.jmmv13-13/+145
2003-07-22Ignore any errors from ldd when calculating reuires and providesagc1-2/+2
2003-07-22As part of the build information, record the full pathnames of theagc1-1/+24
shared object "provides" and "requires" information. This is only turned on just now if ${CHECK_SHLIBS} is set to "YES". Example output: % pkg_info -B libutf | grep '^PROVIDES' PROVIDES=/usr/pkg/lib/libutf.so.2 % pkg_info -B ssam | grep '^REQUIRES' REQUIRES=/usr/lib/libc.so.12 REQUIRES=/usr/pkg/lib/libutf.so.2 %
2003-07-22Sync comments with reality wrt to USE_MAKEINFO == "no".seb1-2/+2
2003-07-22Include "../../mk/bsd.prefs.mk" to make sure PKGPATH is defined.kristerw1-1/+3
2003-07-21Add locale directories: fo, nso, ven, xh, xx, zu; all used by kopete.jmmv13-13/+325
2003-07-19- fix comment about what shows up in the index file.dmcmahill1-2/+5
- add ONLY_FOR_ARCHS and NOT_FOR_OPSYS to the list of variables that goes in the print-summary-data output. This is the first step in speeding up the 'make index' process.
2003-07-18only include gcc.buildlink2.mk if we are not using the MIPSpro or SunProgrant2-8/+8
compiler. don't include the buildlink2.mk of the gcc package being built.
2003-07-17Introduce CUE_USE_CANNA, which determines whether to enable Canna support.uebayasi1-1/+6
Default is NO. This addresses PR19010 by Takashi Yamamoto.
2003-07-14"make update" works fine for me with SPECIFIC_PKGS=1, so enable it and the ↵bad1-1/+2
"clean-update" target.
2003-07-13move gcc selection back to bsd.pkg.mk as the top-level Makefilegrant2-16/+16
includes bsd.prefs.mk.
2003-07-13don't set USE_GCC2 by default as it implies the use pkgsrc gcc2, andgrant2-20/+14
move handling of gcc shared libraries to bsd.prefs.mk.
2003-07-13when creating the buildinfo file, set CC=${CC} without the versiongrant1-3/+6
information, and set CC_VERSION appropriately by trying -v and -V args. works for gcc2, gcc3 and SunPro, may need tweaking for MIPSPro.
2003-07-12When generating a perl packlist, strip all leading slashes.wiz1-3/+3
From Sergey Svishchev in PR 21754.