Commit graph

72 commits

Author SHA1 Message Date
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Dmitry Marakasov
5015382233 - Remove all empty directories to avoid check-sanity errors 2014-11-19 15:08:33 +00:00
John Marino
e37d39a111 Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 09:34:03 +00:00
Dmitry Marakasov
785ef96caf - Fix segfault (1)
- Fix duplicate PORTREVISION

PR:		194061 (1)
Submitted by:	rndfax@yandex.ru
MFH:		2014Q4
2014-10-06 23:40:52 +00:00
Dmitry Marakasov
dbe92caeef - Cleanup plist 2014-09-22 12:23:39 +00:00
Dmitry Marakasov
3ac413fb36 - Switch to USES=autoreconf 2014-09-19 07:24:22 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Matthias Andree
515db2ed10 Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)
2014-08-15 20:37:31 +00:00
Tijl Coosemans
c958a48581 Remove two libtool fixes from Mk/Uses/libtool.mk. They don't always work
when an older version of a package is installed.  This is the case when an
executable links with installed libraries and with uninstalled libraries
that link with other uninstalled libraries.  For each of the directly
linked libraries the executable will have an rpath (/usr/local/lib for the
installed libraries and a path under WRKDIR for each of the uninstalled
libraries), but not for the indirect libraries.  Both ld(1) and rtld(1)
search the rpath of the executable first before any rpath of libraries, so
the indirectly linked libraries will be found in /usr/local/lib if they are
installed instead of in WRKDIR.

With this commit executables will overlink with uninstalled indirect
libraries again so their location is added to the rpath of the executable.

This partially reverts r358784.

PR:		191611
Approved by:	portmgr (bapt)
2014-07-23 10:28:03 +00:00
Dmitry Marakasov
e936e7cd2d - Strip libraries 2014-07-09 18:35:54 +00:00
Tijl Coosemans
3e4a806167 Add 4 new sed commands to USES=libtool. The first two apply some of the
changes that Debian made to their libtool.  The first command applies to
libtool versions 1.4 and up.  The second command is somewhat more elaborate
but essentially it uses the sed hold space to move an "elif...fi" block
down.  It applies to 2.x.  Together these reduce overlinking to unpatched
.la files (from ports that don't have USES=libtool yet but also .la files
in the work directory).

The third and fourth command fix relinking.  During staging libtool may
relink libA when it links to another library in the work directory libB.
The reason is that libA created during build phase has its runpath set to
the location of libB in the work directory.  This allows running an
executable that links to libA from within the work directory.  The relink
removes this extra runpath.

When libtool relinks libA it replaces "libB.la" on the linker command line
with "-L${STAGEDIR}${PREFIX}/lib -lB" with the intention to link to libB in
the stage directory but this -L flag isn't necessarily the first so another
libB may be linked instead.  The two sed commands make relink the same as a
normal link.  This means libtool will relink with libraries from the work
directory using a path similar to "../srcB/.libs/libB.so" without -L flags.
This applies to libtool 1.4 and up.  Earlier versions don't seem to relink
libraries.
(This fixes ports like devel/apr1 so they link with freshly built libraries
instead of installed libraries.)

Fix all ports with missing libraries.

Additionally:
archivers/rpm4: USES=patchfix.
databases/gdbm: INSTALL_TARGET=install-strip.
devel/gnome-vfs: remove patch that doesn't change anything.
devel/ois: INSTALL_TARGET=install-strip and use standard USE_AUTOTOOLS.
devel/zziplib: INSTALL_TARGET=install-strip, MAKE_CMD.
multimedia/mjpegtools: remove USE_AUTOTOOLS, use modern compiler on i386
   instead of disabling optimisations.
net/libnetdude: disable static plugins.

PR:		190941
Exp-run:	antoine
Approved by:	portmgr (antoine)
2014-06-22 10:44:29 +00:00
Jimmy Olgeni
5e38556079 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.

CR:		D201
Approved by:	portmgr (bapt)
2014-06-13 07:36:27 +00:00
Dmitry Marakasov
654897fdf0 - After recent graphics/devil soversion bump its PORTREVISION was not bumped, so bump it properly now and also bump all dependent ports again
Submitted by:	tijl
2014-05-09 21:29:46 +00:00
Dmitry Marakasov
dd65820e3f - Switch graphics/devil to USES=libtool
Since this changes shared lib version number, bump PORTREVISION on all dependent ports:

- devel/love
- devel/love07
- devel/love5
- games/arx-libertatis
- games/pink-pony
- games/spring
- graphics/cegui
- graphics/graphviz

While here, fix graphics/cegui plist to not remove mtree directory.
2014-05-08 20:52:09 +00:00
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Dmitry Marakasov
64bd4ed254 - Disable EXR by default, as with it library cannot be used from plain C programs
PR:		186432
Submitted by:	dt71 <dt71@gmx.com>
2014-03-06 13:17:49 +00:00
Dmitry Marakasov
ea3629c01a - Remove DOCS, NLS and EXAMPLES from OPTIONS_DEFAULT in my ports, as suggested by Porter's Handbook 2013-12-16 17:40:13 +00:00
Rusmir Dusko
74a55f2347 - Bump dependent ports' revisions (graphics/ilmbase and graphics/OpenEXR)
Approved by:	wg (mentor)
2013-11-20 14:25:28 +00:00
Rusmir Dusko
1752bb5a6e graphics/ilmbase
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Remove conflict with non existent Port
- USES pathfix pkgconfig
- Add executable
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
- Use pathfix instead of simple patches
- Adjust patches
- Change WWW

graphics/OpenEXR

- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Add DOCS and EXAMPLES Options
- Support STAGEDIR and add OPTIONS_SUB
- Change REINPLACE_CMD
- Add extra patch for EXAMPLES
- Remove obsolete patches

- Bump dependent ports' revisions

Approved by:	pawel / wg (mentors)
2013-10-31 00:32:31 +00:00
Dmitry Marakasov
67c852a85f - Disable squish option for now: it breaks dependent ports, at least devel/love07 2013-10-23 06:02:39 +00:00
Dmitry Marakasov
b4601feb96 - Add patch forgotten in previous commit
- Bump PORTREVISION
2013-10-17 23:56:17 +00:00
Dmitry Marakasov
abcd5660c5 - Support staging
- Use new OPTIONS features
- Use new LIB_DEPENDS syntax
- Fix NVTT option
- Add missing SQUISH option
- Enable all options by default as upstream does
2013-10-17 23:52:09 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Dmitry Marakasov
daffe00d4a - Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
- Canonicalize patch names
- Fix DOS line endings in patch files
2013-07-12 15:01:45 +00:00
Dmitry Marakasov
2f89c9fd6f - OptionsNG
- Trim header
- Don't install empty directory
2013-01-30 21:59:02 +00:00
Mark Linimon
a8693b8dee Force numerous ports that fail to build with clang over to instead always
rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to
accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
2012-10-09 22:12:13 +00:00
Koop Mast
5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +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
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Olli Hauer
30f9161773 -remove MD5 2011-07-03 14:12:22 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
7e80cde328 Round one migration of ports from automake{19,110} to automake111 2010-10-05 19:57:56 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Dirk Meyer
bf9c3e77f4 - fix build for png-1.4.1 2010-03-29 07:19:34 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Dmitry Marakasov
b6c2f6eea5 - Remove unneeded LDFLAGS after OpenEXR has been fixed 2009-09-08 02:24:47 +00:00
Dmitry Marakasov
6b5fb87219 - Switch SourceForge ports to the new File Release System: categories starting with G 2009-08-22 00:23:13 +00:00
Dmitry Marakasov
62110fb0db - Add SIMD knob
PR:		137363
Submitted by:	Anonymous <swell.k@gmail.com>
2009-08-06 02:29:58 +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
Dirk Meyer
3bbc108312 - update to jpeg7
Tested by:	pav on pointyhat
2009-07-18 11:11:29 +00:00
Dmitry Marakasov
ec05e2e290 - Add nvidia-texture-tools support
- Mark MAKE_JOBS_SAFE
2009-04-02 00:31:25 +00:00
Dmitry Marakasov
7844e474c0 - Disable nvtt so it doesn't pick up newly added nvidia-texture-tools and fail to build 2009-03-19 02:16:47 +00:00
Dmitry Marakasov
6903616a35 - Update to version 1.7.8
PR:		132748
Submitted by:	KATO Tsuguru <tkato432 at yahoo dot com>
2009-03-18 00:49:06 +00:00
Martin Wilke
5838d5a8dd - Update to 1.7.7
PR:		131830
Submitted by:	Ports Fury
2009-02-20 17:09:33 +00:00
Martin Wilke
560ed285d8 - Add OPTIONS
- Update to 1.7.5

PR:		130435
Submitted by:	Ports Fury
2009-01-17 22:44:01 +00:00