summaryrefslogtreecommitdiff
path: root/mk/configure
AgeCommit message (Collapse)AuthorFilesLines
2017-03-06Update libtool packages to 2.4.6.jperkin1-1/+5
Changes since 2.4.2 are too numerous to mention, with over 4,700 lines in the ChangeLog file. However, this release does at least fix a large number of build failures on SmartOS, and doesn't appear to cause any obvious regressions in bulk builds performed by Joerg and myself. Some pkgsrc cleanups while here, including merging the MirBSD patches correctly. It couldn't be made much clearer how to properly integrate patches here to ensure they are not lost. Next time you might not be so fortunate!
2016-10-21Add support for overloading CMAKE_INSTALL_PREFIXkamil1-2/+7
By default CMAKE_INSTALL_PREFIX points to PREFIX, but some software requres custom subprefix. At least blender and brlcad are in this category. To set new prefix it's sufficient to set CMAKE_INSTALL_PREFIX in a package, for example (in brlcad): CMAKE_INSTALL_PREFIX=${PREFIX}/brlcad Reviewed by <joerg> and <jperkin>.
2016-02-24Remove overrides for OPENAL_INCLUDE_DIR and OPENGL_INCLUDE_DIR. Thesejperkin1-3/+1
conflict with pkgsrc versions of those packages, and do not interact well with the wrappers anyway as cmake will perform simple file-based tests for headers but the compiler will be unable to find them.
2016-02-23Add a new override mechanism for depcomp, similar to the existingjoerg1-5/+33
overrides for libtool. This allows us to easily get the fixed version from our libtool in place without having to hunt down for the specific bugs in random places. Disable the override explicitly in clisp, which installs a copy without explicitly depending on libtool at run time.
2015-05-04Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to thejoerg1-3/+3
wrapped version by full path. This fixes some cases where the wrappers have been bypassed. lang/lua52 triggered the investigation as it failed to link against libreadline, which should have been translated to libedit. Tested by jperkin and myself with full bulk builds.
2014-09-06Introduce CMAKE_USE_GNU_INSTALL_DIRS,obache1-5/+13
If set to yes, set GNU standard installation directories with pkgsrc configured settings for cmake GNUInstallDirs module. The default is yes.
2014-08-23Add CMAKE_PREFIX_PATH variable that can be used by packages that installwiz1-1/+13
their files in non-standard locations (e.g., qt5). From Niclas Rosenvik.
2014-08-23Prevent to update timestamp of configure script with pkgsrc specific override.obache1-1/+3
It may be triger of unwanted rebuild.
2014-07-21iRename SUBST_CLASS to _pkgconfig (adding a '_') to avoid conflictswiz1-8/+8
with packager-chosen prefixes (as with portaudio-devel recently).
2014-01-28Introduce HAS_CONFIGURE_LIBDIR and GNU_CONFIGURE_LIBDIR for gnu configureobache1-6/+16
--libdir handling, same as for --mandir and --infodir. Currently, HAS_CONFIGURE_LIBDIR=no by default unless libdir related variables are set, but it will be switched to "yes" after all packages have been checked (and SET_LIBDIR will be deprecated).
2013-10-13Remove config.rpath override file and related code.wiz1-11/+6
This file is from libtool-1.x, which is not in pkgsrc any longer (using libtool-2.x since 2009). Also, it was only used for packages using autoconf-2.13 AND libtool; I found three packages in pkgsrc with that combination, and all of them still build on NetBSD-6.99.24/amd64 after this change.
2013-10-08tell PKGMANDIR, PKGINFODIR and PKGLOCALEDIR to cmake.obache1-1/+8
2013-08-31_PKG_DEBUG and _PKG_SILENT have been deprecated since 2007.rillig1-3/+2
2013-06-12Remove GNU_CONFIGURE_LIBDIR.wiz1-7/+4
Rationale: undocumented, easily replaced with "CONFIGURE_ARGS+=--libdir=" and only used by 10 packages.
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