aboutsummaryrefslogtreecommitdiff
path: root/lang/fpc-devel/files/patch-compiler-utils_samplecfg
diff options
context:
space:
mode:
Diffstat (limited to 'lang/fpc-devel/files/patch-compiler-utils_samplecfg')
-rw-r--r--lang/fpc-devel/files/patch-compiler-utils_samplecfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/fpc-devel/files/patch-compiler-utils_samplecfg b/lang/fpc-devel/files/patch-compiler-utils_samplecfg
new file mode 100644
index 000000000000..901f71d8cf35
--- /dev/null
+++ b/lang/fpc-devel/files/patch-compiler-utils_samplecfg
@@ -0,0 +1,13 @@
+--- 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