1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Baptiste Daroussin
91e3a74739 Convert LIB_DEPENDS 2013-12-13 10:44:22 +00:00
Kubilay Kocak
3b2d5f40d0 Fix spelling mistake
Reported by:	danfe (with hat: aspell)
2013-09-01 01:18:05 +00:00
Kubilay Kocak
da52fd1cc7 Document the LIBTOOLIZE_ARGS variable
Approved by:	bdrewery (portmgr)
2013-08-31 12:02:46 +00:00
Ade Lovett
b3b33257e5 - Update devel/automake to 1.14
- 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
2013-07-16 05:42:36 +00:00
Ade Lovett
a2bc5596ff Update to 1.12.6 2012-12-19 20:27:06 +00:00
Ade Lovett
e0b2e9c2be Update to 1.12.5 2012-12-12 18:49:18 +00:00
Ade Lovett
55bc5941f2 Update to 1.12.4 2012-09-20 19:34:53 +00:00
Ade Lovett
95b65cd5f5 Update to 1.12.3
Feature safe: yes
2012-08-17 17:43:59 +00:00
Ade Lovett
2a5dee6af8 Update to 1.12.2 (feature safe from 1.12.1, no -exp required) 2012-07-10 21:14:27 +00:00
Ade Lovett
409e8fee15 Update to 1.12.1 (essentially a no-op with some bugfixes) 2012-06-28 06:19:24 +00:00
Martin Wilke
61d8acdb49 - Remove emacs mode, -*- mode: ...; -*- [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
2012-05-23 08:17:49 +00:00
Ade Lovett
6d726b6c09 Update autoconf to 2.69 and automake to 1.12
PR:		166836
Tested by:	Multiple -exp runs (pav)
2012-05-11 20:38:09 +00:00
Ade Lovett
e0d39220da Update to libtool 2.4
Tested by:	pav (multiple -exp runs)
2011-02-25 06:15:44 +00:00
Ade Lovett
55d09a7758 As the final (for now) cleanup of autotools, in order to reduce tree
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)
2010-12-22 20:04:59 +00:00
Ade Lovett
f584da22ee Clean up "current" versions of autotools components to further reduce
tree-churn on updates.
2010-12-08 19:58:49 +00:00
Ade Lovett
36541b8f2f Rework bsd.autotools.mk now that we have a single legacy autoconf/automake
(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
2010-12-04 07:26:18 +00:00
Gerald Pfeifer
cc3e134f81 Revert previous, bogus commit. Sorry! 2010-08-07 10:58:59 +00:00
Gerald Pfeifer
c7e5571fb1 Disconnect lang/gcc43, that is, USE_GCC=4.3 is not supported any longer. 2010-08-07 10:56:01 +00:00
Pav Lucistnik
e42a337bd9 - Add ability to run libtoolize by defining USE_AUTOTOOLS=libtoolize in the port
PR:		ports/138139
Submitted by:	bz
2010-04-05 20:36:46 +00:00
Mark Linimon
8c864cd2fb Also assign this file to the new autotools mail reflector, and change the
boilerplate comment to match the various ports.

Hat:		portmgrt
2009-12-28 02:47:25 +00:00
Jeremy Messenger
81fa2681be Add libtool>=2.2, that way it will stop from anyone to try to install any
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
2009-08-19 02:26:27 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-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
2009-08-02 19:36:34 +00:00
Ade Lovett
3b3128196e Update to the autotools new world order.
Tested by:	numerous package build runs
Approved by:	portmgr
Thanks to:	des, kris, linimon, pav
2007-07-28 06:33:59 +00:00
Pav Lucistnik
1ada4e152a Add missing target ordering when make -j1 is used (this should be a NOP)
Noticed by:	gibbs
Submitted by:	kris
Tested by:	bento amd64 exprun
2007-06-16 19:03:50 +00:00
Mark Linimon
0383def79b I do not appreciate the attempt to play politics with the reassignment of
maintainership of these two files.  I insist that further commits be run
through portmgr@ first.

Hat:		portmgr
2007-03-27 01:23:57 +00:00
Jean-Yves Lefort
e25341484f Take maintainership.
Approved by:	maintainer timeout (16 days)
2007-03-27 00:34:04 +00:00
Pav Lucistnik
65e107ab69 [1] Introduce COPYTREE_BIN and COPYTREE_SHARE macros
[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]
2007-03-24 14:02:06 +00:00
Ade Lovett
076c63ddd5 Whitespace fix
PR:		104010
Submitted by:	edwin
2006-12-04 01:07:25 +00:00
Mark Linimon
e2d64eefa6 * Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
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]
2006-07-05 02:18:09 +00:00
Ade Lovett
707f16d6ae Conversion to a single libtool environment.
* 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)
2006-02-23 10:43:34 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
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]
2006-01-21 17:37:14 +00:00
Ade Lovett
64d283b01f As threatened, remove the compatibility shims for autotools, everything
should now be using USE_AUTOTOOLS.
2006-01-05 21:05:30 +00:00
Ade Lovett
ad4a295b89 Fix a couple [1][2] of typos in the autotools warning message.
PR:		89754 [1]
Submitted by:	Vasil Dimov <vd@datamax.bg> [1], barner [2]
2005-11-30 18:21:38 +00:00
Ade Lovett
6a53d41a22 Add a pre-everything:: target that will print out appropriate warnings
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.
2005-11-19 22:04:25 +00:00
Ade Lovett
c2d62ca97a Switch to <target>:: convention for both patch-autotools and run-autotools,
to allow for easier overriding of these targets by port Makefiles, if
they need to.
2005-11-19 06:02:20 +00:00
Ade Lovett
7248fd146f Rework the run-autotools target into a series of sub-targets, the
order of which can now be overriden.

PR:		86309 (slightly reworked)
Submitted by:	thierry
2005-11-18 23:21:49 +00:00
Ade Lovett
8f92d87d66 Feh. Revert previous commit. Apparently 4.x make(1) doesn't
understanding .warning.
2005-11-15 06:58:03 +00:00
Ade Lovett
6a96cb96ca Now that the mass-conversion is done, print out a helpful message
(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.
2005-11-15 06:54:39 +00:00
Joe Marcus Clarke
328194eb2d Instead of checking to see if USE_AUTOTOOLS_COMPAT is defined, ensure that
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
2005-07-02 05:02:24 +00:00
Ade Lovett
39738ddbc5 Install the new version of bsd.autotools.mk with support for the
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
2005-07-01 17:04:53 +00:00
Ade Lovett
cd08d5c603 Remove old, deprecated entry points into bsd.autotools.mk that merely
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.
2005-06-17 04:04:23 +00:00
Ade Lovett
130b8f2317 Add USE_ACLOCAL_VER= (automake-version), another entry point into
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>
2005-06-16 21:52:56 +00:00
Ade Lovett
cbcdcfb3d4 Purge WANT_{LIBTOOL,AUTOCONF,AUTOMAKE}_RUN
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.
2005-06-16 17:29:45 +00:00
Kirill Ponomarev
f296ccd76e Remove trailing spaces. 2005-01-09 10:12:07 +00:00
Ade Lovett
e32a824579 Move devel/autoconf->devel/autoconf253 and devel/automake->devel/automake15
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.
2004-08-03 22:36:52 +00:00
Joe Marcus Clarke
7c0294a2c1 Add some documentation for USE_INC_LIBTOOL_VER. 2004-07-09 17:47:25 +00:00
Joe Marcus Clarke
9e5632dd66 Apply a big libtool patch to allow porters to use the libtool installed by
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
2004-07-09 17:43:11 +00:00
Ade Lovett
181243d03c .error -> BROKEN (against my better judgement, but hey ho)
PR:		68568
Submitted by:	eik
2004-07-01 21:13:08 +00:00
Ade Lovett
328b757bf2 Autotools cleanup. Remove autoconf257 (259), automake17 (18), and
libtool14 (13/15).

PR:		67768
Submitted by:	ade
Approved by:	4-exp bento runs (thanks, kris!)
2004-07-01 17:06:41 +00:00
Ade Lovett
01d65e04c3 Switch over to versioned devel/libltdl15 (from devel/libltdl) after
repo-copy.
2004-06-08 20:45:00 +00:00