From 76077bb7b0c0c69a24b9d8bdeab7e5dcda39aa62 Mon Sep 17 00:00:00 2001
From: Cem Keylan <cem@ckyln.com>
Date: Sat, 14 Aug 2021 17:18:59 +0300
Subject: update defaults

---
 config.def | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'config.def')

diff --git a/config.def b/config.def
index 5d44773..18ebdc4 100644
--- a/config.def
+++ b/config.def
@@ -9,8 +9,8 @@ MNTDIR="$PWD/rootfs"
 # List of packages to be installed
 # Most of those are already dependencies of each other but it is not a bad idea
 # to put them to the list anyway.
-PKGS="baselayout otools cl-utils cpt musl gcc make gzip xz zlib bzip2 binutils
-      byacc libressl curl linux-headers m4 flex busybox pkgconf rsync git"
+PKGS="baselayout musl otools cl-utils cpt gcc make gzip xz zlib bzip2 binutils
+      byacc libressl curl linux-headers flex busybox pkgconf rsync git"
 
 # BUILD FLAGS
 # It is a good idea to not use flags like "native". If you plan on using the
@@ -34,9 +34,8 @@ HOST_REPO_PATH="/tmp/repo/core"
 export MNTDIR PKGS CFLAGS CXXFLAGS REPO HOST_REPO_PATH MAKEFLAGS
 
 postinstall() {
-	# You can preferably add some custom # commands if you want a
-        # postinstall procedure. This runs right after cpt-install is complete.
-	cpt a | grep ^otools | cpt a -
+    # Switch to busybox grep as OpenBSD grep is too POSIX for some build systems
+    cpt a busybox /usr/bin/grep
 }
 
 # vim:filetype=sh
-- 
cgit v1.2.3

