mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- use external libintl to avoid updating lib/charset.alias problem
Noticed by: kris
This commit is contained in:
parent
e972d1edf6
commit
e5a555b22e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128355
1 changed files with 6 additions and 0 deletions
|
@ -16,12 +16,14 @@ COMMENT= A full featured command-line backup tool, aimed for disks
|
||||||
|
|
||||||
INSTALLS_SHLIB= yes
|
INSTALLS_SHLIB= yes
|
||||||
USE_LIBTOOL_VER=15
|
USE_LIBTOOL_VER=15
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
.if !defined(WITHOUT_NLS)
|
.if !defined(WITHOUT_NLS)
|
||||||
USE_GETTEXT= yes
|
USE_GETTEXT= yes
|
||||||
PLIST_SUB+= NLS=""
|
PLIST_SUB+= NLS=""
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
|
||||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-nls
|
CONFIGURE_ARGS+=--disable-nls
|
||||||
|
@ -30,4 +32,8 @@ PLIST_SUB+= NLS="@comment "
|
||||||
|
|
||||||
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
|
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee 's,(_nl_expand_alias) \(0\),\1 (),g' \
|
||||||
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue