Commit graph

263 commits

Author SHA1 Message Date
Yen-Ming Lee
1f78956cba - update Module-Build to 0.4206 2014-07-15 06:19:31 +00:00
Ruslan Makhmatkhanov
ae4737d82e Fix typo and adjust whitespace in comments. 2014-07-14 14:29:42 +00:00
Sunpoet Po-Chuan Hsieh
fb2754b6f9 - Remove contiguous blank lines 2014-07-05 16:06:00 +00:00
Nathan Whitehorn
2ac785c621 Avoid using clang as a fallback compiler on Tier-2 systems for C++0x
or C11 features on platforms where it is not known to work.
2014-06-29 20:35:05 +00:00
Bryan Drewery
5d75e32429 - Fix logic from r359424 to not always apply - only apply on tier2 archs.
With hat:	portmgr
2014-06-27 03:23:52 +00:00
Nathan Whitehorn
275f89be81 On some Tier-2 platforms (e.g. PowerPC), clang kind of works and so is
installed but is not cc. On such platforms, clang is usually not default
for a reason and so using it for C++11 is unwise. Instead, fall back to
newer GCC. On i386 and amd64, clang works even if it isn't the default,
so continue using it there.

This fixes the build for Boost, among other software, on PowerPC.

Approved by:	bapt
2014-06-26 22:16:37 +00:00
Baptiste Daroussin
21a7c0265d Fix category 2014-06-25 09:21:46 +00:00
Baptiste Daroussin
090570fe5d Add USES=makeinfo that will handle the build dependency on the makeinfo utility
using the base version if exists of the port version if it doesn't exists in
base
2014-06-25 06:57:38 +00:00
Baptiste Daroussin
9a51bfd65d Add a lite argument to USES=gmake
This enforce usage of gmake-lite instead of gmake to avoid circular dependency

Suggested by:	miwi
2014-06-25 06:33:58 +00:00
Rene Ladan
1bb96a2f96 Add --strip-debug to STRIP_CMD to avoid removing kernel symbols from the
installed kernel module.  This would otherwise break comms/uarduno on amd64
when converting this port to USES=kmod.

PR:		189621 (in private followup)
Submitted by:	Bob Frazier <bobf@mrp3.com>
MFH:		2014Q2
2014-06-22 21:01:11 +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
Baptiste Daroussin
a8e29575e4 New USES=drupal
It accepts 6 or 7 as a mandatory argument (version of drupal)
It accept nothing (aka drupal main port) or a mutually exclusive "theme"/"module"
2014-06-18 12:16:43 +00:00
Baptiste Daroussin
742f751bd9 Switch to tabspace: 8 2014-06-18 07:17:13 +00:00
Antoine Brodin
fcb5fc3711 Fix packaging of lang/tolua++ with pkg_install
With hat:	portmgr
2014-06-17 19:44:28 +00:00
Baptiste Daroussin
b37132f13b Also support fmake 2014-06-17 15:42:45 +00:00
Mathieu Arnold
427e48f5de Introduce Uses/gssapi.mk to help handle dependencies on Kerberos in a
consistent way.

Submitted by:	hrs
With hat:	portmgr
Sponsored by:	Absolight
2014-06-17 15:00:21 +00:00
Beat Gaetzi
0557b9315d - Update Firefox to 30.0
- Update Firefox ESR to 24.6.0
- Update libxul to 24.6.0
- Update NSS to 3.16.1
- Update NSPR to 4.10.6
- Update Thunderbird to 24.6.0
- Convert USE_BZIP2 to USES
- Backport ff31 fix against crashing DEBUG build on newegg.com [1]
- Add a note in UPDATING to not build audio/soundtouch with
  INTEGER_SAMPLES [2]
- Use arc4random_buf(3) to generate UUIDs (version 4)
- Fix debugger detection used by Telemetry and the slow script dialog
- Add STAGE support [3]

PR:		ports/189991 [1]
PR:		ports/189217 [2]
PR:		ports/189488 [2]
Submitted by:	bapt [3]
Sumbitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/888a0262-f0d9-11e3-ba0c-b4b52fce4ce8.html
2014-06-11 03:42:55 +00:00
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Sunpoet Po-Chuan Hsieh
0449f732c3 - Ensure up-to-date p5-Module-Build and p5-Module-Build-Tiny to avoid build
failure if installed ones do not satisfy version requirement of ports
2014-06-09 07:10:24 +00:00
Sunpoet Po-Chuan Hsieh
63bf70a31c - Cleanup COMMENT 2014-06-09 06:25:31 +00:00
Mathieu Arnold
886c83c618 Apply a band-aid on Perl ports plists for perl 5.20.
This is not the right fix, but with this, we can move forward.

With hat:	perl@, portmgr
Sponsored by:	Absolight
2014-06-02 08:48:13 +00:00
Antoine Brodin
e86bd07065 Add 9.4 to the list of valid pgsql versions
With hat:	portmgr
2014-05-29 08:09:24 +00:00
Mathieu Arnold
ca7f62bffc Add perl 5.20.0.
Changes:	http://search.cpan.org/dist/perl-5.20.0/pod/perldelta.pod
Sponsored by:	Absolight
2014-05-27 12:19:24 +00:00
Baptiste Daroussin
1f527e7fbb scons expect lots of variables to be set as arguments 2014-05-27 12:13:05 +00:00
Baptiste Daroussin
599ded0e50 Fix version comparison 2014-05-27 10:55:39 +00:00
Baptiste Daroussin
ff732faf5b Commit forgotten bits to support lua 5.1 2014-05-26 16:02:07 +00:00
Baptiste Daroussin
045f2c267e A typo can hide another typo
Submitted by:	kwm
2014-05-26 13:15:11 +00:00
Baptiste Daroussin
6b95894f58 Fix typos
Submitted by:	sunpoet
2014-05-26 13:10:11 +00:00
Baptiste Daroussin
4f347620f2 Move part of bsd.mono.mk into USES=mono
Drop code for nant support which is not used at all in the ports tree
Add dependency handling on lang/mono
Pass maintainership to mono@
2014-05-26 11:41:33 +00:00
Mathieu Arnold
2be2a7308c SITE_PERL is relative to LOCALBASE, switch to PREFIX for the post-stage fixups.
PR:		ports/189694
Submitted by:	Paul J Murphy
Sponsored by:	Absolight
2014-05-25 20:58:14 +00:00
Mathieu Arnold
2686164bfb - Add a USE_PERL5=fixpacklist to account for ports creating one when not using
USE_PERL5=configure or USE_PERL5=modbuildtiny.
- Change perl5.mk to use a specific target and not abuse post-stage.

Reviewed by:	bapt
With Hat:	portmgr
Sponsored by:	Absolight
2014-05-25 11:37:28 +00:00
Alex Kozlov
98052ca1a2 - Use /usr/bin/unzip for zip files extraction (part 1)
PR:	ports/188419
Exp-run:	bdrewery
Approved by:	portmgr (bapt)
2014-05-22 09:51:35 +00:00
Baptiste Daroussin
caa378d7ef Rename pathfix-pre-patch target into pathfix to be consistent 2014-05-22 06:42:20 +00:00
Dag-Erling Smørgrav
46a53638d3 Add support for inserting CPE URIs as package annotations.
To enable this for a particular port, add "cpe" to the USES list and
optionally define CPE_VENDOR, CPE_PRODUCT etc. if the defaults are not
correct (they should be in most cases).

Approved by:	portmgr (bdrewery)
2014-05-17 18:09:14 +00:00
Baptiste Daroussin
a4aa94d4c6 Add a USES to handle objective C (chosing compiler adding the right dependency on the runtime library) 2014-05-08 13:32:12 +00:00
Beat Gaetzi
d71f60b2f1 - Update SeaMonkey to 2.26
- Update libxul to 24.5.0
- Switch to USES=tar:bzip2
- Fix SeaMonkey version detection in Uses/gecko.mk

Submitted by:	Jan Beich
Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-05-06 19:13:09 +00:00
Baptiste Daroussin
05bbadc591 Finish USES=pgsql
Add WANT_PGSQL=client support
Do not test WANT_PGSQL if it is not defined
Fix a couple of typos makeing it unusable
add WANT_PGSQL=lib (default it nothing is specified)
only depends on library if no WANT_PGSQL is set or lib is explicitly
added to WANT_PGSQL
2014-05-05 12:39:54 +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
Beat Gaetzi
b6e8f8d98d - Update Firefox to 29.0
- Update Firefox ESR to 24.5.0
- Update Thunderbird to 24.5.0
- Update NSS to 3.16
- Use port dependency for soundtouch library
- Require recent graphite2 version explicitly [1]
- Require gst-libav version that doesn't crash on seeking [2]
  and doesn't error out on plugin load [3]
- Remove gstreamer note in pkg-message for www/firefox, [3] may still
  happen with www/firefox-esr but only until it tracks esr31 (ca 2014-09-01)
- Fix USE_XPI in mail/thunderbird-i18n [4]

Security:	http://www.vuxml.org/freebsd/985d4d6c-cfbd-11e3-a003-b4b52fce4ce8.html
PR:		ports/187939 [1]
PR:		ports/188133 [2]
PR:		ports/181964 [3]
PR:		ports/188984 [4]
Submitted by:	Toomas Aas <toomas.aas@raad.tartu.ee> [1]
Submitted by:	Jakub Lach <jakub_lach@mailplus.pl> [2]
Submitted by:	Jan Beich [3] and this update!
Submitted by:	Toni Ballesta <mustelator@yahoo.es> [4]
Approved by:	portmgr (bdrewery, security update to non-staged port)
2014-04-29 20:35:24 +00:00
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
Brooks Davis
ad2f70940d Allow an alternative install prefix to be specified with
CMAKE_INSTALL_PREFIX.  This is similar to GNU_CONFIGURE_PREFIX and is
useful for ports that would conflict if installed directly in PREFIX.
2014-04-11 21:45:55 +00:00
Pawel Pekala
cc754660a3 Reset default qmake flags so that they don't taint our
globally set CFLAGS, CXXFLAGS

PR:		ports/188287
Submitted by:	myself
Approved by:	kde (makc)
2014-04-09 19:00:49 +00:00
Kubilay Kocak
bcd640815d Mk/pathfix.mk: Support more pkgconfig libdir matches
Add support for matching additional pkgconfig libdir entries
that were found in Python's Makefile.pre.in.

It can also be used by other ports [1] by setting PATHFIX_MAKEFILEIN to the
appropriate filename in ${WRKSRC}.

If this file grows support for other pathfix'es beyond Makefile's and
autoconf sources, it may be worth renaming PATHFIX_MAKEFILEIN in future
to suit the broader scope.

[1] Examples: devel/ptlib, graphics/zathura (thanks antoine)

Reviewed by:	antoine
Approved by:	antoine (exp-run)
MFH:		2014Q2
2014-04-09 12:45:54 +00:00
Baptiste Daroussin
53bf9f230c Fix dependency on thunderbird 2014-04-09 12:37:53 +00:00
Baptiste Daroussin
412cfda552 Add USES=geck to handle dependencies on the gecko engine via:
libxul, seamonkey and/or firefox
default being libxul
2014-04-09 10:28:23 +00:00
Baptiste Daroussin
c4abcef202 Drop support for non staged perl ports 2014-04-09 09:53:09 +00:00
Baptiste Daroussin
e149a86133 Add compiler:gcc-c++11-lib to instrument gcc linking with libc++ on system where default stl is libc++ 2014-04-08 15:16:39 +00:00
Rene Ladan
283b661902 Tell the configure scripts to use ${PERL} for PERL_PATH, this fixes
e.g. devel/libbonobo

Approved by:	portmgr (bapt)
2014-04-04 11:29:07 +00:00
Baptiste Daroussin
9b2e4e8528 When USES=perl5 is localed (what ever run or build depend) define a cache variable so autoconf always pick up the version from localbase
This eliminate a lot of perl related Q/A warnings
2014-03-30 14:58:51 +00:00
Antoine Brodin
6ab5e9e897 Fix a typo
Submitted by:	rene
With hat:	portmgr
2014-03-30 10:50:26 +00:00