summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-09-08 09:55:32 +0000
committerjperkin <jperkin@pkgsrc.org>2016-09-08 09:55:32 +0000
commit5acf5e4e5c3b094dcfcce6157c185ded5edba882 (patch)
tree7f4468cb57828a0460a7311c084b1b2e3999f103 /lang
parentcc3ebb722b0b54011a8842e9628dda65859ced82 (diff)
downloadpkgsrc-5acf5e4e5c3b094dcfcce6157c185ded5edba882.tar.gz
Fix path to elfdump on SmartOS.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc5/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index 612d1f80e1e..02db24d8cbc 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2016/09/06 05:08:48 maya Exp $
+# $NetBSD: Makefile,v 1.14 2016/09/08 09:55:32 jperkin Exp $
GCC_PKGNAME= gcc5
PKGREVISION= 2
@@ -140,6 +140,13 @@ CONFIGURE_ARGS+= --with-gnu-as --with-as=${PREFIX}/bin/gas
. endif
.endif
+.if ${OS_VARIANT} == "SmartOS"
+SUBST_CLASSES+= ccs
+SUBST_STAGE.ccs= pre-configure
+SUBST_FILES.ccs= contrib/make_sunver.pl
+SUBST_SED.ccs= -e 's,/usr/ccs/bin,/usr/bin,g'
+.endif
+
pre-configure:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}