summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
2004-05-08If using GNU_CONFIGURE then set --infodir to ${PREFIX}/${INFO_DIR}.reed1-1/+4
I have used this successfully to install over 300 info files using INFO_DIR=share/info. Also add new variable called NO_CONFIGURE_INFODIR (as suggested by Greg Woods) because some autoconf-style configure scripts don't know --infodir. (The alternative is to use HAS_CONFIGURE and add the needed CONFIGURE_ARGS.) Please note that the info tool may not find custom INFO_DIR unless it is configure to know it. (I will update gtexinfo for this, but if using native info you are on your own if you customize this.)
2004-04-27Add a new install macro INSTALL_LIB for use when installing librariestv1-1/+7
(mainly intended for shlib use, but for homeful use on all libraries so that currently static libs can be "provisioned" for future shlib use).
2004-04-27Move the inclusion of tools.mk ahead of bsd.buildlink3.mk so that tools.mkjlam1-3/+3
can include buildlink3.mk files. This change also causes work/.tools/bin to appear after work/.buildlink/bin in the PATH, but we never relied on this behaviour, so this side-effect should have no impact.
2004-04-26Allow perl-thread to also be acceptable when USE_PERL5 is defined.jlam1-2/+2
2004-04-26ROOT_USER is parameterized, so use it in human-readable printed messagestv1-4/+4
as well.
2004-04-25Make sure PKGDIRMODE is always set in bsd.prefs.mk so it can be checkedtv1-2/+1
in lang/perl58/Makefile. (It had been set previously only in bsd.pkg.mk.)
2004-04-24flow.dl.sourceforge.net has been unreachable for a while now, due togrant1-2/+2
what appears to be a routing loop. comment it out for the moment.
2004-04-23Rather than work around an automake braindeadness, parameterize install-shtv1-2/+2
so that Interix can set the default mode to 0775. Then add "install_sh" to CONFIGURE_ENV so it uses ${INSTALL}, not the package-supplied install script (as is done for autoconf $INSTALL).
2004-04-23add an ${INSTALL_UNSTRIPPED} variable that can be used to blockdanw1-1/+6
${_STRIPFLAG_INSTALL}
2004-04-22Automake has done it again with this amazing variable that CONFIGURE_ENVtv1-1/+2
can't change at configure time. "mkdir_p" is now used by automake in place of the traditional autoconf "INSTALL_DIR". Override mkdir_p in MAKE_FLAGS, if GNU_CONFIGURE is set, with ${INSTALL_DATA_DIR}.
2004-04-17Add VIEWBASE to SCRIPTS_ENV. This fixes the problem that pkgviewsminskim1-2/+3
packages using imake install files into X11BASE instead of PREFIX.
2004-04-16Add another fix to previous; reverse the lines in the output. Fromtv1-2/+5
pkg_delete, recursion is depth-first, which is wrong for "make update". Instead, make sure that "closer" dependencies are at the top of the file.
2004-04-15Provide a quick fix for PR pkg/25187 so that "make update" DTRT withtv1-2/+2
dependencies again. This is not a good long term solution; I'm still working on that as an option to pkg_info to recurse the dependency tree.
2004-04-14Only do the dirs.mk dance when PKG_INSTALLATION_TYPE is overwrite.jmmv1-2/+3
The -dirs packages are simply useless in a pkgviews world.
2004-04-14Rework the way to use the -dirs packages (ATM, xdg-dirs, xdg-x11-dirs,jmmv1-1/+5
gnome1-dirs and gnome2-dirs): - Introduce a global USE_DIRS variable, which takes pairs of names and versions. For example, an xdg-1.1 value will request the use of the xdg-dirs package, at least version 1.1. This variable must always be appended to. If there are duplicates with different versions, the one with the higher number will be picked up. - Introduce the mk/dirs.mk file, which is automatically included by bsd.pkg.mk when USE_DIRS is not empty. It parses the variable's value and includes the required dirs.mk files, present in each -dirs package. - For each -dirs package, add a dirs.mk file that defines a variable holding the list of directories provided by it, adds a dependency on that package, and modifies the PRINT_PLIST_AWK variable to output comments for the directories handled by it. - Drop some Makefile.common files that only make things difficult and more confusing now (in favour of the new dirs.mk files). The only thing to worry about is to keep version numbers consistent across xdg-* and gnome*-* packages, but that will be easier to handle. The main reason for this change is to be able to modify PRINT_PLIST_AWK in a clean way, but I hope this will improve clarity too. Also, this simplifies the addition of future -dirs packages (if needed) in a consistent way.
2004-04-12Introduce support for the PRINT_PLIST_AWK variable. This can be used tojmmv1-2/+5
provide extra awk expressions that are used while generating the PLIST with the print-PLIST target (before the final 'print' is done), so that it is closer to reality. Ok'ed by wiz@ and hubertf@.
2004-04-11egrep -x 'RE'jschauma1-3/+3
is the same as egrep '^RE$' Not all egrep's know the '-x' flag, so use the latter.
2004-04-07Convert "${ECHO} -n" to "${ECHO_N}", and introduce that into the defs.*tv1-29/+29
files. On most platforms this resolves back to "${ECHO} -n".
2004-04-05Support DEPENDS_TARGET="install clean"; from Allan Barrett inxtraeme1-7/+7
PR pkg/25059.
2004-04-03To view the license, use "${MAKE} show-license" not "make show-license".reed1-2/+2
This is consistent with other messages shown to user.
2004-04-02Undo implicit recursive package registration. The buildlink[23] system istv1-18/+4
already taking care of this where it's truly needed. OK'd by agc.
2004-03-31Get rid of dd workaround for old paxes (last seen in NetBSD before 1.5;wiz1-6/+4
bootstrap pax doesn't need it either). Closes PR 18814 by Greg A. Woods.
2004-03-31if NO_BUILD is defined, default to an empty USE_LANGUAGES.grant1-1/+6
2004-03-31tweak whitespace in commentgrant1-2/+2
2004-03-31fix comment about needing patch(1).grant1-2/+2
2004-03-29Use X11_TYPE check instead of USE_PKGSRC_XFREE86. It's safe to use thejlam1-8/+8
value of X11_TYPE here since it's defined in bsd.buildlink3.mk which is included before this check. This fixes breakage for packages that set USE_X11 due to USE_PKGSRC_XFREE86 not being defined before it's used.
2004-03-29Make lang/perl58 the default perl package installed when a package needsjlam1-16/+2
Perl as a dependency.
2004-03-29Set DFLT_PKG_SYSCONDIR to the location that PKG_SYSCONFDIR would havejlam1-20/+20
been set to if it hadn't been overridden by PKG_SYSCONFDIR.<pkg>. This can be used in /etc/mk.conf to re-override certain PKG_SYSCONFDIR.<pkg> in /etc/mk.conf from various package Makefiles, e.g. PKG_SYSCONFDIR.openssl= ${DFLT_PKG_SYSCONFDIR} PKG_SYSCONFDIR.tcp_wrappers= ${DFLT_PKG_SYSCONFDIR}
2004-03-27wrap a long line in BUILD_DEFS output, tweak the message slightly.grant1-3/+4
2004-03-22Due to the special handling of pkgtools/digest in pkgsrc (it must bejlam1-11/+18
installed before the normal dependency checks), on a system without any packages installed, we can run into the problem where digest won't install because it has already been installed as part of installing a build dependency. This can happen if, e.g., PKGSRC_COMPILER is set to "ccache gcc", and you try to build devel/gmake. Change the way that the uptodate-digest target installs pkgtools/digest by ensuring that pkgtools/digest is deinstalled just before installing it.
2004-03-19When using imake and buildlink together, assert our definitions ofdanw1-1/+4
CC and CXX on the make command line, in case imake's definitions use complete paths (which would get around the buildlink wrappers)
2004-03-17fix a file descriptor leak in the darwin PLIST so->dylib translationdanw1-3/+5
script that broke packages that installed too many shared libraries (eg libwww).
2004-03-13Test was reversed.jlam1-2/+2
2004-03-13If USE_DIGEST is "no", then skip the check for an up-to-date digest.jlam1-1/+7
XXX These changes should be removed once we have a working XXX pkgsrc/bootstrap.
2004-03-13Discard unused error messages from "pkg_admin pmatch".jlam1-2/+2
2004-03-11Get rid of all occurrences of cpp-like tests for ${OPSYS} inagc1-8/+4
bsd.pkg.mk, and use the abstracted means of determining generic shared lib type per operating system.
2004-03-11Interix libs are close enough to ELF that only file(1) knows the difference.tv1-1/+3
Call it ELF.
2004-03-11Use ${DO_NADA} to introduce a do-nothing line (as is done elsewhere intv1-11/+12
pkgsrc); simply # makes older bmake hork up in combination with some shells.
2004-03-09Change LIBTOOL_REQD to recent libtool version, 1.5.2nb4. (Thisreed1-2/+2
libtool-base includes "Fix version_type settings for the non-NetBSD platforms in the CXX and F77 cases." And "Pull in the fix for the symlink vulnerability.") Several packages have been changed to reflect the better libtool-base, but old LIBTOOL_REQD allowed old 1.4.2 version. So new packages had wrong library versioning like: libasprintf.so.0.0, libsvn_delta-1.so.0.0, and libXrender.so.0.0. Okayed by wiz@.
2004-03-09Remove "ftp.gwdg.de" from "MASTER_SITE_GNU" because its mirror istron1-2/+1
apparently not updated any more.
2004-03-02extend REPLACE_INTERPRETER to accept shell wildcardsdrochner1-3/+5
2004-02-28need to escape ) in the awk regex in do-config-status-override target;jdolecek1-2/+2
some pickier awks (e.g nawk) refuse the regex otherwise
2004-02-27Instead of wrapping the config.status script, edit it directly to preventjlam1-16/+8
--recheck from re-executing the configure script by inserting "exit 0" judiciously. This works with configure scripts generated by autoconf>=2.13 and fixes problems with running config.status on Solaris systems where /bin/sh isn't POSIX enough.
2004-02-25s/netbsd.org/NetBSD.org/, s/freebsd.org/FreeBSD.org/grant1-8/+8
2004-02-21Rename PATH_ENV to BUILD_ENV, which better expresses what it's for.jlam1-9/+12
BUILD_ENV is used to set the environment for the sub-make processes that are invoked for each phase after and including buildlink.
2004-02-18* Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.jlam1-8/+11
Package Makefiles may now directly include compiler.mk. * Don't include compiler.mk within bsd.prefs.mk any longer. It was only included for the purposes of defining CC_VERSION. Packages that want to test the value of CC_VERSION should now first include "../../mk/compiler.mk". Any GCC_REQD statements in package Makefiles should be set before compiler.mk is included. * Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to be included indirectly by bsd.prefs.mk. We remove the special handling associated with detecting whether the file was included from within bsd.prefs.mk. These files are now much more straightforward to write and understand. * G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*) no longer need it. * Ensure that directories are prepended to the PATH only from within bsd.pkg.mk.
2004-02-17G/C the unused GNU_MISSING_OVERRIDE logic, as we don't need it anymorejlam1-14/+1
after the changes in revision 1.27 of tools.mk to hide the auto* tools between pre-configure and do-configure.
2004-02-16Be less aggressive about overriding all of the functionality ofjlam1-4/+15
config.status. Instead, only block "config.status --recheck", which re-executes the GNU configure script. This still allows config.status to overwrite post-configure changes to Makefiles and config.h files, so those changes should (properly) be applied to Makefile.in and config.h.in instead.
2004-02-16Handle compressed info files in PLIST handling.seb1-4/+5
2004-02-16Quote '+' in awk regexp related to PLIST and INFO_FILES.seb1-3/+3
As seen in devel/libg++ with its libg++.info file...