source: trunk/dports/math/petsc/files/patch-makefile.diff @ 37202

Last change on this file since 37202 was 37202, checked in by mmoll@…, 12 years ago

math/petsc: new port

File size: 778 bytes
  • makefile

    old new  
    1616# Basic targets to build PETSc libraries.
    1717# all: builds the c, fortran, and f90 libraries
    1818all:
    19         @if [ "`whoami`" = "root" ]; then \
    20       echo "********************************************************************"; \
    21       echo "  Do not run configure as root, or using sudo.";\
    22       echo "    That should be reserved for installation";\
    23       echo "********************************************************************"; \
    24       exit 1; fi
    2519        @${OMAKE}  PETSC_ARCH=${PETSC_ARCH}  chkpetsc_dir
    2620        -@${OMAKE} all_build 2>&1 | tee make_log_${PETSC_ARCH}
    2721        -@egrep -i "( error | error:)" make_log_${PETSC_ARCH} > /dev/null; if [ "$$?" = "0" ]; then \
Note: See TracBrowser for help on using the repository browser.