freebsd-ports/lang/fpc/files/patch-compiler-utils_samplecfg
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

13 lines
495 B
Text

--- compiler/utils/samplecfg.orig 2015-08-06 19:47:53 UTC
+++ compiler/utils/samplecfg
@@ -38,8 +38,8 @@ sysfpdir=$sysfpdirbase2/text
# Detect if we have write permission in sysdir.
if [ -w "$sysdir" ] ; then
echo Write permission in $sysdir.
- fpccfgfile="$sysdir"/fpc.cfg
- fppkgfile="$sysdir"/fppkg.cfg
+ fpccfgfile="$sysdir"/fpc.cfg.sample
+ fppkgfile="$sysdir"/fppkg.cfg.sample
defaultfile="$sysdir"/fppkg/default
compilerconfigdir="-d CompilerConfigDir=$sysdir/fppkg"
else