summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-11-21 21:34:22 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-11-21 21:39:54 +0800
commit5772ad1157dd288e3eb151d44bdd4d80381c3fae (patch)
tree2b63792b8822588d9fe8f5dc893efa5c0a0ac2c1
parentdatabases/py-duckdb_engine: Add NO_ARCH (diff)
graphics/libgphoto2: Fix curl detection
Before: checking for libcurl to use... autodetect checking for LIBCURL... no checking libcurl config program... none ... ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/libgphoto2/%%VERSION%%/lumix.so ===> Error: Plist issues found. *** Error code 1 After: checking for curl/curl.h... yes checking for function curl_easy_init in libcurl... yes checking libcurl library flags... "-L/usr/local/lib -lcurl" checking libcurl cpp flags... "-I/usr/local/include" Approved by: portmgr (blanket)
-rw-r--r--graphics/libgphoto2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile
index 529ea779fd27..cf721209f02a 100644
--- a/graphics/libgphoto2/Makefile
+++ b/graphics/libgphoto2/Makefile
@@ -30,7 +30,7 @@ OPTIONS_SUB= yes
CURL_DESC= Lumix WiFi support via cURL
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
-CURL_CONFIGURE_OFF= --with-libcurl=no
+CURL_CONFIGURE_WITH= libcurl=${LOCALBASE}
GD_DESC= libGD conversion support
GD_LIB_DEPENDS= libgd.so:graphics/gd