aboutsummaryrefslogtreecommitdiff
path: root/ports/liburing/fix-configure.patch
diff options
context:
space:
mode:
authorPark DongHa <luncliff@gmail.com>2021-07-17 04:53:49 +0900
committerGitHub <noreply@github.com>2021-07-16 12:53:49 -0700
commitbbe9763f6254298470dddb6eaf186b13c37459fd (patch)
tree287168b08e14dbe430f6a76818cbf8399219c57d /ports/liburing/fix-configure.patch
parent588b1e66f9c18e0887eeaea8dfb49ff856acf683 (diff)
downloadvcpkg-bbe9763f6254298470dddb6eaf186b13c37459fd.tar.gz
vcpkg-bbe9763f6254298470dddb6eaf186b13c37459fd.zip
[liburing] create a new port (#17623)
* [liburing] create a new port * [liburing] patch datadir * [liburing] add port usage * with CMake module: FindPkgConfig * Update ports/liburing/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * [liburing] comments for BUILD_SHARED * update git-tree SHA * [liburing] fix portfile * [liburing] configure with ENABLE_SHARED * update git-tree SHA * Update ports/liburing/usage * [liburing] fix mistype in usage * update git-tree SHA Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/liburing/fix-configure.patch')
-rw-r--r--ports/liburing/fix-configure.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/ports/liburing/fix-configure.patch b/ports/liburing/fix-configure.patch
new file mode 100644
index 000000000..92ebf2826
--- /dev/null
+++ b/ports/liburing/fix-configure.patch
@@ -0,0 +1,35 @@
+diff --git a/configure b/configure
+index 3b96cde..56d5cb0 100755
+--- a/configure
++++ b/configure
+@@ -18,16 +18,18 @@ for opt do
+ ;;
+ --mandir=*) mandir="$optarg"
+ ;;
+- --datadir=*) datadir="$optarg"
++ --datarootdir=*) datadir="$optarg"
+ ;;
+ --cc=*) cc="$optarg"
+ ;;
+ --cxx=*) cxx="$optarg"
+ ;;
++ --enable-shared) ENABLE_SHARED=1
++ ;;
++ --enable-static) ENABLE_SHARED=0
++ ;;
+ *)
+- echo "ERROR: unknown option $opt"
+- echo "Try '$0 --help' for more information"
+- exit 1
++ echo "WARNING: unknown option $opt"
+ ;;
+ esac
+ done
+@@ -119,6 +121,7 @@ echo "# Automatically generated by configure - do not modify" > $config_host_mak
+ printf "# Configured with:" >> $config_host_mak
+ printf " '%s'" "$0" "$@" >> $config_host_mak
+ echo >> $config_host_mak
++echo "ENABLE_SHARED=${ENABLE_SHARED}" >> $config_host_mak
+
+ do_cxx() {
+ # Run the compiler, capturing its output to the log.