gettext: check for glibc in the right package + check for glibc, not Linux
This commit is contained in:
parent
704ce8849a
commit
5746d94446
3 changed files with 4 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.39 2019/11/03 10:39:12 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.40 2020/01/23 11:42:16 nia Exp $
|
||||
|
||||
.include "../../devel/gettext/Makefile.common"
|
||||
|
||||
|
@ -41,7 +41,7 @@ PLIST_VARS+= glibc
|
|||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${OPSYS} == "Linux"
|
||||
.if !empty(GLIBC_VERSION)
|
||||
PLIST.glibc= yes
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.86 2019/11/03 10:39:11 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.87 2020/01/23 11:42:16 nia Exp $
|
||||
|
||||
.include "../../devel/gettext/Makefile.common"
|
||||
|
||||
|
@ -26,13 +26,6 @@ TEST_TARGET= check
|
|||
BROKEN_GETTEXT_DETECTION= yes
|
||||
USE_BUILTIN.gettext= no # force use of pkgsrc gettext-lib
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
PLIST_VARS+= glibc
|
||||
.if ${OPSYS} == "Linux"
|
||||
PLIST.glibc= yes
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}/gettext-tools && ${MAKE} install-gettextsrcSCRIPTS DESTDIR=${DESTDIR}
|
||||
cd ${WRKSRC}/gettext-tools/projects && ${MAKE} install DESTDIR=${DESTDIR}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.20 2019/05/27 13:21:41 ryoon Exp $
|
||||
${PLIST.glibc}lib/preloadable_libintl.so
|
||||
@comment $NetBSD: PLIST,v 1.21 2020/01/23 11:42:16 nia Exp $
|
||||
share/gettext/ABOUT-NLS
|
||||
share/gettext/config.rpath
|
||||
share/gettext/projects/GNOME/team-address
|
||||
|
|
Loading…
Reference in a new issue