# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # Please add additional copyright information _after_ the line containing # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # # ROCK Linux: rock-src/package/rene/libtiff/makeflags.patch # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. A copy of the GNU General Public # License can be found at Documentation/COPYING. # # Many people helped and are helping developing ROCK Linux. Please # have a look at http://www.rocklinux.org/ and the Documentation/TEAM # file for details. # # --- ROCK-COPYRIGHT-NOTE-END --- Hmmm.... ${MAKEFLAGS} is passed automatically using the environment. However, I only removed the '-' in front of all the '${MAKEFLAGS}', so the package build even when we pass CC=.. and CXX=.. (otherwise they would become -C... which means something enitrely different). - Clifford --- ./Makefile.in.orig Fri Jun 28 14:08:49 2002 +++ ./Makefile.in Fri Jun 28 14:08:51 2002 @@ -46,38 +46,38 @@ all default: @if [ "@PORT@" = yes ]; then \ - ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS}; \ + ${ECHO} "= "port; cd port; ${MAKE} ${MAKEFLAGS}; \ else \ true; \ fi - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS} + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS} install: - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} install - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} install - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} install + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} install + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS} install + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS} install @if [ "@HTML@" = yes ]; then \ - ${ECHO} "= "html; cd html; ${MAKE} -${MAKEFLAGS} install; \ + ${ECHO} "= "html; cd html; ${MAKE} ${MAKEFLAGS} install; \ else \ true; \ fi install-private: install - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} installPrivateHdrs + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} installPrivateHdrs clean: @if [ "@PORT@" = yes ]; then \ - ${ECHO} "= "port; cd port; ${MAKE} -${MAKEFLAGS} clean; \ + ${ECHO} "= "port; cd port; ${MAKE} ${MAKEFLAGS} clean; \ else \ true; \ fi - @${ECHO} "= "libtiff; cd libtiff; ${MAKE} -${MAKEFLAGS} clean - @${ECHO} "= "tools; cd tools; ${MAKE} -${MAKEFLAGS} clean - @${ECHO} "= "man; cd man; ${MAKE} -${MAKEFLAGS} clean -# -cd contrib/dbs; ${MAKE} -${MAKEFLAGS} clean -# -cd contrib/dbs/xtiff; ${MAKE} -${MAKEFLAGS} clean + @${ECHO} "= "libtiff; cd libtiff; ${MAKE} ${MAKEFLAGS} clean + @${ECHO} "= "tools; cd tools; ${MAKE} ${MAKEFLAGS} clean + @${ECHO} "= "man; cd man; ${MAKE} ${MAKEFLAGS} clean +# -cd contrib/dbs; ${MAKE} ${MAKEFLAGS} clean +# -cd contrib/dbs/xtiff; ${MAKE} ${MAKEFLAGS} clean clobber distclean: clean rm -f Makefile libtiff/port.h config.log @@ -100,7 +100,7 @@ product:: test -d dist || mkdir dist rm -f dist/rawidb - SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} -${MAKEFLAGS} install installLink + SRC=`pwd` RAWIDB=`pwd`/dist/rawidb ${MAKE} ${MAKEFLAGS} install installLink rm -f dist/idb sort -u +4 dist/rawidb > dist/idb ${GENDIST} -v -dist dist -idb dist/idb \ @@ -498,11 +498,11 @@ release: (cd ${SRCDIR}/dist; sh newversion) - ${MAKE} -${MAKEFLAGS} release.stamp - (cd ${SRCDIR}/libtiff; ${MAKE} -${MAKEFLAGS} tiffvers.h) + ${MAKE} ${MAKEFLAGS} release.stamp + (cd ${SRCDIR}/libtiff; ${MAKE} ${MAKEFLAGS} tiffvers.h) # ${SRCDIR}/configure ${CONFIG} -# ${MAKE} -${MAKEFLAGS} product - ${MAKE} -${MAKEFLAGS} release.tar.zip +# ${MAKE} ${MAKEFLAGS} product + ${MAKE} ${MAKEFLAGS} release.tar.zip # stamp relevant files according to current alpha