Christian Weisgerber said:
> Dmitrij D. Czarkoff:
> 
> > --- infrastructure/mk/bsd.port.mk   20 Mar 2016 20:07:20 -0000      1.1310
> > +++ infrastructure/mk/bsd.port.mk   21 Apr 2016 13:10:29 -0000
> > @@ -729,6 +729,12 @@ UNZIP ?= unzip
> >  BZIP2 ?= bzip2
> >  
> >  
> > +# disable stripping if requested
> > +INSTALL_NO_STRIP ?=
> > +.if ${INSTALL_NO_STRIP:L} == "yes"
> > +INSTALL_STRIP =
> > +.endif
> > +
> 
> I think you should just set
> 
> INSTALL_STRIP =
> 
> in the ports (or modules) that require it and be done with it.
> No point in introducing yet another variable.

INSTALL_STRIP is mentioned in mk.conf(5), so it is a user setting.
/etc/mk.conf may contain INSTALL_STRIP=-s, and that would override
INSTALL_STRIP= from port.

-- 
Dmitrij D. Czarkoff

Reply via email to