Revision: 6333 https://sourceforge.net/p/pkgbuild/code/6333 Author: tom68 Date: 2016-07-31 12:59:55 +0000 (Sun, 31 Jul 2016) Log Message: ----------- SFEautogen.spec: add missing gile guile-config_remove_compiler_defines_pthreads Added Paths: ----------- spec-files-extra/trunk/ext-sources/guile-config_remove_compiler_defines_pthreads Added: spec-files-extra/trunk/ext-sources/guile-config_remove_compiler_defines_pthreads =================================================================== --- spec-files-extra/trunk/ext-sources/guile-config_remove_compiler_defines_pthreads (rev 0) +++ spec-files-extra/trunk/ext-sources/guile-config_remove_compiler_defines_pthreads 2016-07-31 12:59:55 UTC (rev 6333) @@ -0,0 +1,14 @@ +#!/usr/bin/bash + +if [ "$1" == "link" ]; + then + /usr/bin/guile-config "${@}" | sed -e 's?-pthreads??g' -e 's?-D\w*??g' + else + /usr/bin/guile-config "${@}" | sed -e 's?-pthreads??g' +fi + +#guile-config link +#-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__ -D_REENTRANT -pthreads -lguile -lltdl -lgmp -lsocket -lnsl -lm -lltdl +#pkgbuild@s11175> which guile-config +#/usr/bin/guile-config + Property changes on: spec-files-extra/trunk/ext-sources/guile-config_remove_compiler_defines_pthreads ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property |