summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/sort/Makefile2
-rw-r--r--share/mk/bsd.own.mk2
-rw-r--r--tools/build/options/WITH_BSD_SORT2
-rw-r--r--tools/build/options/WITH_GNU_SORT2
-rw-r--r--usr.bin/sort/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/sort/Makefile b/gnu/usr.bin/sort/Makefile
index a116a63..bf193bc 100644
--- a/gnu/usr.bin/sort/Makefile
+++ b/gnu/usr.bin/sort/Makefile
@@ -5,7 +5,7 @@ SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort
.include <bsd.own.mk>
-.if ${MK_BSD_SORT} != "yes"
+.if ${MK_GNU_SORT} == "yes"
PROG= sort
.else
PROG= gnusort
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 7d31a39..aadd492 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -415,7 +415,6 @@ __DEFAULT_YES_OPTIONS = \
__DEFAULT_NO_OPTIONS = \
BSD_GREP \
- BSD_SORT \
BIND_IDN \
BIND_LARGE_FILE \
BIND_LIBS \
@@ -424,6 +423,7 @@ __DEFAULT_NO_OPTIONS = \
CLANG_EXTRAS \
CLANG_IS_CC \
CTF \
+ GNU_SORT \
HESIOD \
ICONV \
IDEA \
diff --git a/tools/build/options/WITH_BSD_SORT b/tools/build/options/WITH_BSD_SORT
deleted file mode 100644
index a9e654d..0000000
--- a/tools/build/options/WITH_BSD_SORT
+++ /dev/null
@@ -1,2 +0,0 @@
-.\" $FreeBSD$
-Install BSD-licensed sort as 'sort' instead of GNU sort.
diff --git a/tools/build/options/WITH_GNU_SORT b/tools/build/options/WITH_GNU_SORT
new file mode 100644
index 0000000..6bd32c9
--- /dev/null
+++ b/tools/build/options/WITH_GNU_SORT
@@ -0,0 +1,2 @@
+.\" $FreeBSD$
+Install GNU-licensed sort as 'sort' instead of BSD sort.
diff --git a/usr.bin/sort/Makefile b/usr.bin/sort/Makefile
index 14e69e5..c17f9e3 100644
--- a/usr.bin/sort/Makefile
+++ b/usr.bin/sort/Makefile
@@ -2,7 +2,7 @@
.include <bsd.own.mk>
-.if ${MK_BSD_SORT} == "yes"
+.if ${MK_GNU_SORT} != "yes"
PROG= sort
.else
PROG= bsdsort
OpenPOWER on IntegriCloud