[Bug 279430] devel/subversion silent dependency on pkgconf

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 May 2024 11:05:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279430

Vladimir Druzenko <vvd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvd@FreeBSD.org

--- Comment #2 from Vladimir Druzenko <vvd@FreeBSD.org> ---
Try this:
 .if ${PORT_OPTIONS:MSTATIC}
+USES+=          pkgconfig
 LIBS_SQLITE3!=  pkgconf --libs --static sqlite3
 LIBS+=          ${LIBS_SQLITE3}
 # for work with ICU
 LIBS+=          -lc++ -lm
 .endif

Or this:
 .if ${PORT_OPTIONS:MSTATIC}
+USES+=                  pkgconfig
 .  if ${PORT_OPTIONS:MNLS}
 USES+=                  gettext-tools
 .  endif
 .  if ${PORT_OPTIONS:MBDB}
 BDB_BUILD_DEPENDS=      yes
 .  endif
 OLD_LIB_DEPENDS:=      
${LIB_DEPENDS:S!^!${LOCALBASE}/lib/!:C!(\.so|\.[0-9]+)?:!.a:!}
 BUILD_DEPENDS+=         ${OLD_LIB_DEPENDS}
 LIB_DEPENDS=
 .endif

-- 
You are receiving this mail because:
You are the assignee for the bug.