summaryrefslogtreecommitdiff
path: root/math/spooles/files/patch-Make.inc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-06-10 10:58:20 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-06-10 10:58:20 +0000
commitf52a467861bb09e30ca2d338862dd8a72127f0a8 (patch)
treeddcbe867bf00de0ef4691fa243aafbacba315ca4 /math/spooles/files/patch-Make.inc
parentUpdate to 8.0.2 (diff)
Some clean up and enhancement
PR: 52019 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com> Rewrote in many ways...
Diffstat (limited to 'math/spooles/files/patch-Make.inc')
-rw-r--r--math/spooles/files/patch-Make.inc26
1 files changed, 23 insertions, 3 deletions
diff --git a/math/spooles/files/patch-Make.inc b/math/spooles/files/patch-Make.inc
index 931ce210efd4..1219dfef6bba 100644
--- a/math/spooles/files/patch-Make.inc
+++ b/math/spooles/files/patch-Make.inc
@@ -1,5 +1,5 @@
---- Make.inc.orig Tue Jan 19 06:48:55 1999
-+++ Make.inc Mon May 5 09:59:52 2003
+--- Make.inc.orig Mon Jan 18 16:48:55 1999
++++ Make.inc Sun May 11 14:32:36 2003
@@ -12,7 +12,7 @@
# for solaris
#
@@ -26,7 +26,18 @@
# CFLAGS = -Wall $(OPTLEVEL)
#
#----------------------------------------
-@@ -79,8 +79,8 @@
+@@ -50,8 +50,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 +79,15 @@
# set the ranlib environment
# (if ranlib is not needed, we echo the library name)
#
@@ -37,6 +48,15 @@
#
#---------------------------------------------------------------------
#
+ # set suffix rule *.c --> *.o
+ #
+-.c.o :
+- $(PURIFY) $(CC) -c $(CFLAGS) $<
++#.c.o :
++# $(PURIFY) $(CC) -c $(CFLAGS) $<
+ #
+ #---------------------------------------------------------------------
+ #
@@ -103,7 +103,7 @@
# MPI install library
#