[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / gcc8

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/lang/gcc8/options.mk between version 1.1 and 1.2

version 1.1, 2018/05/05 04:08:36 version 1.2, 2019/09/08 14:47:52
Line 2 
Line 2 
   
 PKG_OPTIONS_VAR=        PKG_OPTIONS.${GCC_PKGNAME}  PKG_OPTIONS_VAR=        PKG_OPTIONS.${GCC_PKGNAME}
 PKG_SUPPORTED_OPTIONS=  nls gcc-inplace-math gcc-c++ gcc-fortran \  PKG_SUPPORTED_OPTIONS=  nls gcc-inplace-math gcc-c++ gcc-fortran \
                         gcc-go gcc-objc gcc-objc++ gcc-graphite                          gcc-go gcc-objc gcc-objc++ gcc-graphite \
                           always-libgcc
 PKG_SUGGESTED_OPTIONS=  gcc-c++ gcc-fortran gcc-objc gcc-objc++ \  PKG_SUGGESTED_OPTIONS=  gcc-c++ gcc-fortran gcc-objc gcc-objc++ \
                         gcc-graphite gcc-inplace-math                          gcc-graphite gcc-inplace-math
   
Line 13  PKG_SUGGESTED_OPTIONS+= nls
Line 14  PKG_SUGGESTED_OPTIONS+= nls
 .elif ${OPSYS} == "DragonFly"  .elif ${OPSYS} == "DragonFly"
 PKG_SUGGESTED_OPTIONS+= nls  PKG_SUGGESTED_OPTIONS+= nls
 .elif ${OPSYS} == "SunOS"  .elif ${OPSYS} == "SunOS"
 PKG_SUGGESTED_OPTIONS+= gcc-inplace-math  PKG_SUGGESTED_OPTIONS+= gcc-inplace-math always-libgcc
 .else  .else
 .endif  .endif
   
   .include "../../mk/compiler.mk"
   .if empty(PKGSRC_COMPILER:Mgcc)
   PKG_SUGGESTED_OPTIONS+=                 always-libgcc
   .endif
   
 ###  ###
 ### Determine if multilib is avalible.  ### Determine if multilib is avalible.
 ###  ###
Line 42  PKG_SUGGESTED_OPTIONS+= gcc-multilib
Line 48  PKG_SUGGESTED_OPTIONS+= gcc-multilib
 .include "../../mk/bsd.options.mk"  .include "../../mk/bsd.options.mk"
   
 ###  ###
   ### Don't install libgcc if it's older than the system one
   ###
   .if empty(PKG_OPTIONS:Malways-libgcc)
   
   .for _libdir_ in ${_OPSYS_LIB_DIRS}
   .  if exists(${_libdir_})
   BASE_LIBGCC!=                   find ${_libdir_} -name libgcc_s.so
   BASE_LIBGCC_MATCH_STRING!=      ${ECHO} ${BASE_LIBGCC} ${GCC8_DIST_VERSION} | \
                                   ${AWK} -f ../../mk/scripts/larger_symbol_version.awk
   .    if ${BASE_LIBGCC_MATCH_STRING:Mnewer}
   DELETE_INSTALLED_LIBGCC=        yes
   .    endif
   .  endif
   .endfor
   
   .if ${DELETE_INSTALLED_LIBGCC:Uno}
   post-install:   delete-installed-libgcc
   
   delete-installed-libgcc:
           ${FIND} ${DESTDIR} -name 'libgcc_s.so*' -delete
   
   .endif
   
   .endif
   
   ###
 ### Native Language Support  ### Native Language Support
 ###  ###
 .if !empty(PKG_OPTIONS:Mnls)  .if !empty(PKG_OPTIONS:Mnls)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>