OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

348 lines
11 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libdnet/libdnet-1.12-shrext.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Fix to get the right shared library extension
  17. Origin: Fedora Project
  18. http://pkgs.fedoraproject.org/gitweb/?p=libdnet.git;a=blob_plain;f=libdnet-shrext.patch;h=6d8df2319d109ec48e201d4e980ed053380a0bdb;hb=HEAD
  19. diff -urN libdnet-1.12/configure libdnet-1.12-patched/configure
  20. --- libdnet-1.12/configure 2007-01-20 05:39:54.000000000 -0600
  21. +++ libdnet-1.12-patched/configure 2007-02-15 09:06:27.000000000 -0600
  22. @@ -7053,7 +7053,7 @@
  23. # Tell ltmain to make .lib files, not .a files.
  24. libext=lib
  25. # Tell ltmain to make .dll files, not .so files.
  26. - shrext=".dll"
  27. + shrext_cmds=".dll"
  28. # FIXME: Setting linknames here is a bad hack.
  29. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
  30. # The linker will automatically build a .lib file if we build a DLL.
  31. @@ -7580,7 +7580,7 @@
  32. library_names_spec=
  33. libname_spec='lib$name'
  34. soname_spec=
  35. -shrext=".so"
  36. +shrext_cmds=".so"
  37. postinstall_cmds=
  38. postuninstall_cmds=
  39. finish_cmds=
  40. @@ -7693,7 +7693,7 @@
  41. cygwin* | mingw* | pw32*)
  42. version_type=windows
  43. - shrext=".dll"
  44. + shrext_cmds=".dll"
  45. need_version=no
  46. need_lib_prefix=no
  47. @@ -7761,7 +7761,7 @@
  48. soname_spec='${libname}${release}${major}$shared_ext'
  49. shlibpath_overrides_runpath=yes
  50. shlibpath_var=DYLD_LIBRARY_PATH
  51. - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
  52. + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
  53. # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  54. if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
  55. sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  56. @@ -7830,7 +7830,7 @@
  57. need_version=no
  58. case "$host_cpu" in
  59. ia64*)
  60. - shrext='.so'
  61. + shrext_cmds='.so'
  62. hardcode_into_libs=yes
  63. dynamic_linker="$host_os dld.so"
  64. shlibpath_var=LD_LIBRARY_PATH
  65. @@ -7845,7 +7845,7 @@
  66. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  67. ;;
  68. hppa*64*)
  69. - shrext='.sl'
  70. + shrext_cmds='.sl'
  71. hardcode_into_libs=yes
  72. dynamic_linker="$host_os dld.sl"
  73. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  74. @@ -7856,7 +7856,7 @@
  75. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  76. ;;
  77. *)
  78. - shrext='.sl'
  79. + shrext_cmds='.sl'
  80. dynamic_linker="$host_os dld.sl"
  81. shlibpath_var=SHLIB_PATH
  82. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  83. @@ -7992,7 +7992,7 @@
  84. os2*)
  85. libname_spec='$name'
  86. - shrext=".dll"
  87. + shrext_cmds=".dll"
  88. need_lib_prefix=no
  89. library_names_spec='$libname${shared_ext} $libname.a'
  90. dynamic_linker='OS/2 ld.exe'
  91. @@ -9201,7 +9201,7 @@
  92. libext="$libext"
  93. # Shared library suffix (normally ".so").
  94. -shrext='$shrext'
  95. +shrext_cmds='$shrext_cmds'
  96. # Executable file suffix (normally "").
  97. exeext="$exeext"
  98. @@ -11257,7 +11257,7 @@
  99. library_names_spec=
  100. libname_spec='lib$name'
  101. soname_spec=
  102. -shrext=".so"
  103. +shrext_cmds=".so"
  104. postinstall_cmds=
  105. postuninstall_cmds=
  106. finish_cmds=
  107. @@ -11370,7 +11370,7 @@
  108. cygwin* | mingw* | pw32*)
  109. version_type=windows
  110. - shrext=".dll"
  111. + shrext_cmds=".dll"
  112. need_version=no
  113. need_lib_prefix=no
  114. @@ -11438,7 +11438,7 @@
  115. soname_spec='${libname}${release}${major}$shared_ext'
  116. shlibpath_overrides_runpath=yes
  117. shlibpath_var=DYLD_LIBRARY_PATH
  118. - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
  119. + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
  120. # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  121. if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
  122. sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  123. @@ -11507,7 +11507,7 @@
  124. need_version=no
  125. case "$host_cpu" in
  126. ia64*)
  127. - shrext='.so'
  128. + shrext_cmds='.so'
  129. hardcode_into_libs=yes
  130. dynamic_linker="$host_os dld.so"
  131. shlibpath_var=LD_LIBRARY_PATH
  132. @@ -11522,7 +11522,7 @@
  133. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  134. ;;
  135. hppa*64*)
  136. - shrext='.sl'
  137. + shrext_cmds='.sl'
  138. hardcode_into_libs=yes
  139. dynamic_linker="$host_os dld.sl"
  140. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  141. @@ -11533,7 +11533,7 @@
  142. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  143. ;;
  144. *)
  145. - shrext='.sl'
  146. + shrext_cmds='.sl'
  147. dynamic_linker="$host_os dld.sl"
  148. shlibpath_var=SHLIB_PATH
  149. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  150. @@ -11669,7 +11669,7 @@
  151. os2*)
  152. libname_spec='$name'
  153. - shrext=".dll"
  154. + shrext_cmds=".dll"
  155. need_lib_prefix=no
  156. library_names_spec='$libname${shared_ext} $libname.a'
  157. dynamic_linker='OS/2 ld.exe'
  158. @@ -12751,7 +12751,7 @@
  159. libext="$libext"
  160. # Shared library suffix (normally ".so").
  161. -shrext='$shrext'
  162. +shrext_cmds='$shrext_cmds'
  163. # Executable file suffix (normally "").
  164. exeext="$exeext"
  165. @@ -13832,7 +13832,7 @@
  166. # Tell ltmain to make .lib files, not .a files.
  167. libext=lib
  168. # Tell ltmain to make .dll files, not .so files.
  169. - shrext=".dll"
  170. + shrext_cmds=".dll"
  171. # FIXME: Setting linknames here is a bad hack.
  172. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
  173. # The linker will automatically build a .lib file if we build a DLL.
  174. @@ -14359,7 +14359,7 @@
  175. library_names_spec=
  176. libname_spec='lib$name'
  177. soname_spec=
  178. -shrext=".so"
  179. +shrext_cmds=".so"
  180. postinstall_cmds=
  181. postuninstall_cmds=
  182. finish_cmds=
  183. @@ -14472,7 +14472,7 @@
  184. cygwin* | mingw* | pw32*)
  185. version_type=windows
  186. - shrext=".dll"
  187. + shrext_cmds=".dll"
  188. need_version=no
  189. need_lib_prefix=no
  190. @@ -14540,7 +14540,7 @@
  191. soname_spec='${libname}${release}${major}$shared_ext'
  192. shlibpath_overrides_runpath=yes
  193. shlibpath_var=DYLD_LIBRARY_PATH
  194. - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
  195. + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
  196. # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  197. if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
  198. sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  199. @@ -14609,7 +14609,7 @@
  200. need_version=no
  201. case "$host_cpu" in
  202. ia64*)
  203. - shrext='.so'
  204. + shrext_cmds='.so'
  205. hardcode_into_libs=yes
  206. dynamic_linker="$host_os dld.so"
  207. shlibpath_var=LD_LIBRARY_PATH
  208. @@ -14624,7 +14624,7 @@
  209. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  210. ;;
  211. hppa*64*)
  212. - shrext='.sl'
  213. + shrext_cmds='.sl'
  214. hardcode_into_libs=yes
  215. dynamic_linker="$host_os dld.sl"
  216. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  217. @@ -14635,7 +14635,7 @@
  218. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  219. ;;
  220. *)
  221. - shrext='.sl'
  222. + shrext_cmds='.sl'
  223. dynamic_linker="$host_os dld.sl"
  224. shlibpath_var=SHLIB_PATH
  225. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  226. @@ -14771,7 +14771,7 @@
  227. os2*)
  228. libname_spec='$name'
  229. - shrext=".dll"
  230. + shrext_cmds=".dll"
  231. need_lib_prefix=no
  232. library_names_spec='$libname${shared_ext} $libname.a'
  233. dynamic_linker='OS/2 ld.exe'
  234. @@ -15047,7 +15047,7 @@
  235. libext="$libext"
  236. # Shared library suffix (normally ".so").
  237. -shrext='$shrext'
  238. +shrext_cmds='$shrext_cmds'
  239. # Executable file suffix (normally "").
  240. exeext="$exeext"
  241. @@ -16130,7 +16130,7 @@
  242. # Tell ltmain to make .lib files, not .a files.
  243. libext=lib
  244. # Tell ltmain to make .dll files, not .so files.
  245. - shrext=".dll"
  246. + shrext_cmds=".dll"
  247. # FIXME: Setting linknames here is a bad hack.
  248. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll${_S_}linknames='
  249. # The linker will automatically build a .lib file if we build a DLL.
  250. @@ -16657,7 +16657,7 @@
  251. library_names_spec=
  252. libname_spec='lib$name'
  253. soname_spec=
  254. -shrext=".so"
  255. +shrext_cmds=".so"
  256. postinstall_cmds=
  257. postuninstall_cmds=
  258. finish_cmds=
  259. @@ -16770,7 +16770,7 @@
  260. cygwin* | mingw* | pw32*)
  261. version_type=windows
  262. - shrext=".dll"
  263. + shrext_cmds=".dll"
  264. need_version=no
  265. need_lib_prefix=no
  266. @@ -16838,7 +16838,7 @@
  267. soname_spec='${libname}${release}${major}$shared_ext'
  268. shlibpath_overrides_runpath=yes
  269. shlibpath_var=DYLD_LIBRARY_PATH
  270. - shrext='$(test .$module = .yes && echo .so || echo .dylib)'
  271. + shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
  272. # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
  273. if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
  274. sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
  275. @@ -16907,7 +16907,7 @@
  276. need_version=no
  277. case "$host_cpu" in
  278. ia64*)
  279. - shrext='.so'
  280. + shrext_cmds='.so'
  281. hardcode_into_libs=yes
  282. dynamic_linker="$host_os dld.so"
  283. shlibpath_var=LD_LIBRARY_PATH
  284. @@ -16922,7 +16922,7 @@
  285. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  286. ;;
  287. hppa*64*)
  288. - shrext='.sl'
  289. + shrext_cmds='.sl'
  290. hardcode_into_libs=yes
  291. dynamic_linker="$host_os dld.sl"
  292. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  293. @@ -16933,7 +16933,7 @@
  294. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  295. ;;
  296. *)
  297. - shrext='.sl'
  298. + shrext_cmds='.sl'
  299. dynamic_linker="$host_os dld.sl"
  300. shlibpath_var=SHLIB_PATH
  301. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  302. @@ -17069,7 +17069,7 @@
  303. os2*)
  304. libname_spec='$name'
  305. - shrext=".dll"
  306. + shrext_cmds=".dll"
  307. need_lib_prefix=no
  308. library_names_spec='$libname${shared_ext} $libname.a'
  309. dynamic_linker='OS/2 ld.exe'
  310. @@ -18151,7 +18151,7 @@
  311. libext="$libext"
  312. # Shared library suffix (normally ".so").
  313. -shrext='$shrext'
  314. +shrext_cmds='$shrext_cmds'
  315. # Executable file suffix (normally "").
  316. exeext="$exeext"
  317. @@ -18595,7 +18595,7 @@
  318. libext="$libext"
  319. # Shared library suffix (normally ".so").
  320. -shrext='$shrext'
  321. +shrext_cmds='$shrext_cmds'
  322. # Executable file suffix (normally "").
  323. exeext="$exeext"