Changeset View
Changeset View
Standalone View
Standalone View
head/net/libproxy/files/patch-bindings_CMakeLists.txt
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
Only build the library in the master port. | |||||
--- bindings/CMakeLists.txt.orig 2017-05-11 09:33:33 UTC | |||||
+++ bindings/CMakeLists.txt | |||||
@@ -20,6 +20,7 @@ if (WITH_PERL) | |||||
endif() | |||||
# Install Vala bindings / Install only when -DWITH_VALA is passed to cmake. | |||||
+if (WITH_LIBRARY) | |||||
option(WITH_VALA "Enables Vala bindings" OFF) | |||||
if(WITH_VALA) | |||||
if (NOT VAPI_DIR) | |||||
@@ -27,4 +28,5 @@ if(WITH_VALA) | |||||
endif() | |||||
install(FILES vala/libproxy-1.0.vapi DESTINATION ${VAPI_DIR}) | |||||
set(VAPI_DIR ${VAPI_DIR} CACHE PATH "Vala API directory") | |||||
+endif() | |||||
endif() |