Commit graph

4035 commits

Author SHA1 Message Date
Antoine Brodin
5f1525f56c Some ports install their info pages gzipped (devel/cvs or lang/gauche for
instance)
Handle this case

Approved by:	portmgr (bapt)
2013-12-06 12:19:21 +00:00
Alex Kozlov
325d7d2c22 - Use NO_ARCH instead of NOARCH for consistency with other NO_ knobs
Suggested by:	Eugene Stenkin <eugeni.stenkin@gmail.com>
Approved by:	portmgr (bapt)
2013-12-06 09:14:13 +00:00
Alex Kozlov
fcf2320fd6 - Implement support for architecture-neutral ports
- Replace 'alpha' with 'amd64'
- Remove gratuitous whitespaces at the end of the line

Approved by:	portmgr (bapt)
2013-12-06 08:20:16 +00:00
Koop Mast
69fdd2465d Remove libxml, last release in 2002. And unsupport upstream. 2013-12-05 13:50:22 +00:00
Antoine Brodin
c617959ef5 Do not create a BSD local hierarchy under ${STAGEDIR}${LINUXBASE} when
USE_LINUX=yes and PREFIX!=LINUXBASE.
This is not needed and creates a bunch of stage orphaned directories.

PR:		ports/184477
Approved by:	portmgr (bapt)
Tested by:	poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 (no error, no orphans)
2013-12-04 17:48:26 +00:00
Bryan Drewery
b517565d8c - Use proper UNAME variable here
With hat:	portmgr
2013-12-03 19:08:47 +00:00
David Naylor
3991d151ab Add sanity check for LIB_DEPENDS and RUN_DEPENDS.
Ports does not support relative paths in ${TYPE}_DEPENDS and actually breaks
the dependency registration with pkgng.  This occurs in ACTUAL_PACKAGE_DEPENDS
where ${PORTSDIR} is stripped from the dependencies' directory and uses the
rest of the string as the package origin.  pkg(8) then fails to detect package
origins with relative paths.

Approved by:	portmgr (bapt)
2013-12-02 16:56:42 +00:00
Rene Ladan
dacbb85df4 Now that x11-toolkits/linux-f10-gtk is gone, remove its definition. 2013-12-01 00:40:07 +00:00
Mathieu Arnold
5fa7b7d571 Fixup makeplist for directories.
Without, it'll generate :
@dirrmtry %%PORTDOCS%%%%DOCSDIR%%
With :
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%

PR:		ports/184287
Submitted by:	mat
Approved by:	bapt
2013-11-29 16:08:41 +00:00
Baptiste Daroussin
a414afee4c Allow a user non belonging to whell to create a package 2013-11-29 14:57:42 +00:00
Antoine Brodin
b03b173fe8 Fix listing of info-* files when staging
Approved by:	portmgr (bapt)
2013-11-29 08:39:03 +00:00
Gerald Pfeifer
545eced26f Extend description of USE=shebangfix. Improve grammar and formatting.
Approved by:	portmgr (bapt)
2013-11-28 23:57:53 +00:00
Koop Mast
2989a4cf31 Add gstreamer vaapi, plugin and support libraries to enable hardware
accelerated video decoding through the VA-API library.
2013-11-28 21:57:01 +00:00
Rene Ladan
b639eee051 Replace deprecated USE_DISPLAY code with a single inclusion of USES=display
and remove the comments describing USE_DISPLAY at the top.

PR:		ports/184167
Submitted by:	myself
Approved by:	portmgr (bdrewery)
Exp-run by:	bdrewery
2013-11-28 11:13:27 +00:00
David Naylor
f62456a872 Add stage support to Mk/bsd.cran.mk and all USE_R_MOD ports (aka R-cran-*).
Since this patch converts all affected ports, bsd.cran.mk no longer supports
NO_STAGE and errors out if NO_STAGE is set.

Exp-run:	ports/184216
Reviewed by:	bdrewery
Approved by:	portsmgr, wen
2013-11-27 18:56:43 +00:00
William Grzybowski
99c5ad4239 devel/py-setuptools: Python packages installer
The fork Distribute was merged back into setuptools.
http://pythonhosted.org/setuptools/merge.html

PR:		ports/183726
Exp-run by:	bdrewery
2013-11-27 18:48:48 +00:00
Baptiste Daroussin
652cb99ce5 pkg audit now uses the vuln.xml file and not the auditfile anymore
Reported by:	kwm
2013-11-27 13:57:06 +00:00
Steve Wills
e1609e7d27 - Fix patch to uri module that I broke in r334630
- Bump PORTREVISION

PR:		ports/184315
Submitted by:	Andris Raugulis <andris@govs.lv>
2013-11-27 13:21:30 +00:00
Raphael Kubo da Costa
703c66c2ad Fix typo (PKGPOSRDEINSTALL -> PKGPOSTDEINSTALL).
Approved by:	portmgr (bapt)
2013-11-25 22:49:29 +00:00
Gerald Pfeifer
123917f35f Expand the description of PKGNAMESUFFIX to also cover its use as a
version designator.

Approved by:	portmgr (bapt)
2013-11-25 11:30:17 +00:00
Tijl Coosemans
cafb9c46e2 Typo in MASTER_SITE_APACHE. 2013-11-24 13:36:02 +00:00
Kubilay Kocak
9c597eecc6 lang/python27: Update to 2.7.6
- Update to 2.7.6
- Update pkg-plist
- Temporarily override OPT:Olimit using CONFIGURE_ENV (ports/182952) [1]
- Replace patch: extra-patch-configure-pth with CONFIGURE_ENV instead
- Remove patch: patch-Modules-_ctypes-libffi_fficonfig.py.in [2]
- QA: Clean up and group related USE_*, WRKSRC and CONFIGURE entries
- QA: Whitespace alignment

Changes: 2.7.6 - November 10, 2013

http://www.python.org/download/releases/2.7.6/

[1] Python removed OPT:Olimit in 3.2+, requested backport or
    alternative upstream patch: http://bugs.python.org/issue877121
[2] Upstreamed: http://bugs.python.org/issue18178

PR:		ports/182952
PR:		ports/156759
Reviewed by:	antoine, mva
2013-11-24 13:22:40 +00:00
Max Brazhnikov
04d6e244af Add description for DJVU and PS 2013-11-23 18:18:33 +00:00
Matthias Andree
ed6f700839 - in qa.sh, properly work with filenames containing blank or tab,
by setting IFS to just LF

- in check-stagedir.sh, properly detect unset environmental variables,
  and list them all

- in check-stagedir.sh, also list the full prefix as known, not just
  its parents

PR:		184039
Approved by:	portmgr (bapt)
2013-11-23 12:23:19 +00:00
Koop Mast
a236e2d0bf Say hello to Mate 1.6.
Mate is a lite desktop forked from gnome2.

Most of the work is done by Jeremy Messenger (mezz@). The only thing I did
was update a few ports to later 1.6 release and attempting to keep up with
ports infra changes. Resulting bugs are all mine.

Mate is a sort of replacement for Gnome 2. So people wanting to keep a
Gnome 2 like desktop should switch. Gnome 2 will be replaced by Gnome 3
in the near future. This switch will be announce with a transition time
so people have more time to switch if they haven't already.

This release was made possible by everyone that send friendly pokes to
keep mate on my mind.

Approved by:	portmgr (bapt)
2013-11-23 11:39:07 +00:00
Gerald Pfeifer
ef4727d7c1 Unbreak USE_GCC=any. We do need to keep GCC 4.2 in our internal tables
for that, even if lang/gcc42 is gone.

Tested on systems with and without GCC in base.

Reported by:	Terry Kennedy <TERRY@tmk.com>, dbn
2013-11-23 10:19:25 +00:00
Baptiste Daroussin
4b146fcac9 Fix handling of info files with pkgng, when dealing with .info-X files and also what INFO_SUBDIR.
The .info-X handling was wrong since the beginning of pkgng, the INFO_SUBDIR regression was introduced with stage

PR:		ports/184178
Reported by:	gerald
Tested by:	gerald
2013-11-23 09:48:42 +00:00
Steve Wills
f38a81fc62 - Fix and report heap overflow in floating point parsing issue in ruby
Security:	cc9043cf-7f7a-426e-b2cc-8d1980618113
2013-11-23 03:10:04 +00:00
Gerald Pfeifer
19fa1f1526 Bye, bye lang/gcc42 aka GCC 4.2. As a port you have served us well,
but six-and-a-half years after the upstream release of GCC 4.2.0 and
exactly two years after the removal of lang/gcc45 the time has come.

This reduces package name collisions around GCC related ports by 12.5%. [1]

Reported by:	bapt [1]
2013-11-23 01:21:00 +00:00
Sunpoet Po-Chuan Hsieh
fbf0e9b3fe - Add shared ARMADILLO, FREEXL and PODOFO descriptions
- Adjust POPPLER description
2013-11-22 20:37:08 +00:00
Max Brazhnikov
b23b23a180 Add support for ${opt}_QMAKE_ON/${opt}_QMAKE_OFF
Approved by:	portmgr (bapt)
2013-11-22 10:59:03 +00:00
Koop Mast
6fd348728d Update to 1.2.1.
Retire celt plugin, it was removed in flavor for the opus plugin.
Add new webp, kate and openjpeg plugin.
2013-11-21 19:06:50 +00:00
Max Brazhnikov
fb38a1f687 In preparation for Qt 5 ports:
bsd.qt.mk:
 - Deprecate QMAKEFLAGS, QMAKE_ARGS should be used instead
 - define LRELEASE/LUPDATE commands for general use
 Uses/qmake.mk:
 - USES=qmake now implies build dependency on qmake
 - Deprecate QMAKE_PRO (QMAKE_SOURCE_PATH should be used if required)
 - move QMAKE_ARGS definition to bsd.qt.mk
2013-11-21 14:15:53 +00:00
Baptiste Daroussin
28a0cf2496 Fix typo 2013-11-20 21:50:11 +00:00
Baptiste Daroussin
fcc34a8a2b Fix a typo
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
2013-11-20 21:48:30 +00:00
Baptiste Daroussin
2031b3ac69 Swap compiler.mk to use gcc 4.7 when requesting a C++11/C11 compiler and clang does not fit or the user explicitly want GCC. 2013-11-20 21:47:29 +00:00
Baptiste Daroussin
d93584fc42 Define the target in post section.
Remove the PHONY kmod-pre-install target and replace it with a real file target (well directory in this case)

Approved by:	rene
2013-11-20 12:43:29 +00:00
Baptiste Daroussin
a90833bd31 Add CHOSEN_COMPILER_TYPE which can be clang or gcc
It value correspond to the type of compiler chosen by the famework depending on the options

Requested by:	rene
2013-11-20 12:41:39 +00:00
Rene Ladan
050ed194bd Fix some typos and use modern Perl variables in comments.
Approved by:	portmgr (bapt)
2013-11-20 12:30:29 +00:00
Baptiste Daroussin
76deb2a9d8 Fix do-patch
Reported by:	mandree
2013-11-20 07:57:45 +00:00
Baptiste Daroussin
8635d31369 Mark some targets .PHONY 2013-11-20 07:29:08 +00:00
Baptiste Daroussin
89bcd875ca Ensure make patch fails if a patch fails to apply with bmake being the default make
Reported by:	marino
2013-11-20 07:21:49 +00:00
Rene Ladan
f22ee10444 Fix a typo in the DOS2UNIX_GLOB case (SRCSRC -> WRKSRC)
Approved by:	portmgr (bapt)
2013-11-19 23:25:45 +00:00
Rene Ladan
5c9fab7211 Fix a typo (specifed -> specified)
Approved by:	portmgr (bapt)
2013-11-19 23:24:20 +00:00
Koop Mast
5d020c831f Remove ltverhack's hard depend on USE_AUTOTOOLS=libtool.
The problem with the old method is that the libtool is configured to look
first in LOCALBASE for libraries to link to. Normaly this wouldn't cause
a problem. However if a port that builds a library with new API also builds
introspection files or say gtk bindings, then libtool will look first into
LOCALBASE and find the old library version for linking the introspection
files or gtk bindings. Due to the missing new API in old library the build
will fail with unresolved symbols.
The new ltverhack will patch the ltmain.sh and/or libtool files that where
bundled with the port. This libtool is correctly configured to first look
in for the just build libraries.

If the port bundled version of ltmain.sh and/or libtool aren't in ${WRKSRC}
then ltverhack_PATCH_FILES can be overwritten with there location in ${WRKSRC}.

As a bonus when using the new ltverhack configure will honor --disable-static
again. So please check your plist after converting.

While here shorten the number of tabs in the lthacks, ltverhack and
ltasneededhack PRE_PATCH components so they are just over 80 chars long.

Exp-run by:	bdrewery@
PR:		ports/183936
Obtained from:	gnome dev repo
2013-11-19 19:54:16 +00:00
Dmitry Sivachenko
82247f1486 Update to version 3.3.3. 2013-11-19 14:52:23 +00:00
Eitan Adler
e1e16dd2af Add the ability to build specific ports with WITH_DEBUG
Reviewed by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
Reviewed by:	bsam
Approved by:	portmgr (bapt)
2013-11-18 19:48:21 +00:00
Baptiste Daroussin
9a76be10be Finish removing support for lua50 2013-11-18 16:15:51 +00:00
Baptiste Daroussin
93604d0583 Mark USE_DOS2UNIX as deprecated 2013-11-18 15:45:08 +00:00
Baptiste Daroussin
f52e2d63c8 New USES=dos2unix
It is intended to replace USE_DOS2UNIX
By default it convert all the source files
Use:
DOS2UNIX_FILES=	<a list of files>
to convert files relative to ${WRKSRC} (globs allowed)
DOS2UNIX_REGEX=	<a regex>
To convert files matching the regex (using find -R -iregex)
DOS2UNIX_GLOB= <a glob pattern>
To convert files matching the glob pattern (using find -name)
2013-11-18 12:58:11 +00:00
Alberto Villa
84a235eda9 - Replace QT_.*_REL with QT_.* in PLIST_SUB.
- Adapt plists.

With hat on:	kde
2013-11-17 02:12:25 +00:00
Baptiste Daroussin
4ee0cb5d32 Make sure clang uses ports ld on FreeBSD 8 2013-11-15 22:25:40 +00:00
Jung-uk Kim
2288e33ed8 Fix symlink when PKGBASE, WEBPLUGIN_DIR, and WEBPLUGIN_NAME are not defined.
The deeply nested expression for .for loop cannot be completely evaluated at
the time of loop expansion because PKGBASE will be assigned much later.

Approved by:	bapt
2013-11-14 18:43:25 +00:00
Koop Mast
27137465a0 Fix lib_depend for gnome-control-center.
PR:		ports/183916
Submitted by:	truckman@
2013-11-13 19:28:51 +00:00
Marcus von Appen
922be491a2 Version two of the SDL2_gfx library, compatible with SDL2.0.
This also adds a new USE_SDL=gfx2 variable to add SDL2_gfx as
LIB_DEPENDS other ports.

The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided
basic drawing routines such as lines, circles or polygons and SDL_rotozoom
which implemented a interpolating rotozoomer for SDL surfaces.

The current components of the SDL_gfx library are:

   - Graphic Primitives (SDL_gfxPrimitves.h)
   - Rotozoomer (SDL_rotozoom.h)
   - Framerate control (SDL_framerate.h)
   - MMX image filters (SDL_imageFilter.h)

WWW: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
2013-11-13 18:15:08 +00:00
Baptiste Daroussin
9bd61a7a21 Remove USES=npapi, please only use webplugin 2013-11-13 08:40:28 +00:00
Koop Mast
c659c62d1d Fix eel2 lib_depend line.
Submitted by:	antoine@
2013-11-12 21:32:22 +00:00
Rene Ladan
af3e639e7d Do not try to remove /boot/modules, it is part of BSD.root.dist [1]
While here unquote an instance of /boot/modules.
Submitted by:	antoine [1]
2013-11-12 19:44:50 +00:00
Baptiste Daroussin
8a3c39c70a Fix when PREFIX != LOCALBASE
Reported by:	avilla
2013-11-12 18:01:39 +00:00
Baptiste Daroussin
89749057d9 No need to parse twice the webplugin arguments 2013-11-12 15:24:57 +00:00
Baptiste Daroussin
4e90cf7414 Use USESDIR when possible 2013-11-12 15:13:04 +00:00
Baptiste Daroussin
a4de18e4c3 Define EXTRACT_SUFX at the very end of the pre section to allow
defining extract suffix from inside bsd.*.mk and USES
2013-11-12 14:56:50 +00:00
Baptiste Daroussin
08348196a9 Convert www/firefox/Makefile.webplugins into a USES
Simplify it a lot,
remove all not supported anymore web browsers,
Prepend private varible behind an underscore
Rename the gecko18, gecko19 target into a simple gecko target

If you are writing a plugin port please use this USES, and if this USES does fit your need please report it so we can improve.
2013-11-12 14:11:22 +00:00
Mathieu Arnold
2cc3335d59 Allow multiple value in ${opt}_USE= FOO=bar,baz.
Which is nice in case you end up with something like :
X11_USE=	xorg=x11 xorg=ice xorg=sm xorg=xext xorg=xineramaproto
		xorg=xinerama xorg=xrandr xorg=xrender xorg=xtst

now you can do :
X11_USE=	xorg=x11,ice,sm,xext,xineramaproto,xinerama,xrandr,xrender,xtst

PR:		ports/183892
Approved by:	bapt
2013-11-12 13:23:14 +00:00
Rene Ladan
dc28effcb6 Fix with bmake which requires KMODDDIR to be defined before use.
Submitted by:	marino
2013-11-12 11:40:54 +00:00
Baptiste Daroussin
5d908e6e7d Change DESTDIRNAME into a ant compatible argument when a port is staged
While here remove previous workarounds.

Submitted by:	ale
Discussed with:	jkim, glewis
2013-11-12 10:36:16 +00:00
Baptiste Daroussin
a23ec7269c On FreeBSD 8 clang will need a newer version of binutils.
Reported by:	dbn
2013-11-12 09:25:43 +00:00
Eitan Adler
db432dee6e Make Uses/npapi.mk STAGEDIR safe.
This was tested by commenting out poudriere's leftover testing and using this file with linux-f10-flash.

Approved by:	bapt
2013-11-11 23:11:16 +00:00
Eitan Adler
e2f2e74797 Copy npapi.mk from the mplayer port and USEify it.
Ports that currently include www/linux-mplayer-plugin/Makefile.npapi should be switched to USES once this is stagified.

Approved by:	bdrewery
2013-11-11 21:41:26 +00:00
Olli Hauer
c0763e48fc - support STAGE for ports using AP_FAST_BUILD 2013-11-10 23:05:35 +00:00
Olli Hauer
5ecf027efa - rewrite part of module enabling 2013-11-10 20:45:09 +00:00
Gerald Pfeifer
cee7e50a71 Document USE_GCC=any. Reformat the description a bit and use newer
versions of GCC for reference.
2013-11-10 20:29:52 +00:00
Raphael Kubo da Costa
0ec4b93cf6 Remove isc.org from the list of KDE mirrors. 2013-11-10 18:11:38 +00:00
Sunpoet Po-Chuan Hsieh
00f0530654 - Remove ftp.nctu.edu.tw from MASTER_SITE_GCC 2013-11-10 13:26:58 +00:00
Sunpoet Po-Chuan Hsieh
a11d4de96f - Add shared SPDY description 2013-11-09 19:58:07 +00:00
William Grzybowski
6e2087197c Mk/bsd.python.mk: remove deprecated easy install vars
Those vars have been deprecated for a long time, this is a no op.
2013-11-09 13:20:05 +00:00
William Grzybowski
b8481a8c7d Mk/bsd.python.mk: add staging support for easy_install
This allows stage dir support for python packages using easy_install
method from setuptools module.

easy_install target does not support a --root so we workaround it with
PYTHONUSERBASE and other user flags.

Submitted by:	nivit, wg
With hat on:	python
Exp-run:	bdrewery
2013-11-09 13:09:49 +00:00
Kubilay Kocak
ce4af1f963 Fix a typo: USE_PYDISUTILS -> USE_PYDISTUTILS 2013-11-09 08:08:35 +00:00
Kubilay Kocak
5677f2500d Further clarify PYTHON_PY3K_PLIST_HACK and PYTHON_PY3K_PLIST_HACK usage 2013-11-09 07:25:29 +00:00
Koop Mast
7bec789831 Add back gtksourceviewmm3 accidently removed in -r333211, because I didn't
saved/closed my editor...
2013-11-08 14:10:00 +00:00
Koop Mast
45d39777e6 Which to using new lib_depends syntax.
Add stage support.

Obtained from:	gnome dev repo.
2013-11-08 12:32:14 +00:00
Koop Mast
02199851af gnomelibs and orbit where retired. 2013-11-08 12:29:57 +00:00
Rene Ladan
496131984d Fix 'make stage' for ports which define USE_LINUX by passing a defined
variable to MTREE_CMD.  The previous variable, MTREE_LINUX_ARGS, seems to
be a leftover.

Approved by:	portmgr (bapt)
2013-11-08 10:36:20 +00:00
Rene Ladan
a850c2461f Change KMODDDIR to /boot/modules if it is set to /boot/kernel
This allows upgrading a kernel without breaking any installed kernel ports
because during the upgrade /boot/kernel is renamed to /boot/kernel.old ,
resulting in moved files.

While /boot/modules is the default, it might be overridden by bsd.own.mk to
/boot/kernel before kmod is included, so setting MODULES_WITH_WORLD has no
effect.
2013-11-08 09:44:24 +00:00
Baptiste Daroussin
e64227dd6e Allow base clang to be used if version is >= 3.3
This gives 2 new variables to the porters:
ALT_COMPILER_TYPE which can be empty, clang or cc depending on what ${CC} is
ALT_COMPILER_VERSION which will give the porter a 2 digit version of the alternative compiler

Requested by:	many
2013-11-07 17:35:36 +00:00
Olli Hauer
d5f4c2a2d4 - Fix user users-groups script ('-e')
PR:		ports/183628
Submitted by:	ohauer
Approved by:	portmgr (bapt via PM)
2013-11-07 05:58:42 +00:00
Rusmir Dusko
08e586a29b - Unbreak pure.mk, use correct .include "${PORTSDIR}/Mk/Uses/gmake.mk"
- Remove devel/pure-gen/pkg-plist

Approved by:	pawel / wg (mentors, implicit)
2013-11-07 00:20:49 +00:00
Xin LI
bc0d646198 Update to 0.57.
PR:		ports/179390
Submitted by:	nemysis
Approved by:	maintainer
2013-11-06 22:50:21 +00:00
Raphael Kubo da Costa
cf9c8e21f2 Update KDevelop to 4.5.2.
Additionally, support staging in all ports being changed here, replace
USE_GMAKE=yes with USES=gmake and fix a typo in the CMake parameters passed
in kdevelop-kde4 when the OKTETA option is disabled.

Submitted by:	Schaich Alonso <alonsoschaich@fastmail.fm>
2013-11-06 14:47:14 +00:00
Baptiste Daroussin
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
Baptiste Daroussin
7713357eb3 Remove useless OSVERSION check, now that tinderbox properly do not leak those tests from the host
With hat:	portmgr
2013-11-05 14:24:45 +00:00
Rene Ladan
c61a61be20 Using stage does not magically enforce the use of sane package tools, so
always use the "@unexec rmdir" form in TMPPLIST.  @dirrmtry lines are
substituted with this in bsd.port.mk, but only when generating TMPPLIST.

While here update the description in the header.

Submitted by:	QAT for commit r332642 (8.4-QAT/i386)
2013-11-04 09:30:22 +00:00
Rene Ladan
7d59899f0c Use @unexec rmdir instead of @dirrmtry in the NO_STAGE case.
Submitted by:	vsevolod via IRC
2013-11-03 22:51:56 +00:00
Rene Ladan
4df4cd508b Make sure that kldxref(8) is not run when installing into the staging
directory to prevent orphaned linker.hints files.

Obtained from:	Porters Handbook section 6.1
2013-11-03 19:41:58 +00:00
John Marino
804d58013a Mk/bsd.database.mk: Fix postgresql component specifications
Due to the RUN_DEPENDS and BUILD_DEPENDS specification of postgresql
components in bsd.database.mk not matching their package names,
net-mgmt/netmagis-database was failing during the RUN_DEPENDS stage
because it couldn't detect that a component was already installed.

Updating the pltcl line allowed that port to successfully built.  The
other lines weren't tested but the problem would be the same.

Suggested by:	wg
2013-11-03 12:43:45 +00:00
Marcus von Appen
c393e4469b - Followup commit for the final lang/python26 update, that was missed
previously
2013-11-02 12:39:32 +00:00
Bryan Drewery
66ff3bcafd - Fix 'make package-recursive' with staging
With hat:	portmgr
Reviewed by:	bapt
Tested by:	dmarker_ on freenode
2013-11-02 10:48:35 +00:00
Florian Smeets
8f604dd800 Fix a mismerge that caused html5 audio to not work.
PR:		ports/183552
Reported by:	Juanitou <listjm@club-internet.fr>, eadler
2013-11-01 23:12:00 +00:00
Matthias Andree
13b212c743 bsd.stage.mk: Fewer false positives, much faster, easier maintenance.
Bugfixes:

* @cmd in pkg-plist is now properly handled.
  - It was previously treated the same as though there was a directory
    following it, missing the prefix. (ordering matters in case...esac)

  - Due to the cwd=${PREFIX} inside the while read line loop, state
    tracking was broken and every new line assumed that cwd were the
    prefix.

* stage-qa no longer complains about unstripped binaries if debugging is
  active (WITH_DEBUG set && WITHOUT_DEBUG unset).

* The compress-man target uses ECHO_MSG, not ECHO_CMD, to print its
  build step.

Additions:

* The plist parser now understands @unexec rmdir ... || ... lines,
  including those with redirections, so that there are no false
  positives for directories stripped with @unexec rmdir (usually
  happens on stuff installed outside $PREFIX, as in /var).

* The system's root and var mtrees are now also expanded to avoid
  false @dirrm positives if a port installs directories under /var
  and has to create parents in the stagedir that are present in a fully
  installed system (i. e. in the real $PREFIX).

* Given that pkg_create is deemed beyond repair with respect to deleting
  files outside prefix, generate @unexec rmdir statements for such
  directories, rather than @dirrmtry, to sidestep the problem.

Speedups:

* the orphan check now generates sorted lists of staged files,
  and plisted/mtree files, and compares them with comm(1).
  This saves us the overhead of running one grep process per file
  and up to two per directory, and defers the actual list
  processing to a shell utility.  Complexity has not changed,
  but overhead per item has.

* the orphan check now uses one file for directories and one file for
  files mentioned in pkg-plist, so we need not decorate them with "dir "
  and parse them out any longer.

* qa.sh's shebang scanner only looks at the first line of a file,
  sed is told to exit from the 2nd line.

Other Changes:

* Split the makeplist/check-orphans logic out of bsd.stage.mk,
  it is too unwieldy to maintain in make-escaped shell syntax,
  and permits shell tracing with "SH=sh -x" (including quotes!)

* Unify the functions "makeplist" and "check-orphans" in one
  script.  The only difference is that makeplist assumes an empty
  pkg-plist, whereas check-orphans parses it.

* overhaul the mtree extractor, avoiding awk.

Reviewed by:	bapt
Approved by:	portmgr (bapt)
2013-10-31 19:07:38 +00:00
Thomas Abthorpe
1d55dd3d43 - Remove final vestiges of ruby18
Exp-run by:	bdrewery
2013-10-31 12:15:50 +00:00
Rene Ladan
4d17670e3d Add a new USES for kernel module ports.
USES=kmod takes no arguments and:
- adds kld to CATEGORIES
- sets SSP_UNSAFE
- sets IGNORE if the kernel sources are not found
- defines KMODDIR to /boot/modules by default, add it to
  PLIST_SUB and MAKE_ENV, and create it upon installation
- handles cross-referencing kernel modules upon installation and
  deinstallation

Approved by:	bapt
2013-10-31 11:34:46 +00:00
Baptiste Daroussin
ed0c23e7ea Drop support for lua 4 which is EOLed for a long time
Approved by:	Richard Kiss <him@richardkiss.com> (maintainer)
2013-10-31 11:12:23 +00:00
Bryan Drewery
de9253dbd6 - Fix 'make package' when using pkg_install. Broken in r332158 due to syntax
error in else branch for pkgng.

Reported by:	danfe, mandree
Submitted by:	Takefu <takefu@airport.fm>
With hat:	portmgr
2013-10-31 02:27:14 +00:00
Bryan Drewery
1358254695 Fix copying +INSTALL after r332158
Reported by:	antoine
With hat:	portmgr
2013-10-30 22:13:56 +00:00
Florian Smeets
2cd503bcdb - update firefox to 25.0
- update firefox-esr to 24.1.0
- update thunderbird to 24.1.0
- update seamonkey to 22.0
- update libxul to 24.1.0
- don't remove/add share/applications directory
- remove checks for older gecko releases from bsd.gecko.mk
- drop support for FreeBSD 9.0

Not staged yet. I started working on it, but didn't finish it in time for
this release. I'll try to make the next one in 6 weeks.

In collaboration with:	Jan Beich
2013-10-30 20:37:55 +00:00
Baptiste Daroussin
ff058e3176 Staging showed that user/groups creation from plist are done in
post-install process instead of pre-install. in case pkgng is in
use.
Replace it by a new mecanism that allows to append scripts into
what will become pre-install, post-install, pre-deinstall or
post-deinstall
Change the user-group creation to use that mecanism in case the
ports tree is using pkgng.

Reported by:	mandree
Reviewed by:	bdrewery
2013-10-30 17:47:48 +00:00
Alex Kozlov
bcaa596bf8 - Remove gratuitous whitespaces
- Use sinclude when possible
- Rewrap overly long list

Approved by:	portmgr (bapt)
2013-10-30 16:54:09 +00:00
Alex Dupre
9f25bfd87f Add support for staging PHP extensions.
Submitted by:	antoine
2013-10-30 13:28:00 +00:00
Bryan Drewery
8d55e8697f - Add new OFL(1.0 and 1.1 versions) font licenses
PR:		ports/183363
Submitted by:	Ilya A. Arkhipov <rum1cro@yandex.ru>
Reviewed by:	tabthorpe
With hat:	portmgr
2013-10-29 14:26:31 +00:00
Rene Ladan
40f217cafe Properly guard against multiple inclusion.
Approved by:	bapt
2013-10-29 13:14:41 +00:00
Dirk Meyer
f9a95694ae - revert r331810 2013-10-28 20:17:49 +00:00
Bryan Drewery
2adacb737d - Fix COPYTREE_BIN and COPYTREE_SHARE so that installed symlinks
have proper permissions set.

PR:		ports/173892
Submitted by:	thierry
With hat:	portmgr
2013-10-28 13:08:14 +00:00
Dirk Meyer
338eecf237 - use STAGEDIR
- use OPTIONS_DEFINE
2013-10-27 22:29:46 +00:00
Sunpoet Po-Chuan Hsieh
166d24f12c - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
Suggested by:	mat
2013-10-27 17:35:52 +00:00
Koop Mast
46d0aadc55 Remove obsoleted and removed gnome1 components. While here update example. 2013-10-27 14:54:08 +00:00
William Grzybowski
c7db7eafb3 Allow multiple values for configure ENABLE and WITH options helpers
${opt}_CONFIGURE_ENABLE and ${opt}_CONFIGURE_WITH now accept multiple arguments
and will be expanded accordingly, e.g.:

OPT_CONFIGURE_ENABLE= feature1 feature2  --  will add to CONFIGURE_ARGS:
	OPT enabled: --enable-feature1 --enable-feature2
	OPT disabled: --disable-feature1 --disable-feature2

Approved by:	portmgr (bapt)
2013-10-27 11:58:20 +00:00
Kubilay Kocak
d955a5a81d Mk/bsd.python.mk: Further tweaks to clarify AUTOPLIST and PY3K_HACK
Reviewed by:	mva
2013-10-27 09:30:09 +00:00
Sunpoet Po-Chuan Hsieh
76fd67222e - Remove cpan.nctu.edu.tw from MASTER_SITE_PERL_CPAN_BY 2013-10-26 12:37:32 +00:00
Kubilay Kocak
269f9dbb91 Mk/bsd.python.mk: Clarify PYTHON_PY3K_PLIST_HACK & PYDISTUTILS_AUTOPLIST usage
Reviewed by:	mva, Johannes Meixner (xmj) via IRC
2013-10-26 10:11:45 +00:00
Marcus von Appen
d013540424 - Add a warning about PYTHON_PY3K_PLIST_HACK not being required, if
PYDISTUTILS_AUTOPLIST is used
2013-10-26 09:29:18 +00:00
Sunpoet Po-Chuan Hsieh
e018bc8aeb - Add missing || ${TRUE} 2013-10-25 07:53:24 +00:00
Sunpoet Po-Chuan Hsieh
c69aa3b0c1 - Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by:	John Marino <freebsd.contact@marino.st>
2013-10-23 17:47:31 +00:00
Ulrich Spörlein
2e790e6f32 Allow users to install converters/libiconv on 10.x systems if they
decided to build world with WITHOUT_ICONV set. There's no need for
this check to be based on OSVERSION.

Some users (i.e. me), report subtle application breakages with the
iconv-from-src that disappear when iconv-from-ports is installed.
Allow for a bridge till these issues are sorted out.

Approved by:	portmgr (bdrewery)
2013-10-23 15:05:04 +00:00
Mathieu Arnold
012586d32c Change default perl to lang/perl5.16
PR:		ports/182550
Submitted by:	mat
Approved by:	bdrewery (exp-run)
2013-10-23 10:26:23 +00:00
Bryan Drewery
1961a47413 - Don't create share/applications as it is part of BSD.local.dist now
Submitted by:	amdmi3
With hat:	portmgr
2013-10-23 00:43:04 +00:00
Tijl Coosemans
c230edc9ce Don't add "@unexec rmdir ${DESKTOPDIR} ..." to pkg-plist for ports that
use DESKTOP_ENTRIES now that ${DESKTOPDIR} has been added to mtree.

Approved by:	portmgr (bdrewery)
2013-10-22 21:42:38 +00:00
Max Brazhnikov
86276e8b2a Pass CC/CXX to qmake when we can't find appropriate QMAKESPEC
Reported by:	amdmi3
2013-10-21 19:47:02 +00:00
Rene Ladan
2e9379960f Fix a typo in bsd.stage.mk, LINUXBASE_REL should be LINUXBASE. Nothing
defines the former variable.

Approved by:	portmgr (bapt)
2013-10-21 13:09:15 +00:00
Rene Ladan
065f8bcc60 Remove entry for expired and deleted graphics/linux-f10-png10 2013-10-21 11:54:04 +00:00
Baptiste Daroussin
3a25a917f7 really apply the fix provided by ohauer
Reported by:	sunpoet, ohauer
Pointyhat to:	bapt
2013-10-21 09:56:26 +00:00
Baptiste Daroussin
9e85f692d4 Fix restage target
PR:		ports/183118
Submitted by:	ohauer
2013-10-21 08:34:26 +00:00
Olivier Duchateau
b49223caeb - Fix devel/xfce4-dev-tools detection, when xfdev is used in USE_XFCE macro 2013-10-20 18:53:04 +00:00
Alex Kozlov
542371959d - Add check for suid files and directories
Approved by:	portmgr (bapt)
2013-10-20 18:12:49 +00:00
Sunpoet Po-Chuan Hsieh
fe67692ab3 - Cosmetic change:
- Reorder knobs
  - Indent using tabstop=4
2013-10-20 08:29:15 +00:00
Bryan Drewery
3235c42422 - Fix patch fetching so it tries the next site if one has the wrong size.
Same fix as r325805 was for MASTER_SITES, but this is applied for
  PATCH_SITES

With hat:	portmgr
2013-10-20 02:06:40 +00:00
Sunpoet Po-Chuan Hsieh
1ffcb16a96 - Add staging support for USE_PERL5=modbuild*
- Remove STAGEDIR prefix from .packlist
2013-10-19 19:11:19 +00:00
Marcus von Appen
026a6cfc87 - Fix replacement expressions for manpages, if PYDISTUTILS_AUTOPLIST is set 2013-10-19 07:49:54 +00:00
Baptiste Daroussin
049b167664 Recommand to use STRIP_CMD to strip binaries given that it will respect the WITH_DEBUG option 2013-10-19 00:17:10 +00:00
Rusmir Dusko
cda8b376c1 - New Uses pure.mk
- Provide support for Pure Programming Language based projects

PR:		ports/179401
Submitted by:	nemysis (self)
Approved by:	pawel (mentor), bapt (portmgr)
2013-10-18 22:12:37 +00:00
Marcus von Appen
ae868cb7fb - Enable proper manpage handling for PYDISTUTILS_AUTOPLIST, if the
manpages are installed by distutils.

Requested by:	avg@
Improvements:	jhein@symmetricom.com
2013-10-18 16:28:48 +00:00
Antoine Brodin
60e079a05c Fix staging to rubygems
Approved by:	portmgr (bapt)
2013-10-17 16:45:07 +00:00
Baptiste Daroussin
eb6d37560f Allow staging rubygems (which here, enforce the bindir for staged rubygem ports) 2013-10-17 13:28:50 +00:00
Baptiste Daroussin
d76bad7482 Readd forgotten port-install-script in the stage seq. 2013-10-17 13:09:58 +00:00
Rene Ladan
38ea0176b6 Document "openmp" as a valid argument.
Approved by:	portmgr (bapt)
2013-10-17 09:50:51 +00:00
Bryan Drewery
6059af56b7 - Properly reference pkg(8) for conflcts instead of pkg_delete(1)
Reported by:	Julian H. Stacey, gjb
With hat:	portmgr
2013-10-16 00:38:38 +00:00
Baptiste Daroussin
14b6036bd6 Drop support for ruby-lua4 2013-10-15 12:38:25 +00:00
Alex Kozlov
702e463096 - Fix USE_LDCONFIG32 for stage ready ports
Reported by:	garga
Tested by:	garga
Approved by:	portmgr (bapt)
2013-10-15 07:48:06 +00:00
Olli Hauer
db533faaee - use new LIB_DEPENDS notation in subversion ports
- use new LIB_DEPENDS notation in Mk/Uses to fix static svn building [1]

Approved by:	portmgr (babt@) [1]
2013-10-14 19:42:48 +00:00
John Marino
aed7d5fbc5 Mk/Uses/compiler.mk: Ensure COMPILER_TYPE can only be clang or gcc
The compiler.mk comments and code state that COMPILER_TYPE can only be
of the value "clang" or "gcc".  However, the code that determines this
allows for a possible undefined third state (empty string).  BMake
will emit a lot of errors about badly formatted conditionals if
COMPILER_TYPE is empty.

Since, by definition, if the COMPILER_TYPE is not clang, it must be
gcc, so skip the conditional gcc check and just set it.  The entire
file must be updated if support for additional compilers is desired.

This bug was discovered because the gcc detection code failed to
identify the DragonFly base compiler (GCC 4.7.3) as gcc.

Approved by:	portmgr (bapt)
2013-10-14 16:46:20 +00:00
Raphael Kubo da Costa
ecda38b0a5 Update Qt to 4.8.5 and Qt Creator to 2.8.0.
Proudly brought to you by the KDE on FreeBSD team, with commits by makc@,
Schaich Alonso and yours truly.

Besides the tons of upstream fixes, we have mkspecs for GCC 4.9 and clang33
(from ports), staging support in the Makefiles and dependency fixes related
to pkg-config.

Many thanks to the people who helped test the ports using our area51
repository, and also to the people who provided patches and bug reports via
GNATS!

PR:		ports/180615
	        ports/181921
		ports/182049
2013-10-13 23:15:50 +00:00
Gerald Pfeifer
2a0337bd2e Add support for USE_GCC=4.9 and USE_GCC=4.9+.
Beware, this version of GCC is _not_ anywhere near ready for production
use.  Use at your own risk, and rather don't use it for regular ports.

Submitted by:	devzone.my@gmail.com
2013-10-13 21:23:35 +00:00
Ryan Steinmetz
9134544cca - Add shared defnition for redis description 2013-10-13 19:06:40 +00:00
Bryan Drewery
54e5c8a8ba - Fix spelling in comment
Submitted by:	des
With hat:	portmgr
2013-10-12 17:17:31 +00:00
Baptiste Daroussin
0e0cee5222 Always use a recent version of gcc in case a port needs openmp support
Submitted by:	gerald
2013-10-12 05:42:26 +00:00
Frederic Culot
4529b8b194 - Update comments to reflect the new "stage" target
Approved by:	portmgr (bapt)
2013-10-11 12:17:59 +00:00
Bryan Drewery
c1bb68f8b6 - Add Artistic License (perl) version 1.0
PR:		ports/182572
Submitted by:	bsam
Reviewed by:	tabthorpe
With hat:	portmgr
2013-10-11 11:58:00 +00:00
Bryan Drewery
cbfe674254 - Fix desktopfileutils() and sharedmimeinfo() returning non-zero and causing
failure on every port that does not use shared-mime-info or need it.

  Must return 0 at end of functions or it considers the last command ran as
  the return code.

Reported by:	eadler
With hat:	portmgr
2013-10-11 02:52:35 +00:00
Bryan Drewery
101e14f98c - WITH_CCACHE_BUILD: Respect NOCCACHE as well since that is what devel/ccache
has had documented in its howto forever

With hat:	portmgr
2013-10-11 02:22:24 +00:00
Antoine Brodin
0a9a0a511f Add two QA tests for staged ports:
- check for desktop files handling MIME types
- check for share MIME-Info database

Approved by:	portmgr (bapt)
2013-10-10 17:09:33 +00:00
Bryan Drewery
a3236d6e06 - Try to clarify USE_PACKAGE_DEPENDS_ONLY failure message
With hat:	portmgr
2013-10-10 01:30:22 +00:00
Bryan Drewery
b924147649 - Move dialog4ports.sh to more appropriate new directory Mk/Scripts as
it is related to infrastructure/framework and a required portmgr-
  maintained script

With hat:	portmgr
2013-10-09 23:01:54 +00:00
Baptiste Daroussin
aa40865de1 First set of Q/A for staged ports.
A couple of Q/A tests are done if the DEVELOPER macros is set in make.conf
Right now the tests are:
- Check if the symlinks are properly created
- Check if the binaries are stripped (just warn)
- Check if the STAGEDIR or the WORKDIR are referenced in the final files
- Check if the ports provide script with bad shebangs.
2013-10-09 15:11:32 +00:00
Bryan Drewery
c08e691cbf - Fix 'USE_DOS2UNIX= file list' not printing file names since r183768
PR:		ports/180005
Submitted by:	glewis
With hat:	portmgr
2013-10-09 11:30:42 +00:00
Max Brazhnikov
d2562e58b7 Pass CONFIGURE_ENV to qmake 2013-10-09 09:40:41 +00:00
Baptiste Daroussin
5c2deef55c Add a new argument openmp to make sure that only gcc is used (for now) is the port requires openmp
Requested by:	brooks
2013-10-09 05:52:45 +00:00
Baptiste Daroussin
60a5c6d442 Really really commit the right version
Pointyhat to:	bapt
2013-10-09 05:45:00 +00:00
Bryan Drewery
53718280e8 Revert r329829 to restore compiler.mk 2013-10-09 00:46:21 +00:00
Baptiste Daroussin
e641a63303 Actually commit the right version 2013-10-08 19:41:09 +00:00
Baptiste Daroussin
91bfd4296d New USES=compiler
Supported arguments are:
  - c++11-lang: the port needs a c++11 aware compiler what ever standard
  library it uses, implies features
  - c++11-lib: the port needs a c++11 standard library, implies features
  - c11: the ports needs a c11 aware compiler implies features
  - features: this will create a COMPILER_FEATURES variable which contains
  the list of features ${CC} do support, implies env.
  - env: the COMPILER_TYPE will be set to either gcc or clang.

  By default the uses will try to use clang33 from ports when nothing in
  base is relevant except if the user explicitly defines
  FAVORITE_COMPILER=gcc in his make.conf

Please note that testing tinderbox prior to version: 4.0.1_1 is not able to
properly figure out the dependencies implied by this USES.
2013-10-08 18:55:37 +00:00
Max Brazhnikov
364f20a0c0 - Add new USES= qmake (with staging support)
Approved by:	portmgr (bapt)
2013-10-08 16:02:21 +00:00
Max Brazhnikov
055c63eb7a Allow stage support for 'USE_KDE4= sharedmime' ports 2013-10-08 09:28:52 +00:00
Rene Ladan
323af56be8 Remove devel/linux-f10-libglade and textproc/linux-f10-libxml, both
have newer versions in the ports tree and both are unused.

OK from:	emulation@
2013-10-07 14:20:25 +00:00
Bryan Drewery
1ac0719a3b - Fix not being able to use :DEFAULT group in MASTER_SITES and PATCH_SITES.
This is useful to be able to define extra mirrors in PATCH_SITES for
  a group, while still depending on the master list of PATCH_SITES

  For example:

    .if ${PORT_OPTIONS:MX509}
    PATCH_SITES=	http://mirror1/x509-${X509_VERSION}/:x509
    PATCHFILES=		${PORTNAME}-6.3p1+x509-${X509_VERSION}.diff.gz:-p1:x509
    .endif
    PATCH_SITES+=	http://mirror2/${PORTNAME}/:DEFAULT,x509

  This will use mirror1 only for the X509 option and mirror2 for X509. All
  other patches will use mirror2 but not mirror1.

With hat:	portmgr
PR:		ports/52706
Submitted by:	Alexey Neyman <alex.neyman@auriga.ru>
2013-10-07 10:37:08 +00:00
David Chisnall
3dfc855816 Make GNUstep installs respect MAKE_ARGS, required for staging support.
Approved by:	bapt (mentor)
2013-10-07 10:32:02 +00:00
Antoine Brodin
d89de633a5 Rework linux rpm plist generation/installation
Convert linux-f10-libasyncns to STAGEDIR (only user of AUTOMATIC_PLIST)

Approved by:	portmgr (bapt)
2013-10-06 09:08:22 +00:00
Bryan Drewery
07933b2444 - PATCHFILES now support an optional :-pX flag that notes which patch strip
level to use. This allows multiple patches in 1 port to use different
  PATCH_DIST_STRIP values without changing PATCH_DIST_STRIP.

  Syntax: PATCHFILES= patch[:-pX][:distgroup]

PR:		ports/168222
Submitted by:	knu
With hat:	portmgr
2013-10-05 10:20:15 +00:00
Baptiste Daroussin
f33e812bab MTREE_FILE is not yet defined bsd.stage.mk is parsed let the shell script test it. 2013-10-04 16:43:13 +00:00
Baptiste Daroussin
11050b9333 Fix linux rpm plist generation 2013-10-04 15:47:38 +00:00
Baptiste Daroussin
772ef04904 Fix directory staging 2013-10-04 15:38:17 +00:00
Baptiste Daroussin
658fd28e6f Fix makeplist with no MTREE_FILE 2013-10-04 15:33:10 +00:00
Baptiste Daroussin
d1d0613d96 Fix check-orphans with no MTREE_FILE 2013-10-04 15:31:35 +00:00
Koop Mast
ac2ffd1831 Add deprecation warning for USE_GNOME=desktopfileutils.
Approved by:	portmgr (bapt@)
2013-10-04 14:35:20 +00:00
Bryan Drewery
324a8df42a - Fix OPTIONS_SUB not including OPTIONS_SLAVE options in PLIST_SUB
With hat:	portmgr
2013-10-04 11:42:38 +00:00
Bryan Drewery
ff427f8d85 - Add option helper opt_USE= FOO=bar -> USE_FOO=bar
Discussed with:	bapt
With hat:	portmgr
2013-10-04 11:38:13 +00:00
Sunpoet Po-Chuan Hsieh
5349651bad - Add more helpers: ALL_TARGET, INSTALL_TARGET and CATEGORIES
- Remove duplicate EXTRA_PATCHES comment
- Minor comment rewording: change "add it to" to "add its content to"
  just like how we describe ${opt}_CMAKE_*

PR:		ports/182626
Submitted by:	sunpoet (myself)
Approved by:	bapt (portmgr)
2013-10-04 10:03:23 +00:00
Bryan Drewery
8d4817e69d - Add support for PATCHFILES and PATCH_SITES
- While here, cleanup r329186 and move EXTRA_PATCHES to common
  section

With hat:	portmgr
2013-10-04 01:52:30 +00:00
Baptiste Daroussin
a938bac9ff Allow to mark a port as broken on some given arches without having to add pre/post dancing 2013-10-03 17:21:20 +00:00
Florian Smeets
4e23b4863e - update to 1.0.27.2 [1]
-- add PYTHON option to alsa-lib
 -- drop unresponsive mirrors and those that rarely catch up
 -- drop --disable-aload from alsa-lib, builds fine without
 -- drop USE_LDCONFIG from alsa-plugins, useless for dlopen'd plugins
 -- convert to new LIB_DEPENDS syntax and Makefile header
 -- convert PLIST_SUB to OPTIONS_SUB
 -- don't link alsa-utils against librt for clock_gettime(2)
 -- pass paths to configure relative to --prefix value
 -- install udev config(s) under PREFIX (for reference)
 -- cleanup /var/lib as it's not in default MTREE_FILE
 -- remove OSVERSION check for EOL releases
- allow staging

PR:		ports/182245 [1]
Submitted by:	Jan Beich <jbeich@tormail.org> [1]
Approved by:	maintainer timeout
2013-10-03 16:34:28 +00:00
Bryan Drewery
ac5b4b49ea - Support {opt}_EXTRA_PATCHES
Reviewed by:	bapt
With hat:	portmgr
2013-10-03 13:32:36 +00:00
Marcus von Appen
f106670c04 The default versions of lang/python* have been changed to support the
new DEFAULT_VERSIONS variable.

PYTHON_DEFAULT_VERSION, PYTHON2_DEFAULT_VERSION and
PYTHON3_DEFAULT_VERSION are deprecated. If you have set them in your
make.conf, you should change them something like

DEFAULT_VERSIONS=python=2.7 python2=2.7 python3=3.3
2013-10-03 09:25:37 +00:00
Baptiste Daroussin
6bfdb3d229 Sometimes scons do expect DESTDIR being in lowercase 2013-10-03 06:41:54 +00:00
Baptiste Daroussin
d7f9cdb38e Introduce the new "scons" USES. The goal is to replace the old bsd.scons.mk
Instead of redifining the building target, let's just reuse the existing ones.
Bonus, MAKE_JOBS is now respected
2013-10-03 06:25:13 +00:00
Bryan Drewery
23082b3b3c - Fix 'package' with staging+pkg_install when ports are read-only by creating
the package in STAGEDIR and then linking/copying it over to PACKAGES if
  possible

With hat:	portmgr
Reviewed by:	bapt (earlier version)
Tested by:	Stefan Bethke <stb@lassitu.de>
Reported by:	many
2013-10-02 23:49:21 +00:00
Baptiste Daroussin
034376c1d0 Allow staging linux rpms 2013-10-02 22:58:26 +00:00
Baptiste Daroussin
9fe10d0347 Allow scons port to support staging 2013-10-02 22:33:27 +00:00
Sunpoet Po-Chuan Hsieh
cd19cf50f2 - Add more OPTIONS helpers: MAKE_ARGS, PLIST_FILES, PLIST_DIRS and PLIST_DIRSTRY
- Fix typo

PR:		ports/182514
Submitted by:	sunpoet (myself)
Approved by:	bdrewery (portmgr)
2013-10-01 16:27:52 +00:00
Mathieu Arnold
10c47e92fb Fixup the MLINKS replacement code.
Approved by:	bapt
2013-10-01 14:11:47 +00:00
Bryan Drewery
ee07cfd901 - Fix staging not checking if a port is already installed when installing
it

With hat:	portmgr
2013-10-01 12:30:53 +00:00
Bryan Drewery
f09d566011 - pkg_install+staging: Fix installing package as non-root to call su.
install-package was depended on twice for install target, but it should
  only be in SUSEQ
- Add a comment to make sequence code a bit more readable

With hat:	portmgr
2013-10-01 12:05:09 +00:00
Marcus von Appen
e313d07ec3 Enable python meta-ports to be used as direct dependencies
via USE_PYTHON=2 (for lang/python2) or USE_PYTHON=3 (for lang/python3).
This can be used for ports, which do not care, which specific minor
release version of Python 2.x or Python 3.x is used, as long as there
are proper symlinks to e.g. bin/python2 or bin/python3.
2013-09-30 17:56:28 +00:00