summaryrefslogtreecommitdiff
path: root/mk/configure
AgeCommit message (Collapse)AuthorFilesLines
2013-04-18use improved version from apb, works with parallel/paexecmspo1-3/+4
2013-04-02add some tricks to handle #!/usr/bin/env, do please improvemspo1-2/+3
2013-02-22In pkgsrc, 64bit linux libraries should install into lib rather than lib64.markd1-1/+2
Make sure cmake does this.
2012-06-01Fix indent, no functional change.jperkin1-3/+3
2012-02-06Add REPLACE_CSH as a replace interpreter template.sbd1-1/+10
2012-01-26Add SET_LIBDIR variable which if non-empty will set GNU_CONFIGURE_LIBDIR tosbd1-1/+4
the default libdir (and there for be passed to ./configure), this is the best way to deal with the 'lib64' problem on x86_64-linux systems (with most some packages). Also add SET_LIBDIR, GNU_CONFIGURE_LIBDIR, and GNU_CONFIGURE_LIBSUBDIR to _PKG_VARS.gnu-configure
2012-01-17Add the convenience variable GNU_CONFIGURE_LIBSUBDIR.sbd1-1/+4
2012-01-17Add the GNU_CONFIGURE_LIBDIR variable, if defined it will be passed to gnusbd1-1/+5
configure scripts as the value of --libdir. On Linux x86_64 set GNU_CONFIGURE_LIBDIR to ${GNU_CONFIGURE_PREFIX}/lib, this will stop package trying to install into ${PREFIX}/lib64.
2011-09-08Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -iabs1-5/+5
to santise environment
2011-05-20Remove reference to REPLACE_PYTHON -- this file doesn't support itwiz1-2/+1
(look in lang/python/application.mk). Noticed by Rhialto in PR 44868.
2011-01-23Add support for MirBSD to pkgsrc. Patches from Benny Siegert andagc1-1/+46
Thorsten Glaser.
2011-01-12On Mac OS X, use system OpenGL and OpenALadam1-1/+3
2010-10-19On Darwin, libraries need correct install_nameadam1-1/+6
2009-09-12Always set both --host and --build, a number of programs want to usejoerg1-1/+3
a cross-compile like environment otherwise.
2008-11-29One more variable for show-all-gnu-configure.rillig1-1/+2
2008-09-13Tell cmake not to muck with rpath's as it seems to interact badly withmarkd1-1/+2
pkgsrc.
2008-02-13Oops, fixed a typo.rillig1-3/+2
2008-02-13Documented the interface to packages. Renamed the targets to emphasizerillig1-14/+21
that they are private to the current file.
2008-02-07Replaced _PKG_SILENT and _PKG_DEBUG with RUN.rillig7-25/+23
2008-01-04Made the .include directives simpler, since the directory of therillig2-11/+11
including file is always the first in the search path.
2007-12-20remember to close() the "ls -l " exprs, lest we run out of file descriptorsabs1-1/+2
2007-12-18Doing USE_TOOLS+=cmake in the configure stage is too late so move itmarkd1-2/+1
to tools. Also cmake wants cpack to exist in the same directory so toolise it and make cmake and cpack imply each other.
2007-12-12Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it inmarkd3-3/+116
the configure stage of a build (by setting USE_CMAKE=yes).
2007-12-01Removed _INTERACTIVE_COOKIE, after asking on tech-pkg if anyone needsrillig1-3/+2
it. It had only been used to change the "nerrors" variable in bulk builds, but this variable is not used further anyway.
2007-11-28Added keywords for "bmake help".rillig1-1/+2
2007-11-01Moved the pre-configure-checks-hook below do-configure-pre-hook, so thatrillig1-2/+2
REPLACE_INTERPRETER takes place before the portability check. Shell scripts that will use bash anyway do not need to be checked for portability problems.
2007-08-01Begin adding some of the basic, non-intrusive pieces of thejoerg1-1/+4
cross-compile support. - NATIVE_MACHINE_GNU_ARCH, NATIVE_LOWER_ARCH, NATIVE_MACHINE_ARCH, NATIVE_MACHINE_PLATFORM and NATIVE_MACHINE_GNU_PLATFORM work like the counterpars without NATIVE_ prefix. Expansion of NATIVE_LOWER_ARCH and NATIVE_MACHINE_ARCH is enforced early, so that MACHINE_ARCH can be overriden in mk.conf to specify the target architecture. - Provide a default of NO for USE_CROSS_COMPILE. This will be the main switch to activate cross-compiling and adding it now makes it possible to merge more of the patches for specific packages. - Set --build and --host when cross-compiling, the former using the just added variable NATIVE_MACHINE_GNU_PLATFORM. Supported-by: Google SoC 2007 Looks good: jlam@
2007-07-28Add REPLACE_KSH similiar to REPLACE_BASH and REPLACE_SH as thejoerg1-1/+10
CHECK_INTERPRETER bulk build has shown a surprising number of packages using it.
2007-07-25Documented PKGCONFIG_OVERRIDE and PKGCONFIG_OVERRIDE_STAGE.rillig1-1/+12
2007-07-12No longer pass install_sh in the environment to GNU configure scripts.jlam4-9/+61
We fix GNU configure script stupidity by directly replacing the stock install-sh script provided by the software with the BSD install-compatible sysutils/install-sh script. A new package-settable variable comes to life: INSTALL_SH_OVERRIDE is a list of files relative to WRKSRC which should be overridden by the install-sh script from sysutils/install-sh. If not defined or set to "no", then no files are overridden. Possible values: no, defined, undefined. Default value: defined when GNU_CONFIGURE is defined, undefined otherwise. Get rid of the install_sh tool, which is no longer needed.
2007-06-04For GNU-style configure scripts, the environment variable install_shrillig2-3/+8
must point to a shell script (as the name implies), not to a binary.
2007-03-15For all those who are interested in the inner workings of pkgsrc, thererillig2-2/+15
is a new target "show-all" that fits to the existing "debug", "show-tools", "show-vars" targets. It prints a list of the variables that make up the public interface to pkgsrc. Running this target is especially useful if you want to do some things, you know that they must have been implemented but you don't know what it is called. It also shows the "class" of a variable (user-defined, package-defined, system-defined).
2007-03-15Moved the definition of CONFIG_SHELL from gnu-configure.mk to configure.mk.rillig2-6/+11
Improved the documentation.
2007-03-08Better documentation.rillig1-7/+8
2007-03-07Renamed the configure-cookie target to _configure-cookie.rillig2-14/+9
2007-03-01Update SCRIPTS_ENV description.wiz1-3/+3
2007-01-08Added the variable CONFIG_SHELL_FLAGS that is intended to be set to -xrillig1-2/+20
on the command line when nothing else helps. Added the configure-help target that runs configure --help.
2007-01-07Documented OVERRIDE_GNU_CONFIG_SCRIPTS.rillig1-1/+13
2006-11-09Moved the portability checks from the configure/ directory to checks/,rillig3-165/+6
since according to the comment in check/bsd.check.mk, they belong there. Added a new check for all C and C++ header files to make sure they don't contain strings like ${prefix} or ${exec_prefix}, which is currently a problem with sysutils/dbus and has been noticed in PR 35019. This check is disabled by default since I don't know anything about possible false positives, but I plan to enable it for PKG_DEVELOPERs after some testing. Added two names for hooks that are placed in the configure and in the build phase. Now the checks look more like becoming something one could call a framework, sharing a common structure and a documented interface.
2006-11-05Normalized the way test(1) is used. Since I have no idea whether ${TEST}rillig2-9/+9
or [] is better, I have used [ to keep the code shorter. Noticed by wiz.
2006-11-05The config.guess, config.sub and libtool files should also berillig2-8/+8
overwritten when the package-provided files are (possibly dead) symlinks. Since on Mac OS X, ls(1) does not return the status I expected, I investigated a little in the available options of test(1), and found that the "-h" option should be quite portable. So let's try that instead. This fixes PR 34865.
2006-10-29Added a "see also" entry.rillig1-1/+4
2006-10-26PKG_DEVELOPER is a defined check; it doesn't need to equal the string "yes".tv1-2/+2
2006-10-23Added the CHECK_PORTABILITY_SKIP variable that may be defined by packagesrillig2-7/+18
to exclude some files from the portability checks.
2006-10-21If ${WRKSRC} does not yet exist in the configure phase, skip therillig1-1/+2
portability checks. Needed for the emulators/compat?? packages.
2006-10-21Documented a not-so-easily-fixed bug that occurs when stripping commentsrillig1-1/+3
off a line.
2006-10-12Warnings must only be prefixed by a warnings heading, not an errorrillig1-6/+13
heading.
2006-10-12Portability checks, version two.rillig3-31/+107
The actual check has moved into a shell file to allow for nice-looking code. Instead of only the configure scripts, it scans all files whose first line matches "#!*/bin/sh". Therefore the check is run no matter if HAS_CONFIGURE is set or not. Added a warning (not an error) for every use of $RANDOM that is not combined with $$, the process ID. $RANDOM is only implemented by bash and some versions of the ksh.
2006-10-05If a word in a configure script is "#", stop scanning that line forrillig1-1/+3
"test ==".
2006-10-05Replaced "test -f" with "ls". That way, broken symbolic links are alsorillig2-4/+4
replaced with the pkgsrc versions of libtool, config.guess and others.