mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-12 06:40:08 +02:00
57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
From 1929ca0232bbf031ef623d47e8a079f26bec3d66 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sun, 21 May 2017 17:08:44 +0200
|
|
Subject: fix path for libincludedir
|
|
|
|
|
|
diff --git a/libzip.pc.in b/libzip.pc.in
|
|
index d51b0ab..fae05fb 100644
|
|
--- a/libzip.pc.in
|
|
+++ b/libzip.pc.in
|
|
@@ -3,6 +3,7 @@ exec_prefix=${prefix}
|
|
bindir=@bindir@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
+libincludedir=@includedir@
|
|
|
|
zipcmp=${bindir}/zipcmp
|
|
|
|
--
|
|
2.37.3
|
|
|
|
|
|
From 11dcd4d8eea63923cbf087f43df7fefb16262414 Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Thu, 11 May 2023 09:23:45 +0200
|
|
Subject: search fts in libbsd
|
|
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d00a4f9..1dc26b5 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -122,6 +122,7 @@ if(HAVE_FTS_H)
|
|
check_function_exists(fts_open HAVE_FTS_OPEN)
|
|
if(NOT HAVE_FTS_OPEN)
|
|
check_library_exists(fts fts_open "" HAVE_LIB_FTS)
|
|
+ check_library_exists(bsd fts_open "" HAVE_LIB_BSD)
|
|
else(NOT HAVE_FTS_OPEN)
|
|
set(HAVE_LIB_FTS "" CACHE INTERNAL "")
|
|
endif(NOT HAVE_FTS_OPEN)
|
|
@@ -132,7 +133,11 @@ endif(HAVE_FTS_H)
|
|
if(HAVE_LIB_FTS)
|
|
set(FTS_LIB fts CACHE INTERNAL "")
|
|
else()
|
|
- set(FTS_LIB "" CACHE INTERNAL "")
|
|
+ if(HAVE_LIB_BSD)
|
|
+ set(FTS_LIB bsd CACHE INTERNAL "")
|
|
+ else()
|
|
+ set(FTS_LIB "" CACHE INTERNAL "")
|
|
+ endif()
|
|
endif()
|
|
|
|
check_include_files(stdbool.h HAVE_STDBOOL_H)
|
|
--
|
|
2.37.3
|
|
|