summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2022-12-06 15:22:18 +0000
committerschmonz <schmonz@pkgsrc.org>2022-12-06 15:22:18 +0000
commit7625751796588a18309ee0bd64667efc92ffc9dc (patch)
tree094e1ffc75c91d009d31cda9ec7bb4f009dafd41 /bootstrap
parent3456eb61c92604cd30d02a265366152230561441 (diff)
downloadpkgsrc-7625751796588a18309ee0bd64667efc92ffc9dc.tar.gz
README.Cygwin: if using git, make sure to checkout with Unix line endings.
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/README.Cygwin16
1 files changed, 15 insertions, 1 deletions
diff --git a/bootstrap/README.Cygwin b/bootstrap/README.Cygwin
index a333b38aa80..2e703fce290 100644
--- a/bootstrap/README.Cygwin
+++ b/bootstrap/README.Cygwin
@@ -1,9 +1,23 @@
-$NetBSD: README.Cygwin,v 1.2 2016/07/03 15:16:47 sevan Exp $
+$NetBSD: README.Cygwin,v 1.3 2022/12/06 15:22:18 schmonz Exp $
Please read the general README file as well.
==========================================================================
+If fetching pkgsrc via git, make sure you get it with Unix line endings:
+
+ $ git clone https://github.com/NetBSD/pkgsrc.git \
+ --config core.eol=lf \
+ --config core.autocrlf=input
+
+If you've already fetched pkgsrc without these options, fix up the line
+endings now:
+
+ $ cd pkgsrc
+ $ git config core.eol lf
+ $ git config core.autocrlf input
+ $ git checkout-index --force --all
+
pkgsrc supports both gcc (GNU Compiler Collection) and clang (C Language Family
Frontend for LLVM). gcc is the default.