Fix path to elfdump on SmartOS.

This commit is contained in:
jperkin 2016-09-08 09:55:32 +00:00
parent e9a8511669
commit d8496a14f4

View file

@ -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}