summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-27 22:39:17 +0800
committerruki <[email protected]>2023-10-27 22:39:17 +0800
commiteeda646a4e32b3d672a8097fe995cbdcf101c7aa (patch)
tree45b6ac367fde44f1e2a60b4713474b5280783add
parent30b0405058c7a90ec60f36179993c74b59717994 (diff)
update configure
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e3599bda3..5d26a61d6 100755
--- a/configure
+++ b/configure
@@ -258,7 +258,7 @@ _os_find() {
_os_date() {
if test_z "${SOURCE_DATE_EPOCH}"; then
_ret=$(date +"${1}")
- elif is_host "macosx"; then
+ elif is_host "macosx" "freebsd" "bsd"; then
_ret=$(date -u -r "$SOURCE_DATE_EPOCH" +"${1}")
else
_ret=$(date -u -d "@$SOURCE_DATE_EPOCH" +"${1}")