Commit graph

302 commits

Author SHA1 Message Date
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
Bryan Drewery
c93dfc2e9f SSP support has been added to ports with WITH_SSP for i386 and amd64
on FreeBSD 10, and amd64 on earlier versions.

SSP_UNSAFE is added to disable in a port if it fails to build, but
this should only be used in rare circumstances such as kernel modules.
Otherwise, the port may just be failing due to lack of respecting
LDFLAGS.

On FreeBSD 10, this uses an ldscript in /usr/lib/libc.so to pull in
libssp_nonshared.a to address issues linking on i386 [1].

On earlier FreeBSD versions the WITH_SSP knob will add -lssp_nonshared
to LDFLAGS on i386. This is not needed on amd64. However, several hundred
ports do not currently respect LDFLAGS, so this support is disabled currently
as it causes build failures if a dependency is looking for the stack_chk
symbols.

Many thanks to jlh@ for this as he had many years of patience in getting
all of the necessary pieces [1][2] in.

[1] http://svnweb.freebsd.org/base/head/lib/libc/libc.ldscript?revision=251668&view=markup

PR:		ports/138228 [2]
Submitted by:	jlh (bsd.ssp.mk based on)
Reviewed by:	bapt
With hat:	portmgr
exp-runs done:	37 over a month on 91i386,91amd64,10i386,10amd64
2013-09-20 12:54:54 +00:00
Baptiste Daroussin
6adf864b81 Convert to new perl framework
Convert from USE_GMAKE to USES=gmake
2013-09-17 06:40:21 +00:00
John Marino
9518965c21 lang/gcc*: define CONFIGURE_TARGET genericly (8 ports)
Instead of hardcoding the compiler target as FreeBSD, use the OPSYS
variable to it.  This makes no practical difference for FreeBSD, but
it helps DragonFly get properly configured.

Approved by:	gerald
2013-09-12 10:20:45 +00:00
Boris Samorodov
9f7e7e1326 Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk.
It's value is "--with-libiconv-prefix=/usr/local" for systems
before 100043 with ports libiconv and to use at systems post
100043 with base iconv it's value is "" (NULL).

Co-authors:	bapt, madpilot and bsam (me)
2013-09-04 20:01:05 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00
Gerald Pfeifer
1b8233fc09 Update (and soften) DEPRECATED statement.
Mark BROKEN on FreeBSD 10.0 and later.

Reported by:	erwin
2013-01-03 05:25:58 +00:00
Gerald Pfeifer
71abe8b0fd Remove support for Objective C. None of the dependencies left needs it. 2011-11-06 10:18:46 +00:00
Gerald Pfeifer
91f4518152 Refer to GCC 4.6 as replacement instead of GCC 4.5. 2011-11-06 10:01:19 +00:00
Gerald Pfeifer
a2c4052c5d Mark DEPRECATED. This is really only used for three obsolete and
practically unmaintained ports.
2011-08-27 23:34:34 +00:00
Olli Hauer
27de467a2b - remove MD5 2011-07-03 13:45:36 +00:00
Gerald Pfeifer
9a7460d7a3 Remove NO_MANCOMPRESS which is not necessary on relevant versions of
FreeBSD any more.  Sort pkg-plist consistently.
2009-12-31 09:11:34 +00:00
Martin Wilke
8ca9f0d689 - Convert NOMANCOMPRESS to NO_MANCOMPRESS to sync with src
PR:	ports/136065 ports/127469
Submitted by:	N.J. Mann <njm@njm.me.uk> and Aldis Berjoza <killasmurf86@gmail.com>

- Early identify port CONFLICTS

PR:	137855
Submitted by:		Piotr Smyrak <smyru@heron.pl>

- Add --no-same-permissions to the EXTRACT_AFTER_ARGS command.

Tijl Coosemans has been reported an issue that when root is extracting from the
tarball, and the tarball contains world writable files
(sysutils/policykit as an example), there is a chance that the files
gets changed by malicious third parties right after the extraction,
which makes it possible to inject code into the package thus compromise
the system.

Submitted by:	Tijl Coosemans <tijl@coosemans.org> Xin LI (delphij@)

- Fix some whitespaces

Tested with:	exp-run
2009-12-29 10:25:55 +00:00
Gerald Pfeifer
c2e5f24247 Set MAKE_JOBS_SAFE to allow for parallel builds.
PR:		133062
Submitted by:	mm
2009-03-29 21:48:30 +00:00
Gerald Pfeifer
ff9a849c66 Remove obsolete code to create (empty) man pages in case regular
man pages cannot be created.
2009-03-13 21:36:53 +00:00
Gerald Pfeifer
71bbf2f717 Remove gcc-testsuite from DISTFILES, along with the post-build and
check targets.  This reduces disk and bandwidth consumptions for a
feature (apparently) never used.
2009-02-01 13:17:26 +00:00
Gerald Pfeifer
4e54d063ae Set MAINTAINER, COMMENT and LATEST_LINK unconditionally as opposed to
using ?=.
2009-02-01 00:33:29 +00:00
Pav Lucistnik
efa63f6ba4 - Remove USE_GCC where it can be satisfied with base compiler on following
FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
2008-07-25 14:34:52 +00:00
Marius Strobl
13266eb0f5 Add the local changes of src/contrib/gcc/config/sparc/freebsd.h,
mainly in order to let the preprocessor define things like __sparc64__
which in turn is required by some system headers.

Approved by:	gerald
2008-02-26 19:28:41 +00:00
Gerald Pfeifer
7a1c1f2d29 Fix the build on FreeBSD 8.
PR:		117287
Submitted by:	Scot Hetzel <swhetzel@gmail.com>,
		Stephane E. Potvin <sepotvin@videotron.ca>
2007-10-21 23:20:34 +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
Edwin Groothuis
5555d89b50 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 01:25:18 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Gerald Pfeifer
dfc0ce2db3 Account for the removal of /usr/bin/objformat on 7-CURRENT and default
to elf instead of aout in this case.  Bump PORTREVISION.
2007-02-15 12:21:38 +00:00
Gerald Pfeifer
129c25a0bf Add USE_ICONV=yes since we explicitly configure --with-libiconv-prefix.
Reported by:	deischen, rafan
2007-01-28 00:32:50 +00:00
Gerald Pfeifer
77dff0638f Remove the hack we had used to rename man pages to match the actual
names of binaries (back when GCCs configure mechanism failed to do so).
2006-09-18 16:23:57 +00:00
Gerald Pfeifer
c83a62fe14 Make CONFIGURE_ARGS additive, for the sake of child ports and to
bring my lang/gcc* ports more in sync.

Employ the new USE_LDCONFIG feature, which allows us to get rid of
the various, much more manual and error-prone hacks we needed so far.

Reviewed by:	flz (for lang/gcc40)
2006-06-17 15:47:43 +00:00
Gerald Pfeifer
a06ae88c3c Update to the GCC 3.4.6 release, which concludes the GCC 3.4 release
series.  Move from tracking snapshots to the official release sources,
which requires an EPOCH bump, unfortunately.

Remove the cklatest target which we just do not need any longer.

Always build both shared and static libraries instead of having these as
two exclusive options defaulting to the former.

Fix handling of shared libraries via rc.d for non-default prefixes and
move the rc.d script from PLIST_FILES to pkg-plist.

Do not strip some of the the binaries any longer.

No longer hardcode the version number in LATEST_LINK.
2006-03-26 18:08:14 +00:00
Dirk Meyer
c143c5eaa4 - add RC_D_SH to keep shared libs working after reboot
Approved by:	gerald
2006-03-25 18:30:26 +00:00
Gerald Pfeifer
9ae0c28ccc Update to the 20060221 snapshot of GCC 3.4.6. 2006-02-22 21:52:33 +00:00
Gerald Pfeifer
c9c75401b8 Update to the 20060214 snapshot of GCC 3.4.6.
Remove USE_REINPLACE= as advised by new portlint.
2006-02-15 13:49:45 +00:00
Gerald Pfeifer
d21c51245e Update to the 20060207 snapshot of GCC 3.4.6. 2006-02-11 23:23:18 +00:00
Gerald Pfeifer
8f65cab8e9 Update to the 20060124 snapshot of GCC 3.4.6. 2006-01-26 23:03:15 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Gerald Pfeifer
e731f3836c Update to the 20060110 snapshot of GCC 3.4.6. 2006-01-11 17:06:29 +00:00
Gerald Pfeifer
a56213f456 Update to the 20060103 snapshot of GCC 3.4.6. 2006-01-05 10:53:43 +00:00
Gerald Pfeifer
d86eb00196 Update to the 20051227 snapshot of GCC 3.4.6.
Remove broken removal of the info/gcc34 directory; this has to be
handled by Mk/bsd.ports.mk.
2005-12-29 00:02:13 +00:00
Gerald Pfeifer
f8ca4b20a3 Update to the 20051220 snapshot of GCC 3.4.6.
Install the .info files of the lang/gcc34 port in a port-specific
subdirectory, which allows us to remove the conflicts with lang/gcc40
and lang/gcc41 and also removes the hidden conflict with lang/gcc33.

Also, convert pkg-plist to use a new substitution (%%SUFFIX%%) instead
of hardcoding the version number 34.
2005-12-21 22:38:26 +00:00
Gerald Pfeifer
10290a3326 Install the .info files of the lang/gcc42 port in a port-specific
subdirectory, which allows us to remove the conflicts with lang/gcc33
and lang/gcc34.

Dedicated to:	obrien
2005-12-21 21:14:08 +00:00
Gerald Pfeifer
b240fc287c Complete the repocopy of lang/gcc41 to lang/gcc42 and update to the 20051210
snapshot of GCC 4.2.0.

Change pkg-plist to avoid hardcoding any version number.

PR:		90253
2005-12-11 22:49:57 +00:00
Gerald Pfeifer
7fb874f71d Update to the 20051206 snapshot of GCC 3.4.6. 2005-12-08 17:22:09 +00:00
Gerald Pfeifer
68fad33243 Update to the 20051122 snapshot of GCC 3.4.5. 2005-11-28 17:11:41 +00:00
Gerald Pfeifer
c34e39aa4c Update to the 20051115 snapshot of GCC 3.4.5. 2005-11-15 23:35:55 +00:00
Gerald Pfeifer
954f1e004b Update to the 20051108 snapshot of GCC 3.4.5. 2005-11-08 23:27:47 +00:00
Gerald Pfeifer
0f0ae96363 Update to the 20050920 snapshot of GCC 3.4.5. 2005-09-22 08:49:58 +00:00
Gerald Pfeifer
de5dc6f654 Update to the 20050913 snapshot of GCC 3.4.5.
This already contains the patch for static declarations from 2005/09/07.
2005-09-14 08:56:28 +00:00
Gerald Pfeifer
e7b226adbf Update to the 20050906 snapshot of GCC 3.4.5. 2005-09-11 10:15:00 +00:00
David E. O'Brien
9a1e2926b4 Fix bug where static forward declarations weren't accepted.
This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C.

Submitted by:	rodrigc
Obtained from:	http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html
2005-09-07 10:15:08 +00:00