1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/math/spooles/files/patch-Make.inc
Maho Nakata 872cd5faab Install shared libs too.
Bump port revision.
2007-01-09 04:08:38 +00:00

88 lines
1.9 KiB
PHP

--- Make.inc.orig Tue Jan 19 06:48:55 1999
+++ Make.inc Tue Jan 9 12:57:18 2007
@@ -12,7 +12,7 @@
# for solaris
#
# CC = gcc
- CC = /usr/lang-4.0/bin/cc
+# CC = cc
#
# for sgi
#
@@ -22,20 +22,23 @@
#
# CC = /opt/mpi/bin/mpicc
#
+# for FreeBSD
+CC = %%CC%%
+#
#----------------------------------------
#
# set the compiler flags
#
# OPTLEVEL =
# OPTLEVEL = -g -v
- OPTLEVEL = -O
+# OPTLEVEL = -O
# OPTLEVEL = -xO5 -v
# OPTLEVEL = -O3
# OPTLEVEL = -O4
-# CFLAGS = -Wall -g
+CFLAGS = %%CFLAGS%%
# CFLAGS = -Wall -pg
# CFLAGS = $(OPTLEVEL) -D_POSIX_C_SOURCE=199506L
- CFLAGS = $(OPTLEVEL)
+# CFLAGS += $(OPTLEVEL)
# CFLAGS = -Wall $(OPTLEVEL)
#
#----------------------------------------
@@ -50,8 +53,8 @@
# set any thread libraries
#
# THREAD_LIBS =
-# THREAD_LIBS = -D_REENTRANT=199506L -lpthread
- THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread
+THREAD_LIBS = -D_REENTRANT=199506L %%PTHREAD_LIBS%%
+# THREAD_LIBS = -D_POSIX_C_SOURCE=199506L -lpthread
# THREAD_LIBS = -lpthread
#
#---------------------------------------------------------------------
@@ -79,15 +82,15 @@
# set the ranlib environment
# (if ranlib is not needed, we echo the library name)
#
-# RANLIB = ranlib
- RANLIB = echo
+ RANLIB = ranlib
+# RANLIB = echo
#
#---------------------------------------------------------------------
#
# set suffix rule *.c --> *.o
#
-.c.o :
- $(PURIFY) $(CC) -c $(CFLAGS) $<
+#.c.o :
+# $(PURIFY) $(CC) -c $(CFLAGS) $<
#
#---------------------------------------------------------------------
#
@@ -103,7 +106,7 @@
# MPI install library
#
# MPI_INSTALL_DIR =
- MPI_INSTALL_DIR = /usr/local/mpich-1.0.13
+MPI_INSTALL_DIR = %%LOCALBASE%%/mpich2
#
#---------------------------------------------------------------------
#
@@ -115,7 +118,7 @@
#
# for solaris
#
- MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib/solaris/ch_p4
+MPI_LIB_PATH = -L$(MPI_INSTALL_DIR)/lib
#
# for hp
#