pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gettext-tools gettext-tools: Copy the workaround...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ec469aa961e
branches:  trunk
changeset: 334749:9ec469aa961e
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 04 17:22:22 2019 +0000

description:
gettext-tools: Copy the workaround for preloadable_libintl.so for Linux
from gettext.

probably need to do better at detecting glibc specifically.

diffstat:

 devel/gettext-tools/Makefile    |  10 +++++++++-
 devel/gettext-tools/PLIST.Linux |   2 ++
 2 files changed, 11 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r cd4955c9a3ec -r 9ec469aa961e devel/gettext-tools/Makefile
--- a/devel/gettext-tools/Makefile      Tue Jun 04 15:08:47 2019 +0000
+++ b/devel/gettext-tools/Makefile      Tue Jun 04 17:22:22 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2019/05/27 13:21:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.38 2019/06/04 17:22:22 nia Exp $
 
 .include "../../devel/gettext/Makefile.common"
 
@@ -37,6 +37,14 @@
 #bug 20453 in bug-gzip list, passed onto gnulib
 CONFIGURE_ENV.AIX+=    ac_cv_header_wctype_h=no
 
+PLIST_VARS+=   glibc
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+PLIST.glibc=   yes
+.endif
+
 post-install:
        cd ${WRKSRC}/gettext-tools/its && ${MAKE} install DESTDIR=${DESTDIR}
        cd ${WRKSRC}/gettext-tools/misc && ${MAKE} install DESTDIR=${DESTDIR}
diff -r cd4955c9a3ec -r 9ec469aa961e devel/gettext-tools/PLIST.Linux
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext-tools/PLIST.Linux   Tue Jun 04 17:22:22 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2019/06/04 17:22:22 nia Exp $
+${PLIST.glibc}lib/preloadable_libintl.so



Home | Main Index | Thread Index | Old Index