pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gettext Introduce a PLIST variable for preloadab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/470df8851fbc
branches:  trunk
changeset: 364505:470df8851fbc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jun 26 21:22:49 2017 +0000

description:
Introduce a PLIST variable for preloadable_libintl.so. While that file
is installed only for glibc systems, approximate it as Linux for now.

Reported by Jason Bacon.

diffstat:

 devel/gettext/Makefile |  9 ++++++++-
 devel/gettext/PLIST    |  3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 2ddfcff289ad -r 470df8851fbc devel/gettext/Makefile
--- a/devel/gettext/Makefile    Mon Jun 26 21:07:58 2017 +0000
+++ b/devel/gettext/Makefile    Mon Jun 26 21:22:49 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2014/09/01 17:59:12 tron Exp $
+# $NetBSD: Makefile,v 1.84 2017/06/26 21:22:49 joerg Exp $
 
 .include "../../devel/gettext/Makefile.common"
 
@@ -26,6 +26,13 @@
 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}
diff -r 2ddfcff289ad -r 470df8851fbc devel/gettext/PLIST
--- a/devel/gettext/PLIST       Mon Jun 26 21:07:58 2017 +0000
+++ b/devel/gettext/PLIST       Mon Jun 26 21:22:49 2017 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.18 2014/08/31 10:24:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2017/06/26 21:22:49 joerg Exp $
+${PLIST.glibc}lib/preloadable_libintl.so
 share/gettext/ABOUT-NLS
 share/gettext/config.rpath
 share/gettext/intl/COPYING.LIB



Home | Main Index | Thread Index | Old Index