1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Do not attempt to install gettext locales under WITHOUT_NLS.

- Do all @dirrmtry for localedir under %%NLS%% in plist.

PR:		ports/161021
Submitted by:	h h <aakuusta@gmail.com>
Approved by:	x11 (kwm)
This commit is contained in:
Juergen Lock 2012-02-29 22:53:20 +00:00
parent 9ffea18152
commit cb0378f90c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292458
2 changed files with 4 additions and 1 deletions

View File

@ -42,6 +42,9 @@ PLIST_SUB+= NLS=""
.endif
post-patch:
.if defined(WITHOUT_NLS)
@${REINPLACE_CMD} '/^SUBDIR/s/ po//' ${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' -e 's|==|=|g' \
${WRKSRC}/rules/merge.sh

View File

@ -372,8 +372,8 @@ share/X11/xkb/types/pc
%%NLS%%@dirrmtry share/locale/ky/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ky
%%NLS%%@dirrmtry share/locale/crh/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/crh
@exec mkdir -p /var/lib/xkb
@dirrmtry share/locale/crh
@dirrm share/X11/xkb/types
@dirrm share/X11/xkb/symbols/xfree68_vndr
@dirrm share/X11/xkb/symbols/sun_vndr