pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc5 Fix path to elfdump on SmartOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa5be8a2c4a6
branches:  trunk
changeset: 352157:fa5be8a2c4a6
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Sep 08 09:55:32 2016 +0000

description:
Fix path to elfdump on SmartOS.

diffstat:

 lang/gcc5/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c9e520a099ba -r fa5be8a2c4a6 lang/gcc5/Makefile
--- a/lang/gcc5/Makefile        Thu Sep 08 09:40:11 2016 +0000
+++ b/lang/gcc5/Makefile        Thu Sep 08 09:55:32 2016 +0000
@@ -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 @@
 .  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}
 



Home | Main Index | Thread Index | Old Index