File: deblibs.patch

package info (click to toggle)
ncl 6.6.2.dfsg.1-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236,516 kB
  • sloc: ansic: 636,333; fortran: 443,915; csh: 19,653; sed: 11,224; yacc: 4,248; f90: 4,079; sh: 3,284; xml: 1,928; python: 1,841; lex: 1,298; perl: 995; java: 447; makefile: 398; objc: 291
file content (43 lines) | stat: -rw-r--r-- 1,816 bytes parent folder | download | duplicates (4)
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))