summaryrefslogtreecommitdiff
path: root/graphics/SciPlot/files/patch-Imakefile
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2021-01-12 22:01:54 +0000
committerThierry Thomas <thierry@FreeBSD.org>2021-01-12 22:01:54 +0000
commitd0dcb36e1104e3a530b886892b18ab9c170f8883 (patch)
tree349f30660ce99632849b0d5eb20e38f2b06be5ac /graphics/SciPlot/files/patch-Imakefile
parentgames/doomsday: Update to 2.3.0 (diff)
Fix the library soname and change the WWW: URL.
Diffstat (limited to 'graphics/SciPlot/files/patch-Imakefile')
-rw-r--r--graphics/SciPlot/files/patch-Imakefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/SciPlot/files/patch-Imakefile b/graphics/SciPlot/files/patch-Imakefile
index 51d32b706036..06be8adba57e 100644
--- a/graphics/SciPlot/files/patch-Imakefile
+++ b/graphics/SciPlot/files/patch-Imakefile
@@ -1,6 +1,6 @@
---- Imakefile.orig Thu Sep 5 04:32:58 1996
-+++ Imakefile Sun Nov 28 18:14:34 2004
-@@ -14,13 +15,13 @@
+--- Imakefile.orig 1996-09-05 02:32:58 UTC
++++ Imakefile
+@@ -14,13 +14,13 @@ XCOMM Imakefile for widget demo programs
HDOC = hdoc
#endif
#ifdef AlphaArchitecture
@@ -17,7 +17,7 @@
SYS_LIBRARIES = -lm
CDEBUGFLAGS =
-@@ -28,6 +29,9 @@
+@@ -28,6 +28,9 @@ WIDGET = SciPlot
PROGRAMS = sciplot realtime
TARFILE = sciplot
@@ -27,7 +27,7 @@
SRCS = SciPlot.c SciPlotUtil.c xyplot.c realtime.c
HDRS = SciPlot.h SciPlotP.h SciPlotUtil.h
OBJS = $(SRCS:.c=.o)
-@@ -54,7 +58,7 @@
+@@ -54,7 +57,7 @@ XCOMM Definitions for generating the documentation
$(HDOC) $*.hdoc > $*.html
@@ -36,14 +36,14 @@
NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES))
NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES))
-@@ -79,9 +83,16 @@
+@@ -79,9 +82,16 @@ taz: $(SRCS)
tar cfv $(TARFILE).tar $(TARFILES)
compress $(TARFILE).tar
+libs: $(PLOTOBJS)
+ $(AR) $(LIBNAME).a $(WIDGET).o $(WIDGET)Util.o
+ $(RANLIB) $(LIBNAME).a
-+ $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) $(WIDGET).o $(WIDGET)Util.o \
++ $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) -Wl,-soname,${SONAME} $(WIDGET).o $(WIDGET)Util.o \
+ $(LDFLAGS) $(MOTIFLIBS) $(LDLIBS)
+
# Dependencies: