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)
This commit is contained in:
Po-Chuan Hsieh 2024-11-21 21:34:22 +08:00
parent 0ceca07d5c
commit 5772ad1157
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -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