summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-04-06 16:36:00 +0000
committerjmmv <jmmv@pkgsrc.org>2004-04-06 16:36:00 +0000
commit5f6fe28718b41d41d472ae0b66324c16d7bce261 (patch)
treef420e966916742d932bdc49d07a2792b5126a963 /textproc/icu/Makefile
parentf898898e6492f327ee0e08ab32e1d716b6391922 (diff)
downloadpkgsrc-5f6fe28718b41d41d472ae0b66324c16d7bce261.tar.gz
Fix PLIST under Linux. Also attempt to fix under IRIX and SunOS (though,
untested).
Diffstat (limited to 'textproc/icu/Makefile')
-rw-r--r--textproc/icu/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile
index f2f3eb9cd59..89bb14376e9 100644
--- a/textproc/icu/Makefile
+++ b/textproc/icu/Makefile
@@ -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 @@ SUPPORT_FILES+= ${CONVRTRS_EG} ${PKG_SYSCONFDIR}/convrtrs.txt
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}