summaryrefslogtreecommitdiff
path: root/lang/clang
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2014-01-25 12:26:14 +0000
committerryoon <ryoon@pkgsrc.org>2014-01-25 12:26:14 +0000
commit2bcd1c1d0c03b9a4e78a42321765eb5e830873a5 (patch)
tree79ec005aedbccfbf4e35c2633405f778da6c04fb /lang/clang
parent8a9cd830deecfb9651f174ec973321668696c72b (diff)
downloadpkgsrc-2bcd1c1d0c03b9a4e78a42321765eb5e830873a5.tar.gz
Fix build under SunOS
Diffstat (limited to 'lang/clang')
-rw-r--r--lang/clang/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index b828f407839..8c1de84df0c 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2014/01/19 14:06:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.25 2014/01/25 12:26:14 ryoon Exp $
DISTNAME= clang-3.4
CATEGORIES= lang
@@ -67,7 +67,8 @@ LIBGCCDIR!= ${CC} -print-libgcc-file-name
ARCHDIR:= ${LIBGCCDIR:H}
SUBST_SED.fix-paths= -e 's,/usr/gcc/4.5/lib/gcc/,${ARCHDIR}/,g'
. endif
-SUBST_SED.fix-paths+= -e '/^.*i386.*getVendorName.*$$/{N;d;}'
+SUBST_SED.fix-paths+= -e '/^.*i386.*getVendorName.*$$/{d;}'
+SUBST_SED.fix-paths+= -e '/^.*GCCLibPath +=$$/d'
SUBST_SED.fix-paths+= -e 's,/4.5.2/amd64/,amd64/,g'
SUBST_SED.fix-paths+= -e 's,"as","gas",g'
. if exists(/usr/bin/ld)