diff options
| author | Thierry Thomas <thierry@FreeBSD.org> | 2013-09-02 17:47:54 +0000 |
|---|---|---|
| committer | Thierry Thomas <thierry@FreeBSD.org> | 2013-09-02 17:47:54 +0000 |
| commit | c2c4c7bd1a5979c0066d6ffd4097f99a111528b0 (patch) | |
| tree | a99ab259a8cc91919d5b0b6dca50ec0b4ba421d3 /graphics/SciPlot/files/patch-Imakefile | |
| parent | - Add LICENSE (diff) | |
- Fix the build on -CURRENT ;
- Since I'm there, define LICENSE and split PORTDOCS/PORTEXAMPLES.
PR: ports/181759
Submitted by: tijl
Diffstat (limited to 'graphics/SciPlot/files/patch-Imakefile')
| -rw-r--r-- | graphics/SciPlot/files/patch-Imakefile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/graphics/SciPlot/files/patch-Imakefile b/graphics/SciPlot/files/patch-Imakefile index e32181f4a679..1a496e7363b0 100644 --- a/graphics/SciPlot/files/patch-Imakefile +++ b/graphics/SciPlot/files/patch-Imakefile @@ -18,7 +18,7 @@ MOTIFDEPS = $(DEPXMLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) -MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) -+# MOTIFLIBS = $(MOTIF) $(XMULIB) $(XTOOLLIB) $(XLIB) ++MOTIFLIBS = $(MOTIFLIB) $(XTOOLONLYLIB) $(XONLYLIB) SYS_LIBRARIES = -lm CDEBUGFLAGS = @@ -32,20 +32,15 @@ SRCS = SciPlot.c SciPlotUtil.c xyplot.c realtime.c HDRS = SciPlot.h SciPlotP.h SciPlotUtil.h OBJS = $(SRCS:.c=.o) -@@ -54,10 +58,10 @@ +@@ -54,7 +58,7 @@ $(HDOC) $*.hdoc > $*.html -AllTarget(sciplot realtime) +AllTarget(sciplot realtime libs) --NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) --NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) -+NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) -+NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIB),$(SYS_LIBRARIES)) - - doc: $(HOBJS) $(HDOC) - @echo "Updated html." + NormalProgramTarget(sciplot,$(PLOTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) + NormalProgramTarget(realtime,$(RTOBJS),$(MOTIFDEPS),$(MOTIFLIBS),$(SYS_LIBRARIES)) @@ -79,9 +83,16 @@ tar cfv $(TARFILE).tar $(TARFILES) compress $(TARFILE).tar @@ -54,7 +49,7 @@ + $(AR) $(LIBNAME).a $(WIDGET).o $(WIDGET)Util.o + $(RANLIB) $(LIBNAME).a + $(CC) $(SHLIBLDFLAGS) -o $(SONAME).$(SONUM) $(WIDGET).o $(WIDGET)Util.o \ -+ $(LDFLAGS) $(MOTIFLIB) $(LDLIBS) ++ $(LDFLAGS) $(MOTIFLIBS) $(LDLIBS) + # Dependencies: |
