aboutsummaryrefslogtreecommitdiff
path: root/ports/libodb-pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libodb-pgsql')
-rw-r--r--ports/libodb-pgsql/CONTROL3
-rw-r--r--ports/libodb-pgsql/portfile.cmake1
2 files changed, 3 insertions, 1 deletions
diff --git a/ports/libodb-pgsql/CONTROL b/ports/libodb-pgsql/CONTROL
index a6988eeb0..5268b44dc 100644
--- a/ports/libodb-pgsql/CONTROL
+++ b/ports/libodb-pgsql/CONTROL
@@ -1,5 +1,6 @@
Source: libodb-pgsql
-Version: 2.4.0-3
+Version: 2.4.0
+Port-Version: 4
Homepage: https://www.codesynthesis.com/products/odb/
Description: Description: PostgreSQL support for the ODB ORM library
Build-Depends: libodb, libpq
diff --git a/ports/libodb-pgsql/portfile.cmake b/ports/libodb-pgsql/portfile.cmake
index 29e58fd13..cf84b650a 100644
--- a/ports/libodb-pgsql/portfile.cmake
+++ b/ports/libodb-pgsql/portfile.cmake
@@ -8,6 +8,7 @@ vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
)
+file(REMOVE "${SOURCE_PATH}/version")
file(COPY
${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt