summaryrefslogtreecommitdiff
path: root/textproc/sp/files/patch-af
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1999-06-02 21:39:10 +0000
committerChuck Robey <chuckr@FreeBSD.org>1999-06-02 21:39:10 +0000
commit8ae91ecd75dab93ea02924ea02345af50d373c24 (patch)
treef4496f04270a25d0a1fbc2aecefbf2089587c974 /textproc/sp/files/patch-af
parentUpgrade to MM (Shared Memory Library), Version 1.0.5 (diff)
Update sp port to 1.3. Changing the format a bit, too. John Fieber,
the old maintainer, agrees with it.
Notes
Notes: svn path=/head/; revision=19188
Diffstat (limited to 'textproc/sp/files/patch-af')
-rw-r--r--textproc/sp/files/patch-af33
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/sp/files/patch-af b/textproc/sp/files/patch-af
new file mode 100644
index 000000000000..91722c916b02
--- /dev/null
+++ b/textproc/sp/files/patch-af
@@ -0,0 +1,33 @@
+--- Makefile.comm.orig Sun Dec 28 06:24:24 1997
++++ Makefile.comm Wed Jun 2 14:55:44 1999
+@@ -3,6 +3,7 @@
+ $(DEFINES)
+ ALL_CFLAGS=$(CFLAGS) $(DEBUG) $(OPTIMIZE) $(INCLUDE) $(DEFINES)
+ MSGGENFLAGS=
++SHFLAGS=-fpic
+ CXXDEPGENFLAGS=-MM
+ AR=ar
+ RANLIB=:
+@@ -13,13 +14,19 @@
+ PROG=
+ PERL=perl
+
+-.SUFFIXES: .cxx .c .o .m4 .msg
++.SUFFIXES: .cxx .c .o .so .m4 .msg
+
+ .cxx.o:
+- $(CXX) $(ALL_CXXFLAGS) -c $<
++ $(CXX) $(ALL_CXXFLAGS) -c -o $@ $<
++
++.cxx.so:
++ $(CXX) $(ALL_CXXFLAGS) $(SHFLAGS) -c -o $@ $<
+
+ .c.o:
+- $(CC) $(ALL_CFLAGS) -c $<
++ $(CC) $(ALL_CFLAGS) -c -o $@ $<
++
++.c.so:
++ $(CC) $(ALL_CFLAGS) $(SHFLAGS) -c -o $@ $<
+
+ .m4.cxx:
+ rm -f $@