aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.autotools.mk
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling mistakeKubilay Kocak2013-09-011-1/+1
| | | | | | | Reported by: danfe (with hat: aspell) Notes: svn path=/head/; revision=325841
* Document the LIBTOOLIZE_ARGS variableKubilay Kocak2013-08-311-0/+3
| | | | | | | Approved by: bdrewery (portmgr) Notes: svn path=/head/; revision=325801
* - Update devel/automake to 1.14Ade Lovett2013-07-161-3/+6
| | | | | | | | | | | | | | - Update devel/gettext to 0.18.3 - Fix known-broken (from exp-runs) ports - Clean up a lot of cruft in the devel/gettext port itself, based on work from tijl@ PR: 178883 Submitted by: ade Sponsored by: Wadsworth 6X Notes: svn path=/head/; revision=323088
* Update to 1.12.6Ade Lovett2012-12-191-1/+1
| | | | Notes: svn path=/head/; revision=309265
* Update to 1.12.5Ade Lovett2012-12-121-1/+1
| | | | Notes: svn path=/head/; revision=308778
* Update to 1.12.4Ade Lovett2012-09-201-1/+1
| | | | Notes: svn path=/head/; revision=304593
* Update to 1.12.3Ade Lovett2012-08-171-1/+1
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=302689
* Update to 1.12.2 (feature safe from 1.12.1, no -exp required)Ade Lovett2012-07-101-1/+1
| | | | Notes: svn path=/head/; revision=300737
* Update to 1.12.1 (essentially a no-op with some bugfixes)Ade Lovett2012-06-281-1/+1
| | | | Notes: svn path=/head/; revision=300146
* - Remove emacs mode, -*- mode: ...; -*- [1]Martin Wilke2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | - Comments for BUILD_ and RUN_DEPENDS fail to mention alternate means to specify dependencie [2] - Fix make reinstall [3] - Trivial comment change for PORTDATA [4] PR: 151954 [1] 161314 [2] 167085 [3] 167465 [4] Submitted by: Anonymous <swell.k@gmail.com> [1] dougb@ and Chris Rees <utisoft@gmail.com> [2] Garrett Cooper <yanegomi@gmail.com> [3] "Bryan Drewery" <bryan@shatow.net> [4] Tested via: phw Notes: svn path=/head/; revision=297274
* Update autoconf to 2.69 and automake to 1.12Ade Lovett2012-05-111-3/+3
| | | | | | | | PR: 166836 Tested by: Multiple -exp runs (pav) Notes: svn path=/head/; revision=296454
* Update to libtool 2.4Ade Lovett2011-02-251-2/+2
| | | | | | | Tested by: pav (multiple -exp runs) Notes: svn path=/head/; revision=269656
* As the final (for now) cleanup of autotools, in order to reduce treeAde Lovett2010-12-221-15/+28
| | | | | | | | | | | | | | | | | | churn on new versions, a new target has been introduced to allow PLIST_SUB-style patching of files. For example, rather than patching "foo/bar/baz" to tweak some random occurance of an autoconf version number to the latest, the patch should now replace it with %%AUTOCONF_VERSION%% A new Makefile variable, AUTOTOOLSFILES has been introduced, which when populated will automatically go through and patch %%AUTOCONF_VERSION%% to the contents of ${AUTOCONF_VERSION} (and likewise for all other known autotools variables -- "make -V AUTOTOOLS_VARS" to see the list for a specific port. Tested by: pav (-exp run, since it touches bsd.port.mk also) Notes: svn path=/head/; revision=266736
* Clean up "current" versions of autotools components to further reduceAde Lovett2010-12-081-4/+4
| | | | | | | tree-churn on updates. Notes: svn path=/head/; revision=265861
* Rework bsd.autotools.mk now that we have a single legacy autoconf/automakeAde Lovett2010-12-041-184/+256
| | | | | | | | | | | | | | | | | | | | | (2.13/1.4) and an up-to-date version. USE_AUTOTOOLS stanzas have now been changed to remove the specific version number of the current version, for example: autoconf:213 -> autoconf213 automake:14 -> automake14 autoconf:268 -> autoconf automake:111 -> automake This will considerably reduce tree-churn when it comes to new versions of the "current" autotools, allowing for quicker deployment. Tested by: -exp runs (pav) Hatemail to: ade Notes: svn path=/head/; revision=265661
* Revert previous, bogus commit. Sorry!Gerald Pfeifer2010-08-071-3/+3
| | | | Notes: svn path=/head/; revision=258865
* Disconnect lang/gcc43, that is, USE_GCC=4.3 is not supported any longer.Gerald Pfeifer2010-08-071-3/+3
| | | | Notes: svn path=/head/; revision=258864
* - Add ability to run libtoolize by defining USE_AUTOTOOLS=libtoolize in the portPav Lucistnik2010-04-051-3/+18
| | | | | | | | PR: ports/138139 Submitted by: bz Notes: svn path=/head/; revision=252268
* Also assign this file to the new autotools mail reflector, and change theMark Linimon2009-12-281-3/+4
| | | | | | | | | boilerplate comment to match the various ports. Hat: portmgrt Notes: svn path=/head/; revision=246773
* Add libtool>=2.2, that way it will stop from anyone to try to install anyJeremy Messenger2009-08-191-1/+1
| | | | | | | | | | ports that are with libtool22 while users have libtool15 installed. It will stop the check dependency and tell you to update your libtool first. Approved by: portmgr Notes: svn path=/head/; revision=239921
* -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.Jeremy Messenger2009-08-021-3/+3
| | | | | | | | | | | | | | | | | | | | | -Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING. It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop and applications in the runtime. With help: marcus and kwm Pointyhat-exp: a few times by pav Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and a few MarcusCom CVS users. Also, I might have missed a few. Repocopy by: marcus Approved by: portmgr Notes: svn path=/head/; revision=238781
* Update to the autotools new world order.Ade Lovett2007-07-281-48/+37
| | | | | | | | | Tested by: numerous package build runs Approved by: portmgr Thanks to: des, kris, linimon, pav Notes: svn path=/head/; revision=196437
* Add missing target ordering when make -j1 is used (this should be a NOP)Pav Lucistnik2007-06-161-0/+2
| | | | | | | | | Noticed by: gibbs Submitted by: kris Tested by: bento amd64 exprun Notes: svn path=/head/; revision=193684
* I do not appreciate the attempt to play politics with the reassignment ofMark Linimon2007-03-271-1/+1
| | | | | | | | | | maintainership of these two files. I insist that further commits be run through portmgr@ first. Hat: portmgr Notes: svn path=/head/; revision=188436
* Take maintainership.Jean-Yves Lefort2007-03-271-1/+1
| | | | | | | Approved by: maintainer timeout (16 days) Notes: svn path=/head/; revision=188432
* [1] Introduce COPYTREE_BIN and COPYTREE_SHARE macrosPav Lucistnik2007-03-241-2/+3
| | | | | | | | | | | | | | | | [2] Fix ECHO_CMD/ECHO_MSG usage in bsd.port.mk [3] Move bsd.efl.mk to ports/Mk [4] Change LIBTOOLFILES default to ${CONFIGURE_SCRIPT} [5] Whitespace sweep [6] Add WWWDIR variable with default value of ${PREFIX}/www/${PORTNAME} PR: ports/100996 [1], ports/100556 [2], ports/100497 [3], ports/104009 and ports/104018 [5], ports/105529 [6] Submitted by: stass [1] [3], gabor [2], pav [4], edwin [5], laszlof [6] Approved by: ade [4] Notes: svn path=/head/; revision=188170
* Whitespace fixAde Lovett2006-12-041-1/+1
| | | | | | | | PR: 104010 Submitted by: edwin Notes: svn path=/head/; revision=178787
* * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*Mark Linimon2006-07-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | forms are retained for compatibility but deprecated [1] * Add sha256 to CHECKSUM_ALGORITHMS [2] * Remove some whitespace [2] * Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3] * Fix USE_LDCONFIG with non-default PREFIX [4] * Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets support [5] * Add 'make missing' to show missing dependencies [6] * Fix DESKTOP_ENTRIES processing on 4.x [7] PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5], 93601 [6], 98891 [7] Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3], gerald [4], flz [4], alepulver [5], alex at fafula dot com [6], shaun [7] Notes: svn path=/head/; revision=166954
* Conversion to a single libtool environment.Ade Lovett2006-02-231-42/+20
| | | | | | | | | | | | | | | | | | | | | * devel/libtool13 is no more (requiem mors pacem) * devel/libtool15 now installs as ${LOCALBASE}/bin/libtool etc. (ie: no versioning on the binaries and scripts) * USE_AUTOTOOLS= libtool:XX:inc has been deprecated Where possible, ports should simply set GNU_CONFIGURE=yes and use the pre-packaged version of libtool that comes as part of the source distribution * all the legacy hacks to libtool that we have been saddled with over the years have been removed. (eg: .la files are now installed) This brings us in line not only with Linux distributions, but also pkgsrc. * libtool now understands, and correctly handles, "nonstandard" compilers such as g++34, gcc295, etc. etc. This could not have happened without the truly outstanding work from kris, not only putting up with me, but also running countless builds, both on dosirak and pointyhat. I am truly indebted to him. Sponsored by: Theakston Old Peculier, Marlboro Red, Cafe de Colombia Approved by: portmgr (kris) Notes: svn path=/head/; revision=156752
* - Fix 'all-depends-list' target in cases if dependencies list isKirill Ponomarev2006-01-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | very long and if some dependencies can't be added into the list. [1] - Fix FAM support. Make gamin the default FAM system. [2] - Introduce new 'quicksearch' target to show only port, path and info section of the matching ports. [3] - Introduce new category - rubygems. [4] - Fix stale dependencies while installing qmail slaveport and another port that depends on qmail. [5] - Add commentary for describes target in bsd.port.mk. [6] - Fix warning issued during make index on archs !368. [7] - Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from all files under ${WRKSRC}. If set to a string, remove in all files under ${WRKSRC} with one of these names the ^Ms. [8] - Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by checking the existance of the Perl modules with the "perl -e 'use module;'" command. [9] - Fix bsd.port.mk variable quoting issues. No quoting is necessary anymore either in the Makefile or on the command line. Affected variables include: BROKEN FORBIDDEN IGNORE MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED [10] - Add NOFETCHFILES variable. If set, don't download these files from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from ${MASTER_SITE_OVERRIDE}). [11] - Improve 'search' target output. [12] - Add a new virtual category for Amateur Radio - hamradio. [13] - Cleanup some old/unused pathes in bsd.port.mk. [14] - Add @dirrmtry for plists which does the same as: "@unexec rmdir %D/foo 2>/dev/null || true" [15] - Remove virtual category - offix. [16] - Use portsnap instead of cvsup or cvs on "make update" in /usr/ports. [17] - Move location of bsd.autotools.mk within bsd.port.mk [18] - Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19] - Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20] - Replace the string "FreeBSD" by "The FreeBSD Project" in the security warning [21] - Add bsd.local.mk for local modification to ports framework. [22] - Replace rcNG spelling by rc.d [23] - Remove superfluous USE_REINPLACE. [24] Special thanks to: linimon for spending hours with all these patches clement for fixes kris for help with pointyhat PR: ports/86310 [1], ports/89498 [2], ports/83530 [3], ports/83789 [4], ports/84053 [5], ports/86281 [6], ports/87214 [7], ports/87234 [8], ports/87318 [9], ports/87396 [10], ports/87605 [11], ports/87840 [12], ports/88230 [13], ports/88493 [14], ports/88711 [15], ports/88751 [16], ports/89281 [17], ports/89999 [18], ports/90031 [19], ports/90150 [20], ports/90668 [21], ports/91433 [23], ports/88754 [24] Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3], pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7], edwin [8, 9, 11, 15, 21], fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12], Carl Makin <carl@stagecraft.cx> [13], arved [14], NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18], jylefort [19], linimon [22], dougb [23] Notes: svn path=/head/; revision=154065
* As threatened, remove the compatibility shims for autotools, everythingAde Lovett2006-01-051-69/+2
| | | | | | | should now be using USE_AUTOTOOLS. Notes: svn path=/head/; revision=152829
* Fix a couple [1][2] of typos in the autotools warning message.Ade Lovett2005-11-301-1/+1
| | | | | | | | PR: 89754 [1] Submitted by: Vasil Dimov <vd@datamax.bg> [1], barner [2] Notes: svn path=/head/; revision=150069
* Add a pre-everything:: target that will print out appropriate warningsAde Lovett2005-11-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | if a port is still using the old autotools Makefile constructs. For example: *** AUTOTOOLS WARNING for x11/electricsheep This port is using old autotools constructs which wil be disappearing on 1st January 2006 In most cases, this warning can be fixed by removing all the old constructs and replacing them with: USE_AUTOTOOLS= libtool:13 The first line should be easily parseable by portbuild and tinderbox clusters to flag such ports. I'll be doing a few more sweeps of the ports tree to pick up on any such ports over the coming weeks, before turning off the old system and marking the port BROKEN in such cases. Notes: svn path=/head/; revision=148818
* Switch to <target>:: convention for both patch-autotools and run-autotools,Ade Lovett2005-11-191-1/+1
| | | | | | | | to allow for easier overriding of these targets by port Makefiles, if they need to. Notes: svn path=/head/; revision=148768
* Rework the run-autotools target into a series of sub-targets, theAde Lovett2005-11-181-4/+31
| | | | | | | | | | order of which can now be overriden. PR: 86309 (slightly reworked) Submitted by: thierry Notes: svn path=/head/; revision=148752
* Feh. Revert previous commit. Apparently 4.x make(1) doesn'tAde Lovett2005-11-151-1/+0
| | | | | | | understanding .warning. Notes: svn path=/head/; revision=148325
* Now that the mass-conversion is done, print out a helpful messageAde Lovett2005-11-151-0/+1
| | | | | | | | | | | (via .warning) for pending ports etc. that use the Old World Order for autotools. This will turn into a BROKEN message, along with removal of the old shims, on January 1st 2006, or after 5.5-RELEASE, whichever comes first. Notes: svn path=/head/; revision=148324
* Instead of checking to see if USE_AUTOTOOLS_COMPAT is defined, ensure thatJoe Marcus Clarke2005-07-021-1/+1
| | | | | | | | | | | | it is empty. USE_AUTOTOOLS_COMPAT will always be defined, but we don't want to assume that we're using autotools compatibility unless its value is non-null. Previously, the defined check would cause ports using the new USE_AUTOTOOLS scheme to fail. Approved by: ade Notes: svn path=/head/; revision=138329
* Install the new version of bsd.autotools.mk with support for theAde Lovett2005-07-011-137/+160
| | | | | | | | | | | | | | | | | | | | | | | | | | USE_AUTOTOOLS stanza. Full backwards compatibility with the current USE/WANT variables has been maintained via a number of shims which are set to expire on January 1st, 2006. Please do *not* start using USE_AUTOTOOLS in port Makefiles until after 6.0-RELEASE has gone out the door. Once that has happened, I will implement a tree-wide conversion process before 5.5-RELEASE, at which points ports will be free to use the new mechanisms. This change has been extensively locally tested with various large consumers of autotools building with no ill-effects notice. However, there may well be edge cases that need to be taken care of. After discussion with various members of portmgr, it was agreed that this commit could go ahead without an -exp run, but that does not, in my mind, constitute full approval. The responsibility for any breakages caused by this commit are mine, and mine alone. Please do file PRs, or mail me directly, if breakage is noticed, and I will endeavor to fix immediately. PR: 82462 Notes: svn path=/head/; revision=138307
* Remove old, deprecated entry points into bsd.autotools.mk that merelyAde Lovett2005-06-171-12/+0
| | | | | | | | | | flagged a port as BROKEN. Since INDEX builds just fine, it's pretty obvious that all ports have been converted over to the current world order, and this has been the case through at least the lifetime of 5.x, so it's time they went away. Notes: svn path=/head/; revision=137600
* Add USE_ACLOCAL_VER= (automake-version), another entry point intoAde Lovett2005-06-161-3/+23
| | | | | | | | | | | | | | using the various GNU autotools, running "aclocal" at configuration time, prior to any other tools. This should allow a number of ports Makefiles to be cleaned up with respect to their explicit calling of ${ACLOCAL} PR: 41945 (reworked for current reality) Submitted by: Bruce M Simpson <bms@spc.org> Notes: svn path=/head/; revision=137582
* Purge WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUNAde Lovett2005-06-161-62/+15
| | | | | | | | | The versioned autotools are now strictly for building other ports in the tree. Likewise, the gnu- autotools are for runtime dependencies for IDEs, and others, where unmodified cross-platform capabilities are desired. Notes: svn path=/head/; revision=137573
* Remove trailing spaces.Kirill Ponomarev2005-01-091-3/+3
| | | | Notes: svn path=/head/; revision=125940
* Move devel/autoconf->devel/autoconf253 and devel/automake->devel/automake15Ade Lovett2004-08-031-25/+0
| | | | | | | | | | All autotools ports are now truly versioned and do not conflict with each other. This marks the end of "Phase 1" of the autotools updates. Notes: svn path=/head/; revision=115365
* Add some documentation for USE_INC_LIBTOOL_VER.Joe Marcus Clarke2004-07-091-0/+6
| | | | Notes: svn path=/head/; revision=113298
* Apply a big libtool patch to allow porters to use the libtool installed byJoe Marcus Clarke2004-07-091-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the libtoolX ports instead of the one included with each port. Ports that set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of the included version. To restore previous behavior, use the new macro, USE_INC_LIBTOOL_VER. Both macros accept the same argument: a libtool version. For example, to use the ports version of libtool-1.5, add the following to your Makefile: USE_LIBTOOL_VER= 15 To use the included version of libtool with extra hacks provided by libtool-1.5, add the following to your Makefile: USE_INC_LIBTOOL_VER= 15 With this change, ports that had to add additional libtool hacks to prevent .la files from being installed or to fix certain threading issues can now delete those hacks (after appropriate testing, of course). PR: 63944 Based on work by:eik and marcus Approved by: ade (autotools maintainer) Tested by: kris on pointyhat Bound to be hidden problems: You bet Notes: svn path=/head/; revision=113296
* .error -> BROKEN (against my better judgement, but hey ho)Ade Lovett2004-07-011-10/+8
| | | | | | | | PR: 68568 Submitted by: eik Notes: svn path=/head/; revision=112694
* Autotools cleanup. Remove autoconf257 (259), automake17 (18), andAde Lovett2004-07-011-17/+28
| | | | | | | | | | | libtool14 (13/15). PR: 67768 Submitted by: ade Approved by: 4-exp bento runs (thanks, kris!) Notes: svn path=/head/; revision=112679
* Switch over to versioned devel/libltdl15 (from devel/libltdl) afterAde Lovett2004-06-081-4/+4
| | | | | | | repo-copy. Notes: svn path=/head/; revision=111104
* Over the past few weeks, we have been testing the nextAde Lovett2004-06-041-311/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incarnation of ports/Mk/bsd.autotools.mk on the road to bringing at least some semblance of sanity back to this corner of the ports collection. By far and away the easiest way to see the changes will be to view the new file once committed, but here is a summary of the changes: 1. USE_LIBTOOL, USE_AUTOCONF, USE_AUTOHEADER, USE_AUTOMAKE have been fully deprecated. Ports attempting to use these variables after the commit will error out, and most obviously break INDEX generation, with a helpful error message. Instead, ports must now specifically choose the version of any of these tools that they need with the corresponding USE_*_VER variables. Note that these variables understand any and all versions of autotools ports in the tree, there is no longer a need to have specific version numbers hardcoded in the infrastructure of bsd.autotools.mk (as there is now). In particular, this will immediately open up automake18 and autoconf259 for general use and beating. 2. Similarly for WANT_LIBTOOL, WANT_AUTOCONF, and WANT_AUTOMAKE. Again, these have been fully deprecated, and the equivalent WANT_*_VER versions should be used. In order to preserve existing behavior for these variables, please note the 20040314 entry in ports/CHANGES for the appropriate version numbers to use for any ports in the GNATS queue. Both WANT_* and USE_* bring in the relevant tool as a build dependency, and set up a reasonably large number of variables pointing to the right programs to be using in the port. The only difference at the moment, is that USE_* will run an extra autotools-related configuration step, whereas WANT_* merely requests the environment. 3. The helper knob USE_LIBLTDL has been added which currently simply adds a LIB dependency on the libltdl port. 4. Three new variables have been introduced, WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN=yes. These variables will do nothing by themselves (a Work-In-Progress), but if the appropriate autotool version is defined (either through WANT_*_VER or USE_*_VER), this will add the relevant dependency to RUN_DEPENDS. Steps 3 and 4 now essentially negate the need for any kind of direct dependency within a non-autotools port Makefile on devel/autoconf*, devel/automake*, devel/libtool*, and devel/libltdl. PR: 66037 Reviewed by: 4-exp bento cluster Notes: svn path=/head/; revision=110839