1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
Commit Graph

85 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
Martin Wilke
2d73db3533 - Chase devel/sdl12 shlib version bump 2008-03-13 14:28:35 +00:00
Ade Lovett
dbd39ca660 Migration from bison 1.x to 2.x
PR:		117086
Tested by:	-exp runs
2007-10-17 10:13:01 +00:00
Martin Wilke
605b516239 - Chase increase of audio/libvorbis shlib version.
- Bump PORTREVISION
2007-07-28 12:27:31 +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
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Alejandro Pulver
18ebf7811d - Fix building (last commit for -fPIC broke it: some code is compiled twice,
so there is a conditional code compilation checking for -DPIC, but the code
  in the static library later goes into a shared one, so use -fPIC but no
  -DPIC in that case, because otherwise there would be redefined symbols).

Reported by:	pointyhat
2007-01-20 17:22:27 +00:00
Alejandro Pulver
830dc339c8 - Add -fPIC compiler flag to the shared library sources (recently a static
library was converted to shared) to fix building on amd64.

Reported by:	pointyhat
2007-01-13 02:33:42 +00:00
Alejandro Pulver
07d8ff8072 - Fix menu loading (console_client.so) in SDL clients: apply fix from
ports/89065 (which was just for the OpenGL and X11 clients) to manually
  export the Key_Progs_Init symbol.

Reported by:	scalopus@gmail.com
2006-12-30 20:10:16 +00:00
Alejandro Pulver
575a6431fc - Correctly disable the use of installed libraries if not selected in OPTIONS. 2006-12-29 21:32:27 +00:00
Alejandro Pulver
7fb227f871 - Fix clients statically linked to libQFrenderer_sw being unable to load
console_client.so (the game menus) by making it a dynamic library [1].
- Change INSTALLS_SHLIB to USE_LDCONFIG.
- Remove STATIC_PLUGINS option.
- Bump PORTREVISION.

Reported by:	scalopus@gmail.com
Obtained from:	https://bugzilla.altlinux.org/show_bug.cgi?id=8853 [1]
2006-12-29 21:12:42 +00:00
Alejandro Pulver
80a08d871c - Fix building with GCC 4.x.
Reported by:	pointyhat
2006-12-17 19:24:20 +00:00
Stanislav Sedov
0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00
Alejandro Pulver
c1a0e53b9c - Use NOT_FOR_ARCHS instead of BROKEN on sparc64.
- Remove USE_REINPLACE.
- Add pkg-message (processed by SUB_FILES).
- Run ldconfig on the right directory.
- Fix OPTIONS handling.
- Remove unavoidable autodetection of OPTIONS.
- Don't remove the shared data directory (managed by games/quake-data).

PR:		ports/93729
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	garga (mentor)
2006-04-12 22:15:10 +00:00
Alejandro Pulver
faf157a3b3 Change the maintainership address to the @FreeBSD.org one.
Approved by:	garga (mentor)
2006-04-09 13:08:16 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Edwin Groothuis
2a14a1fe24 Add leftover directory
Noticed by: YAPHR
2005-12-15 21:03:26 +00:00
Edwin Groothuis
f682dfd905 [patch] games/quakeforge does not respond to keyboard input
After ports recompilation for 6.0 (upgrade from 5-STABLE)
        I noticed that quakeforge start and plays the demo, but
        completely ignores any keyboard input.  Besides that, it
        reports that plugin /usr/local/lib/quakeforge/console_client.so
        cannot be loaded.

        Investigation had shown that the plugin is used to drive
        the game menu, and the reason it cannot be loaded is that
        the main executable of the game does not export the symbol
        Key_Progs_Init.

        Symbol is absent since build links final exe from some
        static libraries, and .o with Key_Progs_Init is (for some
        reasons) not referenced by exe.  As a workaround, I propose
        to add an explicit reference for the symbol.

        Proper fix would be something like -Wl,--whole-archive
        switch for final link, but this does not work due to libtool
        only allows to put switches at the start of the command
        line. And cc links libgcc.a twice, that leads to duplicate
        symbol definitions.

PR:             ports/89065
Submitted by:   Kostik Belousov <kostikbel@gmail.com>
Approved by:    Alejandro Pulver <alejandro@varnet.biz>
2005-11-17 21:58:49 +00:00
Edwin Groothuis
1f2d2432a2 [patch] games/quakeforge does not respond to keyboard input
After ports recompilation for 6.0 (upgrade from 5-STABLE)
	I noticed that quakeforge start and plays the demo, but
	completely ignores any keyboard input.  Besides that, it
	reports that plugin /usr/local/lib/quakeforge/console_client.so
	cannot be loaded.

	Investigation had shown that the plugin is used to drive
	the game menu, and the reason it cannot be loaded is that
	the main executable of the game does not export the symbol
	Key_Progs_Init.

	Symbol is absent since build links final exe from some
	static libraries, and .o with Key_Progs_Init is (for some
	reasons) not referenced by exe.  As a workaround, I propose
	to add an explicit reference for the symbol.

	Proper fix would be something like -Wl,--whole-archive
	switch for final link, but this does not work due to libtool
	only allows to put switches at the start of the command
	line. And cc links libgcc.a twice, that leads to duplicate
	symbol definitions.

PR:		ports/89065
Submitted by:	Kostik Belousov <kostikbel@gmail.com>
Approved by:	Alejandro Pulver <alejandro@varnet.biz>
2005-11-17 21:58:25 +00:00
Simon Barner
e82e4c9653 Pass maintainership to alejandro@varnet.biz.
Submitted by:	Ulrich Spoerlein <q@galgenberg.net> (old maintainer)
PR:		ports/89105
2005-11-16 10:20:32 +00:00
Edwin Groothuis
4519a751d0 [UPDATE] games/quakeforge: minor changes, integrate with "games/quake-data"
Changes:
	* Integrate with "games/quake-data".
	* Change PORTNAME to lower-case.
	* Add OPTIONS.
	* Add LDCONFIG_DIRS.
	* Remove SVGA client, pkg-message and patch (it doesn't work, as noted in pkg-message).

(also SHA256 and maintainer change)

PR:		ports/86175
Submitted by:	Alejandro Pulver <alejandro@varnet.biz>
Approved by:	Ulrich Spoerlein <q@galgenberg.net>
2005-11-15 20:55:29 +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
Pav Lucistnik
3fed30f056 - Add WITH_STATIC_PLUGINS, requested by Jurij Ivliev <yury@black.cat.kazan.su>
- Remove WITHOUT_TOOLS and WITHOUT_SERVERS

PR:		ports/80940
Submitted by:	Ulrich Spoerlein <q@galgenberg.net> (maintainer)
2005-05-20 14:47:26 +00:00
Thierry Thomas
1354f668ae Change maintainer address.
PR:		ports/80973
Submitted by:	Ulrich Spoerlein <q (at) galgenberg.net>
2005-05-13 20:17:27 +00:00
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +00:00
Pav Lucistnik
2000544540 - Update to 0.55
PR:		ports/70711
Submitted by:	Ulrich Spoerlein <q@uni.de> (maintainer)
2004-08-20 19:50:54 +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
Kris Kennaway
da4975035e BROKEN on sparc64: Does not compile 2004-05-13 09:13:30 +00:00
Trevor Johnson
3bca696b10 Add size data, approved by maintainers. 2004-03-18 18:01:13 +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
Edwin Groothuis
672c044e2e Properly use SDL everywhere:
USE_SDL=yes	-> USE_SDL=sdl	(good examles everywhere)
	WANT_SDL/HAVE_SDL instead of exists(localbase/lib/lib...)

See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-sdl.html
for more information on how to use USE_SDL, WANT_SDL and HAVE_SDL.

PR:		follow-ups of ports/55494, ports/61877
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2004-03-08 01:01:31 +00:00
Joe Marcus Clarke
053fdb6a6b Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 2)
2004-02-04 05:21:48 +00:00
Pav Lucistnik
02d0b724c1 - Fix the detection of libvorbis (broken, due to version bump)
- Fix a bug in the network code, found by Vladimir Machulsky
- Use DOCSDIR
- Bump PORTREVISION

PR:		ports/61902
Submitted by:	Ulrich Spoerlein <q@uni.de> (maintainer)
2004-01-25 20:39:30 +00:00
Kirill Ponomarev
ffc486df06 - Use new knobs from bsd.sdl.mk
Approved by:	portmgr
2004-01-20 21:18:12 +00:00
Christian Weisgerber
63d96de22f Catch up with libogg/libvorbis version bump. 2003-12-20 16:37:57 +00:00
Pav Lucistnik
d45dc8fc7b - Fix build on alpha, amd64 and sparc64
PR:		ports/59690
Submitted by:	Ulrich Spoerlein <q@uni.de> (maintainer)
Approved by:	marcus (portmgr)
Approved by:	adamw (mentor)
2003-11-26 20:29:40 +00:00
Tom Hukins
f3955baaf1 Minor change: Remove a redundant warning and fix a typo. 2003-10-26 16:01:07 +00:00
Edwin Groothuis
b484a4b30a Chase multimedia/xmms library bump.
Submitted by:	FUJISHIMA Satsuki <sf@FreeBSD.org>
Approved by:	(unbreak of port builds)
2003-09-17 23:44:11 +00:00
Alexander Leidinger
4e00dbebbe Update to 0.5.4.
Submitted by:	maintainer
2003-08-08 13:23:08 +00:00
Daichi GOTO
1c3fe03035 fix games/quakeforge: build fail on alpha.
PR:		53757
Submitted by:	Ulrich Spoerlein <q@uni.de>
2003-07-08 04:50:34 +00:00
Daichi GOTO
9fe6a753aa Unbreak games/quakeforge on 5.1/alpha
PR:		53757
Submitted by:	Ulrich Spoerlein <q@uni.de> (mainttainer)
2003-06-26 14:19:23 +00:00
Alexander Leidinger
ac0a3840d3 remove "garbage" around the patch 2003-03-29 02:52:46 +00:00
Alexander Leidinger
b80de4efc3 - change maintainer to q@uni.de (this time for sure)
- add patch for zpak (use sh instead of bash)

Submitted by:	q@uni.de

 - bump portrevision due to change in package (zpak)
2003-03-28 10:15:56 +00:00
Eric Anholt
4a602bca40 Fix fetching of quakeforge distfiles.
Approved by:	portmgr
2003-03-08 04:01:44 +00:00
Kris Kennaway
1c24674242 Use pre-everything:: instead of pre-everything: to avoid conflict with
targets in bsd.port.mk
2003-02-28 22:53:02 +00:00
Akinori MUSHA
2ab2d59488 De-pkg-comment. 2003-02-20 17:32:26 +00:00
Alexander Leidinger
1d02643ec3 Fix missing pthread symbols on -current.
Submitted by:	Ulrich Spoerlein <q@uni.de>
2003-02-01 13:54:33 +00:00
Alexander Leidinger
137eefaa29 Fix qw-client segfaults.
Submitted by:	Ulrich Spoerlein <q@uni.de>
Obtained from:	qf-CVS
2003-02-01 12:51:47 +00:00