Commit graph

22 commits

Author SHA1 Message Date
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Thierry Thomas
7dad8e8673 - Since X11BASE = LOCALBASE, register a conflict between freeglut and
libglut;

- s/USE_XLIB/USE_XORG/
2008-03-23 23:00:25 +00:00
Florent Thoumie
d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00
Gabor Kovesdan
46b9896d01 - Remove FreeBSD 4.X support from unmaintained ports in categories starting
with letter f-h
2007-04-15 21:06:14 +00:00
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Stanislav Sedov
42b9802a53 - Fix building with gcc41. The fix should be for really for xproto (c99
compatiblity), but it's not good to fix that now when the x11r7 import
  is planned.
2006-12-23 18:01:50 +00:00
Cheng-Lung Sung
10ddcca177 - s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include dns/ editors/ emulators/ finance/
  games/ graphics/ maintained by ports@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-14 23:06:39 +00:00
Edwin Groothuis
ff21f59f9f Remove USE_REINPLACE for categories starting with a G 2006-05-07 23:46:33 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Pav Lucistnik
8341fbe6a4 - Move freeglut from x11-toolkits to graphics, where libglut already is
PR:		ports/91711
Submitted by:	Sangwoo Shim <sangwoos@gmail.com>
Repocopied by:	marcus
2006-01-16 00:07:03 +00:00
Pav Lucistnik
56e8b9c386 - Add SHA256 2005-11-25 19:33:59 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00
Thierry Thomas
1a70f44794 Upgrade to 2.4.0. 2005-06-11 19:57:46 +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
1a628ded35 Sync with new bsd.autotools.mk 2004-06-04 17:29:38 +00:00
Trevor Johnson
33fdc4cde2 SIZEify. 2004-03-17 18:29:46 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Pav Lucistnik
0469af19db - Update to 2.2.0
PR:		ports/60210
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-12-14 13:03:37 +00:00
Christian Weisgerber
041cda2f0f Update to 2.0.1.
PR:		58573
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-11-10 00:25:04 +00:00
Edwin Groothuis
baf41b9319 x11-toolkits/freeglut: upgrading to 2.0.0.
After seven release candidates, the 2.0.0 final has been released!

PR:		ports/57377
Submitted by:	Thierry Thomas <thierry@pompo.net>
2003-10-04 09:46:21 +00:00
Eric Anholt
a8a511ee7a Add freeglut 1.3, an alternative to the OpenGL Utility Toolkit (GLUT) library.
PR:		51453
Submitted by:	thierry@pompo.net
2003-05-05 22:16:26 +00:00