pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gettext



Module Name:    pkgsrc
Committed By:   joerg
Date:           Mon Jun 26 21:22:49 UTC 2017

Modified Files:
        pkgsrc/devel/gettext: Makefile PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 pkgsrc/devel/gettext/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/gettext/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gettext/Makefile
diff -u pkgsrc/devel/gettext/Makefile:1.83 pkgsrc/devel/gettext/Makefile:1.84
--- pkgsrc/devel/gettext/Makefile:1.83  Mon Sep  1 17:59:12 2014
+++ pkgsrc/devel/gettext/Makefile       Mon Jun 26 21:22:49 2017
@@ -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 @@ 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}

Index: pkgsrc/devel/gettext/PLIST
diff -u pkgsrc/devel/gettext/PLIST:1.18 pkgsrc/devel/gettext/PLIST:1.19
--- pkgsrc/devel/gettext/PLIST:1.18     Sun Aug 31 10:24:02 2014
+++ pkgsrc/devel/gettext/PLIST  Mon Jun 26 21:22:49 2017
@@ -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