Commit Graph

83 Commits

Author SHA1 Message Date
Jose Alonso Cardenas Marquez 82ac7a6add - lang/fpc revert way like linker is taken by fpc compiler
- lang/fpc add binutils to RUN_DEPENDS
- editors/lazarus add binutils to RUN_DEPENDS
- editors/lazarus add gmake to RUN_DEPENDS
- editors/lazarus install fpc units like RUN_DEPENDS too
- Bump PORTREVISiON of fpc/lazarus ports

PR:		251712
Reported by:	amdmi3
2021-01-14 21:11:15 +00:00
Jose Alonso Cardenas Marquez 43a5045a95 - Commit forgotten changes 2020-11-25 03:55:06 +00:00
Jose Alonso Cardenas Marquez 4ca1f77d7a - Update to 3.2.0
ChangeLog at:	https://wiki.freepascal.org/FPC_New_Features_3.2.0
2020-11-25 02:57:50 +00:00
Loïc Bartoletti b59496747d graphics/proj: Update to 7.2.0
Changelog:
  - https://proj.org/news.html#release-notes
2020-11-18 05:27:28 +00:00
Loïc Bartoletti 1141c4e8ef graphics/proj: Update to 7.1.1
- Add a pkg-message explaining how to access or sync datum grids from the CDN
  (disabled by default)
- Add curl and tiff dependencies since proj can read datum grids from remote
  COG (Cloud Optimized Geotiff)
- Take maintainer'ship (ok wen@)

PR:		245611
Submitted by:	wen (first version)
Reviewed by:	wen, rhurlin
Approved by:	wen
Exp-run by:	antoine
2020-11-17 09:23:58 +00:00
Jose Alonso Cardenas Marquez 8c8a336495 - Remove compat < 11 dependencies from bootstrap and compiler. It could fix problems
when GENERIC kernel is not used.
- Rebuild bootstrap (ppcx64 and ppc386) with new changes
- Bump PORTREVISION

PR:		239135
Reported by:	fbsdbugs4  at  sentry.org
2020-03-06 06:26:05 +00:00
Jose Alonso Cardenas Marquez 34196d10e5 - Change LDPATH to FPC_LDPATH into lang/fpc/Makefile. It can be changed from
/etc/make.conf
- Add FPC_LDPATH to freepascal compiler. By default it is defined to
  %%LOCALBASE%%/bin/ld.bfd but it can be changed setting FPC_LDPATH environment
  variable
- Remove compatX dependencies from bootstrap and compiler. It could fix problems
  when GENERIC kernel is not used [1]
- Rebuild bootstrap (ppcx64 and ppc386) with new changes
- Bump PORTREVISION

PR:		239135
Submitted by:	fbsdbugs4 __at__ sentry.org
2019-12-31 15:11:18 +00:00
Jose Alonso Cardenas Marquez c0b7145df2 - Rebuild bootstrap (ppcx64 and ppc386) with ld patches
- Fix build on 12-STABLE and CURRENT (amd64 and i386)
- Bump PORTREVISION for all ports that depends of lang/fpc
- Add USE_BINUTILS to fpc and lazarus based ports
- Add binutils dependency to Uses/fpc.mk and Uses/lazarus.mk

PR:		240293 239934 233413 214864
Exp-run by:	antoine
2019-09-03 15:51:50 +00:00
Jose Alonso Cardenas Marquez 4b5930e48a - Add new fpc bootstrap (i386 and x86_64). It could need less COMPATX
dependencies in kernel
- Add patch file to solve some linking problem
- Remove LD_UNSAFE. Now it can be defined via LDPATH (/usr/bin/ld.bfd by
  default). fpc is not working with lld. We will use binutils-ports when
  ld.bfd is moved from base if lld not working on future version
  of fpc
- Bump PORTREVISION
2019-08-15 16:11:27 +00:00
Yuri Victorovich 66e2bc4899 lang/fpc: Revert the LICENSE change because it conflicts with slave ports
Reported by:	acm
2018-06-28 03:11:45 +00:00
Yuri Victorovich 76623cd5a4 lang/fpc: Add LICENSE/LICENSE_FILE; Order ONLY_FOR_ARCHS
Approved by:	portmgr blanket
2018-06-28 00:05:13 +00:00
Jose Alonso Cardenas Marquez 5ab881a5d9 - Migrate Mk/bsd.fpc.mk to Mk/Uses/fpc.mk
- Convert all fpc-based ports to USES=fpc

PR:             227210
Reviewed by:    portmgr
Approved by:    portmgr
Exp-run by:     antoine
Differential Revision:  https://reviews.freebsd.org/D14617
2018-04-05 04:52:36 +00:00
Ed Maste 6276f061c2 lang/fpc: Set LLD_UNSAFE
fpc produces and needs to link an object file with invalid section
header alignment, which lld refuses to do.  The build fails with:

/usr/bin/ld: error: x86_64/units/x86_64-freebsd/i_linux.o: \
    invalid alignment of section headers

Setting LLD_UNSAFE makes the port link with ld.bfd instead.

PR:		222172
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-03-29 15:40:06 +00:00
Antoine Brodin 5e17927711 Do not override PLIST_SUB set by the framework
Reported by:	pkg-fallout (via fpc-symbolic)
2018-02-24 09:36:53 +00:00
Jose Alonso Cardenas Marquez f68185c820 - Update to 3.0.4
- Connect www/fpc-libmicrohttpd
2018-02-01 07:14:41 +00:00
Antoine Brodin a78ac4eb99 Revert recent fpc changes, they were obviously untested
With hat:	portmgr
2018-01-30 22:11:13 +00:00
Jose Alonso Cardenas Marquez 974c424370 - Update to 3.0.4
- Link www/fpc-libmicrohttpd
2018-01-30 18:05:29 +00:00
Mathieu Arnold bb5196a149 Remove support for variables that have been deprecated for a while.
variables                  deprecation       revision
WITHOUT_NLS                2013-12-13        r336337
WITH_/WITHOUT_             2014-02-24        r345870
NOPORT(DOC|EXAMPLE)S       2014-04-19        r351587
WITH_BDB_VER               2016-05-02        r414444
OVERRIDE_LINUX_BASE_PORT   2016-09-05        r421387
WITH_OPENSSL_(BASE|PORT)   2016-06-16        r416965

While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.

Cleanup bsd.sanity.mk a bit.

Fix fallout.

PR:		224613
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13490
2018-01-09 07:40:55 +00:00
Jose Alonso Cardenas Marquez 0c310fcadd - Pass maintainership to me. marino@ is not part of FreeBSD committers 2017-08-03 23:40:28 +00:00
Jose Alonso Cardenas Marquez 9f14548a75 - Freepascal update to 3.0.2
- Lazarus BUMP PORTREVISION
- Connect www/fpc-googleapi and devel/fpc-fcl-pdf
2017-02-26 17:38:04 +00:00
Dirk Meyer 3561a46f28 - update libgd to 2.2.2
- new MASTER_SITES
- add security patch
PR:		210913
Submitted by:	Piotr Kubaj
MFH:		2016Q3
Security: CVE-2015-8874
Security: CVE-2016-3074
Security: http://www.openwall.com/lists/oss-security/2016/07/12/4
2016-07-20 09:33:31 +00:00
John Marino 971c1c596a lang/fpc: Restore DragonFly support
FPC cannot use the gold linker.  Gold requires that the linker script have
the --script flag passed, but doing so will break FreePascal (the flags
causes the internal linker to be bypassed).  Since DragonFly switches
linkers through the environment and it's not clear how to set that, I've
hardcoded the linker path for DragonFly for now.  Also, we must avoid using
Gold for the bootstrap compiler (which has not been hardcoded) so passing
LDVER=ld.bfd during the bootstrap stage is necessary to guarantee this.
FreeBSD doesn't use this variable so its harmless on that OPSYS.

The other major fix was fixing the dirent record which differs on DragonFly.
This is why unit searching has always failed.

All patches will be submitted upstream.  This should be a no-op for FreeBSD,
thus no bump.
2015-12-21 09:57:34 +00:00
Mathieu Arnold faaac0db42 Don't use GH_TAGNAME when DISTVERSION* variables can be used.
With hat:	portmgr
Sponsored by:	Absolight
2015-12-08 09:05:15 +00:00
John Marino f01cba6e50 FPC ecosystem: Upgrade version 2.6.4 => 3.0.0
This is the first major release of FreePascal in nearly four years.
There are a ton of new features, way more to list here. see:
http://wiki.freepascal.org/FPC_New_Features_3.0

Several new unit ports were added, some were contracted.  Most of
those were absorbed into the main FPC packages, but two units are
no longer supported: sndfile and matroshka.

All 99 remaining ports (including Lazarus ports) were build tested
on FreeBSD i386 and amd64 Release 10.2
2015-12-05 23:29:36 +00:00
Mathieu Arnold 21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
John Marino 2d4447cf51 lang/fpc: Remove unnecessarily variable substition and EXTRACT_SUFX
There were several substitions like "${XXX:S/$/.something/} which is the
equivalent of appending, e.g. "${XXX}.something".

So for the sake of comprehension, change these to appends, and also just
hardcode ".tar.gz" instead of using ${EXTRACT_SUFX} for the same reason.
Since the distfiles are being manually defined, there's no real purpose
to have a variable in the name, and if the EXTRACT_SUFX changes for any
reason (say a new distfile with a different suffix requiring USES+=tar),
then the code actually breaks.  These changes make the code easier to
read, comprehend, and arguably makes the port more robust.
2015-01-10 14:41:53 +00:00
John Marino dbb38c3c5e lang/fpc: Remove googlecode from MASTER_SITES
The googlecode URL only provides 2.6.0 and 2.6.2 versions of the man pages
and bootstrap compiler, but not the current 2.6.4, so remove those urls.

While here, simplify the LOCAL distcache site urls.  The substition is not
necessary.
2015-01-10 13:53:16 +00:00
John Marino fe0e6bcacc lang/fpc: Prepare for 3.0 and the use of older bootstrap
The Free Pascal Compiler port currently mandates that the bootstrap
compiler be the same version of the compiler being built.  This means that
every update requires a new bootstrap compiler to be generated before the
update.  This goes against the philosophy of a bootstrap compiler, which
aims to allow older compilers to build self-hosting modern compilers.  FPC
is capable of this, but the feature wasn't being leveraged.

There are a lot of changes in this commit, but I believe the resulting
compiler is the same as before the commit, thus PORTREVISION has not been
bumped.  Changes include:

  * Add DragonFly bootstrap compiler 2.6.4 to list of distfiles
  * use OPSYS to make builds generic between FreeBSD and DragonFly
  * Add FREEBSD PLIST variable as FreeBSD builds an extra unit
  * Create the framework to have a bootstrap compiler of an older version
    than the current version (BOOTVER variable)
  * split PP variable out of MAKE_ARGS and use NEWPPC or BOOTPPC to
    specify PP uniquely (required when bootstrap version is different)
  * wrap compound command with parenthesis
  * Use options lists on TAR man page (xfz without hyphen is legacy)
  * unmask installation commands
  * respect 80-column limits, wrapping as necessary
  * bring in some dports-specific changes that have no effect on port
    to eliminate dports patch files

future work:

  When version 3.0 is released, the new fpc make program will be built
  which will have some moderate impacts to the build process and it
  will use a "bootstrap" target.

  The intention is to continue using the 2.6.4 bootstrap compilers to
  build the upcoming 3.0 compiler when it is released.  New bootstrap
  compilers will not be generated until the existing bootstrap compilers
  are unable to bootstrap the upcoming release.
2015-01-09 20:00:30 +00:00
John Marino d2ffff55de Assign maintainership of FPC ports to new FPC ports team
The new team currently consists of the previous maintainer (acm@) and
myself (marino@).

PR:	195363
2015-01-05 00:16:00 +00:00
Dmitry Marakasov 73fbdc69d5 - Use proper command for manpage installation
- Strip binaries

Approved by:	bapt
2014-12-24 11:58:46 +00:00
John Marino c04ee0e4cb lang/fpc: IGNORE on DragonFly (for now, support is long-term goal) 2014-10-23 08:53:57 +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
Jose Alonso Cardenas Marquez 14627e1fc1 - Update to 2.6.4 2014-03-26 03:32:45 +00:00
Antoine Brodin 60ce08befa Stage support 2014-02-20 20:10:44 +00:00
Antoine Brodin 864284545c Stage support 2014-01-28 00:16:57 +00:00
Jose Alonso Cardenas Marquez c597c9a763 - Fix static linking issues on amd64
- Bump PORTREVISION
2013-10-02 02:44:05 +00:00
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
Guido Falsi 083576c0af Teach fpc not to try to link to libiconv on head after the iconv change.
This fixes the lang/fpc-utils port build.

Bump PORTREVISION due to runtime behaviour change on head.

Approved by:	portmgr (bapt, implicit)
2013-09-06 15:15:10 +00:00
Sunpoet Po-Chuan Hsieh c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00
Jose Alonso Cardenas Marquez 9bcc09b9f2 - Update to 2.6.2
- Trim Makefile headers
2013-03-23 05:25:05 +00:00
Jose Alonso Cardenas Marquez b8b76a83c2 - Fix install
Reported by:	pav
2012-05-17 19:27:39 +00:00
Jose Alonso Cardenas Marquez ab3da0c113 - Fix a problem when fpc.cfg is removed on deinstall time
- Bump PORTREVISION

Reported by:	erwin
2012-05-16 21:49:29 +00:00
Jose Alonso Cardenas Marquez 1be5873e61 - Add ${LOCALBASE}/lib/qt4 path to fpc.cfg config file
- Bump PORTREVISION
2012-05-07 18:51:22 +00:00
Jose Alonso Cardenas Marquez 0fde88adba - Update to 2.6.0 2012-04-19 06:20:01 +00:00
Olli Hauer d91f5feda8 - set EXPIRATION_DATE to "one week after FreeBSD 9.0-RELEASE-p0"
with hat apache@
2011-08-27 09:55:12 +00:00
Jose Alonso Cardenas Marquez 424718714b - Update to 2.4.4 2011-06-23 05:05:29 +00:00
Philip M. Gollucci 116ec22ac1 - DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
2010-12-29 20:04:42 +00:00
Jose Alonso Cardenas Marquez 23c3f0f32d - Update to 2.4.2
See changelog at: http://wiki.freepascal.org/User_Changes_2.4.2
2010-11-15 22:50:00 +00:00
Jose Alonso Cardenas Marquez 7bcde27b94 - Update to 2.4.0
- Add support for amd64 [1]
- Add 23 new ports to  to bsd.fpc.mk
- Remove obsolete patch file patch-packages-fcl-db_Makefile
- Turn off some optional dependencies like databases/unixODBC,
  graphics/svgalib, databases/oracle8-client for avoid break amd64 support
- Clean up

PR:	ports/146001
Submmitted by:	Christopher Key <cjk32__ at _cam.ac.uk>
Patch reviewed by:	marcov_ at _pascalprogramming.com (fpc developer)[1]
2010-08-16 17:45:15 +00:00
Dmitry Marakasov 048988d9ba - Fix some more SF URLs, including ones in PATCH_SITES and comments (for consistency)
Approved by:	portmgr (pav)
2009-08-27 18:31:08 +00:00