summaryrefslogtreecommitdiff
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
commitc7a8ef63f4e5a5f0e6a09927f89d65326917933d (patch)
treeff9f0e588b4d9c6ba393d898c78d55a068fe408a
parent4dbc1ea440fca1da7a1cf858e69cb0b7c6eed5bd (diff)
downloadpkgsrc-c7a8ef63f4e5a5f0e6a09927f89d65326917933d.tar.gz
Fix path to elfdump on SmartOS.
-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}