mirror of the now-defunct rocklinux.org
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.

108 lines
4.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/rene/libtiff/makeflags.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. Hmmm.... ${MAKEFLAGS} is passed automatically using the environment. However,
  20. I only removed the '-' in front of all the '${MAKEFLAGS}', so the package
  21. build even when we pass CC=.. and CXX=.. (otherwise they would become -C...
  22. which means something enitrely different).
  23. - Clifford
  24. --- ./Makefile.in.orig Fri Jun 28 14:08:49 2002
  25. +++ ./Makefile.in Fri Jun 28 14:08:51 2002
  26. @@ -46,38 +46,38 @@
  27. all default:
  28. @if [ "@PORT@" = yes ]; then \
  29. - ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS}; \
  30. + ${ECHO} "= "port; cd port; ${MAKE} ${MAKEFLAGS}; \
  31. else \
  32. true; \
  33. fi
  34. - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS}
  35. - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS}
  36. - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS}
  37. + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS}
  38. + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS}
  39. + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS}
  40. install:
  41. - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} install
  42. - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} install
  43. - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} install
  44. + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} install
  45. + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS} install
  46. + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS} install
  47. @if [ "@HTML@" = yes ]; then \
  48. - ${ECHO} "= "html; cd html; ${MAKE} -${MAKEFLAGS} install; \
  49. + ${ECHO} "= "html; cd html; ${MAKE} ${MAKEFLAGS} install; \
  50. else \
  51. true; \
  52. fi
  53. install-private: install
  54. - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} installPrivateHdrs
  55. + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} installPrivateHdrs
  56. clean:
  57. @if [ "@PORT@" = yes ]; then \
  58. - ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS} clean; \
  59. + ${ECHO} "= "port; cd port; ${MAKE} ${MAKEFLAGS} clean; \
  60. else \
  61. true; \
  62. fi
  63. - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} clean
  64. - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} clean
  65. - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} clean
  66. -# -cd contrib/dbs; ${MAKE} -${MAKEFLAGS} clean
  67. -# -cd contrib/dbs/xtiff; ${MAKE} -${MAKEFLAGS} clean
  68. + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} clean
  69. + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS} clean
  70. + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS} clean
  71. +# -cd contrib/dbs; ${MAKE} ${MAKEFLAGS} clean
  72. +# -cd contrib/dbs/xtiff; ${MAKE} ${MAKEFLAGS} clean
  73. clobber distclean: clean
  74. rm -f Makefile libtiff/port.h config.log
  75. @@ -100,7 +100,7 @@
  76. product::
  77. test -d dist || mkdir dist
  78. rm -f dist/rawidb
  79. - SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} -${MAKEFLAGS} install installLink
  80. + SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} ${MAKEFLAGS} install installLink
  81. rm -f dist/idb
  82. sort -u +4 dist/rawidb > dist/idb
  83. ${GENDIST} -v -dist dist -idb dist/idb \
  84. @@ -498,11 +498,11 @@
  85. release:
  86. (cd ${SRCDIR}/dist; sh newversion)
  87. - ${MAKE} -${MAKEFLAGS} release.stamp
  88. - (cd ${SRCDIR}/libtiff; ${MAKE} -${MAKEFLAGS} tiffvers.h)
  89. + ${MAKE} ${MAKEFLAGS} release.stamp
  90. + (cd ${SRCDIR}/libtiff; ${MAKE} ${MAKEFLAGS} tiffvers.h)
  91. # ${SRCDIR}/configure ${CONFIG}
  92. -# ${MAKE} -${MAKEFLAGS} product
  93. - ${MAKE} -${MAKEFLAGS} release.tar.zip
  94. +# ${MAKE} ${MAKEFLAGS} product
  95. + ${MAKE} ${MAKEFLAGS} release.tar.zip
  96. # stamp relevant files according to current alpha