mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Use new LIB_DEPENDS syntax
- Use OPTIONS_HELPERS The PR also included a fix for build with clang but this got already fixed PR: ports/185517 Submitted by: KATO Tsuguru
This commit is contained in:
parent
a1e0fc3a96
commit
ee955d916f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339160
@ -12,23 +12,19 @@ COMMENT= Network access framework for IPv4/IPv6
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
|
||||
gnutls.26:${PORTSDIR}/security/gnutls
|
||||
LIB_DEPENDS= libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 \
|
||||
libgnutls.so:${PORTSDIR}/security/gnutls
|
||||
|
||||
USES= pathfix pkgconfig
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
||||
NLS_LDFLAGS= -L${LOCALBASE}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user