net/remmina: Add USES=gettext localbase:ldflags
- bin/remmina links to lib/libintl.so.8 regardless of NLS option Note: that NLS option still prevents translations from being installed - cmake needs to search for gettext within localbase net/remmina-plugin-*: Add USES=localbase:ldflags - The plugins need to search localbase/include for headers, and some also link with libraries in localbase Reported by: marino Approved by: adamw (mentor, implicit)
This commit is contained in:
parent
0974bef967
commit
8d33b9af06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426940
@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
BUILD_DEPENDS+= remmina>=${PORTVERSION}:net/remmina
|
||||
RUN_DEPENDS+= remmina>=${PORTVERSION}:net/remmina
|
||||
|
||||
USES+= cmake gmake pkgconfig
|
||||
USES+= cmake gmake localbase:ldflags pkgconfig
|
||||
USE_GNOME+= atk gdkpixbuf2 glib20 gtk30 pango
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
|
@ -16,7 +16,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= FreeRDP
|
||||
GH_PROJECT= Remmina
|
||||
|
||||
USES= cmake:outsource gmake pathfix pkgconfig
|
||||
USES= cmake:outsource gettext gmake localbase:ldflags pathfix pkgconfig
|
||||
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
|
||||
USE_XORG= ice sm x11 xext
|
||||
PATHFIX_WRKSRC= ${WRKSRC}/remmina
|
||||
@ -41,8 +41,7 @@ AVAHI_CMAKE_BOOL= WITH_AVAHI
|
||||
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
|
||||
GCRYPT_CMAKE_BOOL= WITH_GCRYPT
|
||||
|
||||
NLS_USES= gettext localbase
|
||||
NLS_CMAKE_BOOL= WITH_GETTEXT
|
||||
NLS_CMAKE_BOOL= WITH_TRANSLATIONS
|
||||
|
||||
SSH_LIB_DEPENDS= libssh_threads.so:security/libssh
|
||||
SSH_LDFLAGS= -fstack-protector
|
||||
@ -66,7 +65,5 @@ post-patch:
|
||||
${REINPLACE_CMD} -e's|add_subdirectory(remmina-plugins)||' ${WRKSRC}/CMakeLists.txt
|
||||
${REINPLACE_CMD} -e's|add_subdirectory(remmina-plugins-gnome)||' ${WRKSRC}/CMakeLists.txt
|
||||
${REINPLACE_CMD} -e's|add_subdirectory(external_tools)||' ${WRKSRC}/remmina/CMakeLists.txt
|
||||
post-patch-NLS-off:
|
||||
${REINPLACE_CMD} -e's|add_subdirectory(po)||' ${WRKSRC}/remmina/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user