1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
Author: Tyson Whitehead <twhitehead@gmail.com>
Last-Updated: 2017-04-17
Description: DEBLIBS can't include -l switch (silent db build failure issue)
Bug-Debian: https://bugs.debian.org/787652
Forwarded: not-needed
Put NCARGGKSLIB into PROG_LIBS and DEPNCARGGKSLIB into DEPLIBS.
This split is required as the DEP ones have to not include the -l
switch and the non-DEP ones have to include the -l switch.
Failure to specify this split properly was stopping some of the
databases from being built (it tried to build -l... targets).
Index: ncl-6.6.2/ncarg2d/src/db/plotchar/yMakefile
===================================================================
--- ncl-6.6.2.orig/ncarg2d/src/db/plotchar/yMakefile
+++ ncl-6.6.2/ncarg2d/src/db/plotchar/yMakefile
@@ -6,8 +6,8 @@ MYNAME = plotchar
OBJECTS = pccchk.o pcdchk.o pcexcd.o pcwb15.o pcwbin.o pcwrda.o
-PROG_LIBS = $(NCARGLIB) $(NCARGCLIB)
-DEPLIBS = $(DEPNCARGLIB) $(DEPNCARGCLIB) $(NCARGGKSLIB)
+PROG_LIBS = $(NCARGLIB) $(NCARGCLIB) $(NCARGGKSLIB)
+DEPLIBS = $(DEPNCARGLIB) $(DEPNCARGCLIB) $(DEPNCARGGKSLIB)
FortranProgram(WritePlotcharData,$(OBJECTS),$(DEPLIBS))
InstallTarget(PlotcharData,$(INSTALL_DB),$(DBPATH))
Index: ncl-6.6.2/ncarg2d/src/db/pwritxnt/yMakefile
===================================================================
--- ncl-6.6.2.orig/ncarg2d/src/db/pwritxnt/yMakefile
+++ ncl-6.6.2/ncarg2d/src/db/pwritxnt/yMakefile
@@ -12,8 +12,8 @@ FSOURCES = \
ccheck.f creb15.f crebin.f dcheck.f dport.f mkmsk.f pcrbin.f\
xtch.f
-PROG_LIBS = $(NCARGLIB) $(NCARGCLIB)
-DEPLIBS = $(DEPNCARGLIB) $(DEPNCARGCLIB) $(NCARGGKSLIB)
+PROG_LIBS = $(NCARGLIB) $(NCARGCLIB) $(NCARGGKSLIB)
+DEPLIBS = $(DEPNCARGLIB) $(DEPNCARGCLIB) $(DEPNCARGGKSLIB)
FortranProgram(pwritxnt,$(OBJECTS),$(DEPLIBS))
InstallTarget(pwritdata,$(INSTALL_DB),$(DBPATH))
|