Commit graph

81 commits

Author SHA1 Message Date
Lorenzo Salvadore
85f7ee26d6
cad/alliance: Fix build with GCC 14
GCC 14 has transformed some warnings into errors: revert them to simple
warnings.

PR:		281223
Reported by:	exp-run (antoine)
2024-09-05 11:48:38 +02:00
Baptiste Daroussin
28cfe20550 MANPREFIX: eleminate its usage and move man to share/man 2024-01-08 17:30:29 +01:00
Felix Palmen
7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00
Felix Palmen
a6bb2f8c5e Mk/Uses/magick.mk: Bump all consumers
Bump all consumers of ImageMagick ports after flavorizing them.

Approved by:	tcberner (mentor, implicit)
2023-04-30 13:10:42 +02:00
Gerald Pfeifer
8d3e020ed0 *: Bump PORTREVISIONs for math/mpc update to 1.3.1 2023-04-23 09:09:58 +00:00
Muhammad Moinur Rahman
721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00
Thierry Thomas
99731f4c23 cad/alliance: unbreak
- upstream has not released a new version, but several fixes have been
  committed: get the source from GitLab and remove BROKEN;
- change WWW;
- enable shared libs;
- optionalize examples and tutorial.
2022-11-20 16:41:51 +01:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
2022-09-07 23:10:59 +02:00
Tobias C. Berner
b46abf8056 cad: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Andersson <anders@hack.org>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Christoph Moench-Tegeder <cmt@FreeBSD.org>
  *  David Yeske <dyeske@gmail.com>
  *  Diane Bruce <db@db.net>
  *  Joachim Strombergson <watchman@ludd.ltu.se>
  *  Johnny Sorocil <jsorocil@gmail.com>
  *  Julian Jenkins <kaveman@magna.com.au>
  *  Marc Fonvieille <blackend@FreeBSD.org>
  *  Mario S F Ferreira <lioux@linf.unb.br> et al.
  *  Martin Dieringer <martin.dieringe@gmx.de>
  *  Matthias Petermann <matthias@petermann-it.de>
  *  Michael Durian <durian@shadetreesoftware.com>
  *  Michael Reifenberger <mr@FreeBSD.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Otacilio de Araujo Ramos Neto <otacilio.neto@bsd.com.br>
  *  Pedro F. Giffuni
  *  Pedro F. Giffuni <giffunip@asme.org>
  *  Pedro Giffuni
  *  Pedro Giffuni <giffunip@asme.org>
  *  Rusmir Dusko <nemysis@FreeBSD.org>
  *  Sarod Yatawatta <sarod@cs.pdn.ac.lk>
  *  Sergio Lenzi <lenzi.sergio@gmail.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Thierry Thomas <thierry@FreeBSD.org>
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Veniamin Gvozdikov <vg@FreeBSD.org>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  gahr
  *  hrs
  *  ijliao
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  lon_kamikaze@gmx.de
  *  stas
  *  swallace
  *  thierry@pompo.net

With hat:	portmgr
2022-07-20 16:20:58 +02:00
Muhammad Moinur Rahman
6e7c07e3a6 cad/alliance: Mark BROKEN
Fails to build with new TeX2021
2022-02-18 23:35:53 -06:00
Stefan Eßer
bdd2d4af96 Update CONFLICTS definitions in categories a* to c*
Update the CONFLICTS definitions of ports in the following categories:

- accessibility
- archivers
- audio
- benchmarks
- biology
- cad
- chinese
- comms
- converters

An attempt has been made to use generic conflicts patterns that do not
have to be updated whenever a new version of a conflicting port is
added to the ports system.

There is a misunderstanding that the port being built/installed has to
be omitted from the conflicts pattern. This is not true - the port
being built is implicitly non-conflicting due to logic in bsd.port.mk.

Approved by:	portmgr (implicit)
2022-02-06 19:36:07 +01:00
Tobias C. Berner
45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00
Alexey Dokuchaev
1568bb8e00 cad/alliance: respect users' IMAGEMAGICK_DEFAULT setting
While here, fix submake invocation correctly and quote the
explanation from the GNU make manual.
2021-11-26 06:31:58 +00:00
Stefan Eßer
04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-25 22:40:11 +01:00
Stefan Eßer
7ba4b2ecb9 cad/alliance: no longer BROKEN after fig2dev upgrade
The port had been makred broken due to build issed with fig2dev
version 3.2.7, which has been upgraded to 3.2.8a, allowing this
port to be built again.
2021-06-05 18:27:45 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Antoine Brodin
846739d07f Mark BROKEN
fig2dev -L eps ctl-mrs-1.fig > ctl-mrs-1.eps
Invalid ellipse object at line 46.

Reported by:	pkg-fallout
2020-11-01 14:10:23 +00:00
Kurt Jaeger
e7c978bc8a cad/alliance: replace transfig with fig2dev 2020-10-18 20:14:50 +00:00
Tobias Kortkamp
373fe72e76 cad/alliance: Unbreak build with GCC 10 (-fno-common default)
/usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x24): multiple definition of `pat_decl_y_errflag'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x20): first defined here
/usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x10): multiple definition of `pat_decl_y_val'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x10): first defined here
/usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x0): multiple definition of `pat_decl_y_lval'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x0): first defined here
/usr/local/bin/ld: /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_desc_y.o):(.bss+0x2c): multiple definition of `pat_decl_y_debug'; /wrkdirs/usr/ports/cad/alliance/work/alliance/src/pat/src/.libs/libPat.a(pat_decl_y.o):(.bss+0x24): first defined here

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/alliance-5.1.1_1.log

Also USES=compiler:c++0x & USE_GCC=any can be reduced to USE_GCC=yes

PR:		246700
2020-07-26 20:16:11 +00:00
Jung-uk Kim
3a87ad06d6 Honor $YACC and fix build with recent byacc.
PR:		247522
2020-07-14 01:39:42 +00:00
Piotr Kubaj
5449794204 cad/alliance: fix build on GCC architectures
Use C++0x compiler:
cc1plus: error: unrecognized command line option "-std=gnu++0x"

Approved by:	mentors (implicit approval)
2019-10-07 14:10:04 +00:00
Niclas Zeising
00a1e1c138 cad/alliance: Really remove libXp dependency 2019-09-30 18:21:18 +00:00
Niclas Zeising
99cbb2b29e cad/alliance: remove dependency on libXp
remove the dependency on libXp from cad/alliance, it isn't needed.  Fix the
configure script to not detect libXp even if it is installed on the system.
2019-09-30 18:18:45 +00:00
Kai Knoblich
1823b021c2 cad/alliance: Update to 5.1.1, remove BROKEN and undeprecate
* The code has been modernized so most of the patches and the workaround
  with USE_CXXSTD are therefore no longer required.  USE_GCC is still needed
  for build as some files cannot be compiled with Clang.

  The updated code also contains no more occurences of the long deprecated
  gets(3) function which has been removed since FreeBSD 1300043. [1]

* A patch from Debian's patchset [2] is required to remedy build issues
  with the documentation.

* Add USE_XORG to pass stage QA as some binaries are linked against various
  X libraries.  Among these libraries is also the recently deprecated
  x11/libXp, which is probably not needed but (still) pulled in by the
  OpenMotif toolkit.

* Also pet portlint/portclippy while I'm here by grouping related USE_*
  variables to the USES block and sort the other variables according to the
  PHB.

PR:		238686
Submitted by:	Loïc Bartoletti <lbartoletti@tuxfamily.org> (based on)
Reported by:	emaste [1]
Obtained from:	Debian [2]
2019-09-28 11:11:14 +00:00
Antoine Brodin
637b3d75f3 Deprecate a few ports 2019-09-15 17:28:08 +00:00
Mathieu Arnold
a6c40a689b Convert to UCL & cleanup pkg-message (categories a-c) 2019-08-13 16:00:39 +00:00
Antoine Brodin
28ca9c0b13 Mark BROKEN: unfetchable 2019-08-04 08:31:22 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jan Beich
ec5d9a54d6 Downgrade C++03 to C++98, actual default for GCC < 6
GCC 4.2 in base system doesn't support C++03:
cc1plus: error: unrecognized command line option "-std=gnu++03"
2018-10-28 09:36:56 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Mark Linimon
aff42c7199 Mark ports broken on mips64 that are already broken on powerpc64. In
most cases, the failure mode is the same.  Also, mark them broken on
mips when necessary.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-07-02 04:00:29 +00:00
Mark Linimon
a875dccebc Mark ports broken on powerpc64, categories a-c.
While here, pet portlint and do some other cleanup.

Approved by:	portmgr (tier-2 blanket)
2018-06-18 01:48:46 +00:00
Alexey Dokuchaev
663bf43fa6 For ports under cad', devel', dns, and `math' categories: remove
redundant PKGMESSAGE assignment, which is set appropriately by the
b.p.m when `pkg-message' appears on the SUB_FILES list.
2018-05-05 15:09:22 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Cy Schubert
6198309bba Register net/fsbclient and cad/alliance conflict.
Reported by:	rodrigo
2017-10-05 01:54:56 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Raphael Kubo da Costa
46c6648139 Explicitly pass -std=gnu++03 to the compiler.
This fixes the build with GCC 6, which defaults to -std=gnu++14. The port's
code does not work with C++11 or later.

PR:		219275
2017-08-18 12:21:43 +00:00
Mark Linimon
3980169c5f Provide error messages for some ports failing on aarch64, and, in a
few cases, other tier-2 archs.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-05-01 19:24:00 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
f3dc33ecc2 cad/alliance: unbreak on 12.0 after base r308264
In file included from /usr/include/math.h:20:0,
                 from rutacces.c:18:
ruterror.h:49:14: error: expected identifier or '(' before '__builtin_choose_expr'
 extern char *basename();
              ^

Reported by:	pkg-fallout
2017-02-01 20:21:38 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Mathieu Arnold
88bfe4bd43 Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
2015-05-11 18:34:57 +00:00
Baptiste Daroussin
afb0da4983 Cleanup plist 2014-10-20 07:19:22 +00:00
John Marino
a3951781e6 cad/alliance: Upgrade version 5.0.20090901 => 5.0.20120515, stage
This port was marked broken due to a bison error.  The newest version had
the same flaw, but I got the fix from Debian.  The 5.0.20120512 is also
not limited to i386, it builds fine on amd64 now.

It is still not jobs safe (it can't find libVrd before it's built) but
I suspect only minor changes are necessary to make it jobs safe.
2014-08-30 16:41:04 +00:00
Adam Weinberger
08a006d08a Rename all patches that contain '::' as a path separator, and use
'__' instead.
2014-07-29 17:12:47 +00:00
Baptiste Daroussin
64620e9118 Reset maintainership for ports not staged with no pending PR
With hat:	portmgr
2014-07-23 16:44:27 +00:00
Antoine Brodin
5f1f20ce4d Mark broken: Does not compile
on 8 and 9:
 cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"alliance\" -DVERSION=\"5.0\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DRETSIGTYPE=void -DHAVE_MOTIF=1 -DHAVE_XPM=1 -DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_XP=1 -DHAVE_MOTIF=1 -DHAVE_XMUSEVERSION=1 -DHAVE_XMINSTALLIMAGE=1 "-DALLIANCE_VERSION=\"5.0 20090901\"" -DALLIANCE_TOP=\"/usr/local/alliance\" -I. -I. -I../../mbk/src -I../../pat/src -O2 -pipe -fno-strict-aliasing -MT pat_decl_y.lo -MD -MP -MF .deps/pat_decl_y.Tpo -c pat_decl_y.c  -fPIC -DPIC -o .libs/pat_decl_y.o
y.tab.c:562: error: duplicate 'extern'

on 10 and head:
elp.c:252:1: error: non-void function 'elpLotrsShrink' should return a value [-Wreturn-type]
return ;
^
elp.c:460:1: error: non-void function 'elpLofigCapaDiff' should return a value [-Wreturn-type]
return ;
^
elp.c:490:1: error: non-void function 'elpLofigCapaGrid' should return a value [-Wreturn-type]
return ;
^
elp.c:518:1: error: non-void function 'elpLofigShrink' should return a value [-Wreturn-type]
return ;

Reported by:	pkg-fallout since august 2013
2014-02-12 20:42:58 +00:00
Baptiste Daroussin
56fcf8379f Fix properties on pkg-plist 2014-01-21 23:18:05 +00:00