Originally named FPK-Pascal, the Free Pascal compiler is a 32 bit and 64 bit
Turbo Pascal compatible Pascal compiler for DOS, Linux, Win32, OS/2,
(based on an older version) the AmigaOS, FreeBSD/ELF, BeOS, Darwin(OSX)
and others.
lang/fpc*: Fix build cleaning env before sub-gmake
Arguments passed to make for the top level port build for lang/fpc
can be consumed by gmake used to build the actual upstream project
(vs the ports infrastructure 'make' operations).
For instance, make -DNO_DEPENDS stage will pass
"MAKEFLAGS= -D NO_DEPENDS ..." in the environment
to the gmake invocation. gmake chokes on that with the following:
: invalid option -- D
A fix for that is to clear the environment as with the ports
572f2361692640bc27729191b1267aa3fcc354a7 commit that added SETENVI
and WRK_ENV.
PR: 291061
Reported by: jcfyecrayz __at__ liamekaens.com
lang/fpc: update to 3.2.3
- Now we will use fixes_3.2 branch. It includes fixes of stable branch of fpc
- Remove obsolete patch files
- Change FPC DEFAULT version to 3.2.3
lang/fpc-*: Merge all units to lang/fpc
- Merge all fpc-* units to lang/fpc. It gives us a better way to maintain fpc
and lazarus ports.
- Update Mk/fpc.mk for reflects new changes
- Update Mk/lazarus.mk for reflects new changes
- Now we can defined WANT_FPC_DEVEL AND WANT_LAZARUS_DEVEL for use devel version
of fpc or lazarus for build apps based on fpc/lazarus
- Add entries to MOVED
- Bump PORTREVISON of affected ports
- Some other minor modifications
lang/fpc: Refresh mirrorlist for source tarball
Remove dead mirrors and use SourceForge as primary
While at it, switch ftp mirror to https
Approved by: portmgr (blanket, infrastructure)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f 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)
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.
(Only the first 15 lines of the commit message are shown above )
lang/fpc: Fix build issues building some fpc based apps
- Add missing parameter to getdirentries syscall function
- Re-build i386 and amd64 bootstrap
- Revert fpc-i386 (FPC_USE_LIBC) build to syscall build
- Bump PORTREVISION in all ports dependant of freepascal compiler
lang/fpc-*: Update bootstrap to 3.2.2
- Update i386 and amd64 bootstrap to 3.2.2
- Fix issues with new stat struct
- Now i386 is build using FPC_USE_LIBC
- Fix build on i386 when FPC_USE_LIBC is used
- Update fpc source code to newer kernel syscalls. It removes COMPAT11
dependency. Now these ports support FreeBSD >= 12.x
- Bump PORTREVISION
lang/fpc: unbreak on i386 after e40d870fc3cb
$ make checksum ARCH=i386
===> fpc-3.2.2 depends on file: /usr/local/sbin/pkg - found
=> freepascal/ppc386-3.0.4-freebsd.tar.gz is not in
/usr/ports/lang/fpc/distinfo.
=> Either /usr/ports/lang/fpc/distinfo is out of date, or
=> freepascal/ppc386-3.0.4-freebsd.tar.gz is spelled incorrectly.
*** Error code 1
- 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
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
- 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
- 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
- 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: 240293239934233413214864
Exp-run by: antoine
- 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
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
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
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.
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
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
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.
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.
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
(Only the first 15 lines of the commit message are shown above )
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
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
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)
Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.
Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
- change required APACHE version from 13+ to 20+
(prepare to remove www/apache13)
- no PORTREVISION bump since apache22 is the default
with hat apache@
- update fftw3* to 3.3 [1], and adjust dependent ports
- make use of optimizations by default, where possible
(quad flavor to follow shortly, and mpi at a later date)
Suggestions and patches from: ache, C. Burns, wen
- 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)