mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix iconv migration fallout.
This commit is contained in:
parent
1444523ab0
commit
255e781fcb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328683
@ -14,7 +14,6 @@ LICENSE= GPLv2
|
||||
|
||||
PATCH_STRIP= -p1
|
||||
USES= gmake pkgconfig
|
||||
USE_GMAKE= yes
|
||||
USE_CSTD= gnu99
|
||||
USE_LDCONFIG= yes
|
||||
USE_XZ= yes
|
||||
@ -55,6 +54,11 @@ MAKE_ARGS+= V=1
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext iconv:build
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
PLIST_SUB= NLS=""
|
||||
. if empty(ICONV_LIB)
|
||||
libintl= "${LOCALBASE}/lib/libintl.a"
|
||||
@ -67,8 +71,6 @@ PLIST_SUB= NLS="@comment "
|
||||
libintl=
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch::
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
's:\$$\(libdir\)/pkgconfig:${PREFIX}/libdata/pkgconfig:' \
|
||||
|
Loading…
Reference in New Issue
Block a user