summaryrefslogtreecommitdiff
path: root/textproc/icu/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-10-26 09:28:20 +0000
committerjperkin <jperkin@pkgsrc.org>2015-10-26 09:28:20 +0000
commit1bff4f017a2ba0b5160657629b0d90c1b9365c27 (patch)
tree0a228df3a6973d74aba5e93bec09568c14296fc4 /textproc/icu/Makefile
parent228a5853d569ccd0ce214e2adbc17f5ecad3a65d (diff)
downloadpkgsrc-1bff4f017a2ba0b5160657629b0d90c1b9365c27.tar.gz
Use the GCC build file when using SunOS/clang, and patch it to pass the -h
linker argument correctly.
Diffstat (limited to 'textproc/icu/Makefile')
-rw-r--r--textproc/icu/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile
index 8f873f1ba50..356f31c1c53 100644
--- a/textproc/icu/Makefile
+++ b/textproc/icu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2015/10/09 23:15:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.102 2015/10/26 09:28:20 jperkin Exp $
DISTNAME= icu4c-56_1-src
PKGNAME= ${DISTNAME:S/4c//:S/-src//:S/_/./g}
@@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --disable-threads
# from ICU_CHECK_MH_FRAG in source/acinclude.m4
.if ${OPSYS} == "SunOS"
-. if !empty(CC_VERSION:Mgcc*)
+. if ${PKGSRC_COMPILER} == "clang" || ${PKGSRC_COMPILER} == "gcc"
PLIST_SUBST+= MH_NAME=mh-solaris-gcc
. else
PLIST_SUBST+= MH_NAME=mh-solaris