Commit graph

57 commits

Author SHA1 Message Date
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Alexey Dokuchaev
58d0c7a77c When setting USE_XORG via OPTION helper, use comma syntax universally; in
`devel/sdl12', `graphics/blender', and `multimedia/libav' ports they were
set incorrectly, which caused build failures of `devel/sdl12' without the
OpenGL, for example.

Also, while at it, in `multimedia/libmpeg2', fix sed(1) based patching to
produce more neat results, and use official spelling of MPEG abbreviation
in COMMENT (port description still needs cleaning up).
2014-03-15 12:27:11 +00:00
Baptiste Daroussin
dba075ec09 Convert to USES=libtool 2014-03-02 22:37:24 +00:00
Antoine Brodin
bccff6cd2e Finish staging (add man pages to plist)
Fix a typo

Approved by:	multimedia (bapt)
2013-10-20 10:55:11 +00:00
Baptiste Daroussin
7acfbfa576 Enable stage
Use options helpers
Strip binaries
2013-10-19 14:29:19 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Max Brazhnikov
1fed8995fc - Add dependence on X libraries [1] and make it optional
- Convert to new option framework
- Convert to USES
- Trim Makefile header
- pet portlint: rename patch

PR:		ports/175965 [1]
Submitted by:	pawel
2013-03-25 14:05:23 +00:00
Marcus von Appen
fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00
Koop Mast
0e682dded4 Remove USE_GNOME=gnometarget from ports. It has been a empty keyword since
mid 2008.

PR:		ports/159624
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-11 19:20:17 +00:00
Olli Hauer
4c503beb39 - remove MD5 2011-07-03 13:38:45 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34: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
Mario Sergio Fujikawa Ferreira
53fbc9426f Mark MAKE_JOBS_SAFE for SMP compilation 2009-03-26 03:33:51 +00:00
Michael Johnson
7cad677960 Update to 0.5.1 2008-07-27 01:47:22 +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
Michael Johnson
f226a8793e - Remove a no longer supported option
- Install README
2007-09-19 17:57:17 +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
Mario Sergio Fujikawa Ferreira
1229d39834 Give maintainership to multimedia@FreeBSD.org. 2007-04-01 07:50:30 +00:00
Mario Sergio Fujikawa Ferreira
30ae669f73 o Update to bug fix release 0.4.1:
- The build system now supports newer versions of the
	  autotools and can find them in weird places on FreeBSD
	  and OS X systems. We also support x86 accelerations on
	  the AMD64 CPU, including on FreeBSD. The AltiVec features
	  are now better detected.
	- Peter Gubanov found a bug in the 4:4:4 chroma handling,
	  Nicolas Joly found a memory leak in the Xshm code on
	  remote displays and Roberto Huelga found alignment issues
	  in the sample3 and sample5 examples. Gildas Bazin contributed
	  a patch for more tolerance for invalid sequence display
	  extensions.

PR:		106144
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-12-15 01:53:30 +00:00
Stanislav Sedov
e74ffecde5 - Fix SDL-dependent ports broken by last update.
Approved by: kris (portmgr), sem (mentor)
2006-09-21 08:07:59 +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
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Mario Sergio Fujikawa Ferreira
df1b4952ea Fix build WITH_SDL on some systems
PR:		88869
Submitted by:	Stephen Hurd <shurd@sasktel.net>
2005-11-18 04:18:47 +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
Mario Sergio Fujikawa Ferreira
9a4b87b1c7 Add SHA256 checksum 2005-11-11 06:06:17 +00:00
Pav Lucistnik
a7679d4fab - libdata/pkgconfig is now included in mtree
Approved by:	marcus (portmgr hat)
2005-05-16 21:52:58 +00:00
Mario Sergio Fujikawa Ferreira
3384aaee9e Remove BROKEN on alpha ARCH
PR:		77869
Submitted by:	Geoff Buckingham <geoffb@chuggalug.clues.com>
Verified by:	kwm
2005-04-17 19:59:11 +00:00
Adam Weinberger
d80a9dfb22 De-obrienize: move ${ARCH} conditional expression to after bsd.port.pre.mk. 2005-04-11 17:53:17 +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
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
Mario Sergio Fujikawa Ferreira
034bd62ebb Bump PORTREVISION due to PLIST change in previous commit 2004-04-08 03:19:14 +00:00
Mario Sergio Fujikawa Ferreira
5b9e5c94de o Uphold portlint by moving WRKSRC out of the 1st Makefile block
o USE_GNOME=lthack to avoid installing .la files which incidently
  makes the port ccache friendly

PR:		65285
Submitted by:	michael johnson <ahze@ahze.net>
2004-04-08 03:17:45 +00:00
Mario Sergio Fujikawa Ferreira
c9c4058cfb Update to 0.4.0b
PR:		63439
Submitted by:	lev
2004-04-06 00:22:05 +00:00
Kirill Ponomarev
a7ce848891 - Utilize USE_SDL to prevent libraries chase in the future 2004-03-19 15:59:58 +00:00
Alexander Kabaev
bc2ea02bbb Unbreak dependency on SDL in WITH_SDL=yes case. Look for proper
libSDL-1.1.so instead of libSDL-1.1.5.so.
2004-03-19 15:39:52 +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
Kris Kennaway
9903ebab0c BROKEN on alpha 5.x: does not compile 2004-02-25 10:30:56 +00:00
Tilman Keskinoz
4a1ae6104b Fix build on AMD64
Submitted by:	lioux, Adriaan de Groot <adridg@cs.kun.nl>
2004-02-10 16:17:40 +00:00
Mario Sergio Fujikawa Ferreira
43485240fb USE_SIZEify 2004-02-08 01:14:05 +00:00
Mario Sergio Fujikawa Ferreira
02c49bd1c9 Fix build on alpha ARCH machines that do not support MVI code. Check
PR for more information

PR:		48506
Submitted by:	naddy
2003-09-08 00:54:07 +00:00
Edwin Groothuis
a447755caa Added INSTALLS_SHLIB
Informed maintainer.
2003-05-19 05:09:18 +00:00
Mario Sergio Fujikawa Ferreira
86f1af0ff6 Fix build on alpha ARCH 2003-05-14 16:20:58 +00:00
Dirk Meyer
1b5eda48af - allow build with more warnings enabled, NO_WERROR=yes
- no response from maintainer since 2003-04-05
2003-05-11 07:47:17 +00:00
Mario Sergio Fujikawa Ferreira
74740483d0 De-pkg-comment 2003-02-23 19:58:35 +00:00
Mario Sergio Fujikawa Ferreira
90837a5df3 o Fix PLIST
o Bump PORTREVISION

Submitted by:	kris (internal bento logs)
2003-01-14 15:54:22 +00:00
Maxim Sobolev
5c160ac5bd Update version number of SDL shared library. 2003-01-02 15:06:10 +00:00
Mario Sergio Fujikawa Ferreira
960dbb95f8 Update to 0.3.1 2003-01-02 05:03:52 +00:00