pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/icu Fix PLIST under Linux. Also attempt to f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f69cfdca781e
branches:  trunk
changeset: 472229:f69cfdca781e
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Apr 06 16:36:00 2004 +0000

description:
Fix PLIST under Linux.  Also attempt to fix under IRIX and SunOS (though,
untested).

diffstat:

 textproc/icu/Makefile |  20 +++++++++++++++++++-
 textproc/icu/PLIST    |   4 ++--
 2 files changed, 21 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 0c6143fd4d24 -r f69cfdca781e textproc/icu/Makefile
--- a/textproc/icu/Makefile     Tue Apr 06 15:50:50 2004 +0000
+++ b/textproc/icu/Makefile     Tue Apr 06 16:36:00 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2004/04/04 16:58:16 recht Exp $
+# $NetBSD: Makefile,v 1.31 2004/04/06 16:36:00 jmmv Exp $
 #
 
 DISTNAME=      icu-2.8
@@ -42,6 +42,24 @@
 CONFIGURE_ARGS+=       --disable-threads
 .endif
 
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+PLIST_SUBST+=          MH_NAME=mh-bsd-gcc
+.elif ${OPSYS} == "Linux"
+PLIST_SUBST+=          MH_NAME=mh-linux
+.elif ${OPSYS} == "SunOS"
+.  if !empty(CC_VERSION:Mgcc*)
+PLIST_SUBST+=          MH_NAME=mh-solaris-gcc
+.  else
+PLIST_SUBST+=          MH_NAME=mh-solaris
+.  endif
+.elif ${OPSYS} == "IRIX"
+PLIST_SUBST+=          MH_NAME=mh-irix
+.else
+# For unknown systems, set the filename to mh-unknown so that the user
+# gets a warning about missing files.
+PLIST_SUBST+=          MH_NAME=mh-unknown
+.endif
+
 post-install:
        ${INSTALL_DATA_DIR} ${CONVRTRS_EG_DIR}
        ${INSTALL_DATA} ${WRKSRC}/data/mappings/convrtrs.txt ${CONVRTRS_EG}
diff -r 0c6143fd4d24 -r f69cfdca781e textproc/icu/PLIST
--- a/textproc/icu/PLIST        Tue Apr 06 15:50:50 2004 +0000
+++ b/textproc/icu/PLIST        Tue Apr 06 16:36:00 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2004/04/04 16:58:16 recht Exp $
+@comment $NetBSD: PLIST,v 1.7 2004/04/06 16:36:00 jmmv Exp $
 bin/derb
 bin/genbrk
 bin/gencnval
@@ -173,7 +173,7 @@
 sbin/genuca
 sbin/icuswap
 share/examples/icu/convrtrs.txt
-share/icu/${PKGVERSION}/config/mh-bsd-gcc
+share/icu/${PKGVERSION}/config/${MH_NAME}
 share/icu/${PKGVERSION}/license.html
 share/icu/${PKGVERSION}/mkinstalldirs
 @dirrm share/icu/${PKGVERSION}/config



Home | Main Index | Thread Index | Old Index