Ticket #65627: patch-spooles-make.inc.diff

File patch-spooles-make.inc.diff, 1.4 KB (added by mbrethen, 2 years ago)
  • spooles.2.2

    diff -ur spooles.2.2.orig/Make.inc spooles.2.2/Make.inc
    old new  
    1212# for solaris
    1313#
    1414# CC = gcc
    15   CC = /usr/lang-4.0/bin/cc
     15  CC = @@CC@@
    1616#
    1717# for sgi
    1818#
     
    5152#
    5253# THREAD_LIBS =
    5354# THREAD_LIBS = -D_REENTRANT=199506L -lpthread
    54   THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread
    55 # THREAD_LIBS = -lpthread
     55# THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread
     56  THREAD_LIBS = -lpthread
    5657#
    5758#---------------------------------------------------------------------
    5859#
     
    103103#  MPI install library
    104104#
    105105# MPI_INSTALL_DIR =
    106   MPI_INSTALL_DIR = /usr/local/mpich-1.0.13
     106  MPI_INSTALL_DIR = @@PREFIX@@
    107107#
    108108#---------------------------------------------------------------------
    109109#
     
    115115#
    116116# for solaris
    117117#
    118   MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/solaris/ch_p4
     118  MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/mpich-mp
    119119#
    120120# for hp
    121121#
     
    127127#
    128128# for solaris
    129129#
    130   MPI_LIBS = $(MPI_LIB_PATH) -D_REENTRANT -lmpi -lsocket -lnsl -lthread
     130  MPI_LIBS = $(MPI_LIB_PATH) -lpthread
    131131#
    132132# for sgi
    133133#
     
    142142#  MPI include path
    143143#
    144144# MPI_INCLUDE_DIR =
    145   MPI_INCLUDE_DIR = -I$(MPI_INSTALL_DIR)/include
     145  MPI_INCLUDE_DIR = -I@@PREFIX@@/include/mpich-mp
    146146#
    147147#---------------------------------------------------------------------