source: trunk/dports/science/mapm3/files/patch-Makefile @ 38628

Last change on this file since 38628 was 38628, checked in by ryandesign@…, 11 years ago

mapm3: fix readline build errors by turning off readline support; closes #16027

File size: 1.6 KB
Line 
1--- Makefile 1993-02-10 00:12:59.000000000 -0600
2+++ Makefile 2008-07-26 00:57:11.000000000 -0500
3@@ -24,7 +24,7 @@
4 #### datasets (roughly 5000 loci vs 1000 loci). For even bigger datasets,
5 #### modify mapm/mapm.h.
6 
7-SYS= -D_SYS_SUNOS
8+SYS= -D_SYS_DARWIN -DUSE_RAND48
9 
10 #### Next define the system libraries to link with Mapmaker. On SunOS, Ultrix
11 #### and other vanilla-ish BSD systems, the correct setting is:
12@@ -70,9 +70,8 @@
13 #### (see the end of readline/readline.c). Readline will not compile on
14 #### A/UX without using GCC instead of A/UX's cc (because it needs alloca).
15 
16-OUR_LIB= gnu.o
17-GNU_OPT= -D_GNU_READLINE -I.
18-GNU_LIBS= -L$(RDLN) -lreadline
19+OUR_LIB= lib.o
20+GNU_OPT=
21 
22 #### Now we specify the commands used to compile MAPMAKER.  The stuff
23 #### below works on Sun SPARCStations running SunOS 4.1.x (aka Solaris 1.x)
24@@ -82,7 +81,7 @@
25 #### person at your site should be able to figure out what to do almost
26 #### trivially. See the file INSTALL.ME for details.
27 
28-COMPILE= cc
29+COMPILE= cc -fwritable-strings
30 LINKALL= cc
31 LINKLIB= ld -r
32 DELETE=  rm -f
33@@ -113,7 +112,7 @@
34 MAPM_CLEAN= $(MAPM)*.o $(MAPM)*.ln $(MAPM)*.lint
35 M_HELP_IN=  $(MAPM)mapmhelp.src
36 M_HELP_SRC= $(MAPM)mapmhelp.c
37-M_INSTALL=  mapmaker mapmaker.help xmapmaker
38+M_INSTALL=  mapmaker mapmaker.help sun/xmapmaker
39 
40 QTL_OBJ = \
41   $(QTL)qcmds.o           $(QTL)qctm.o      $(QTL)qdata.o      $(QTL)qseq.o \
42@@ -125,7 +124,7 @@
43 QTL_CLEAN=  $(QTL)*.o $(QTL)*.ln $(QTL)*.lint
44 Q_HELP_IN=  $(QTL)qtlhelp.src
45 Q_HELP_SRC= $(QTL)qtlhelp.c
46-Q_INSTALL=  qtl qtl.help xqtl
47+Q_INSTALL=  qtl qtl.help sun/xqtl
48 
49 LIB_OBJ= \
50   $(LIB)memlib.o $(LIB)mathlib.o $(LIB)iolib.o $(LIB)msglib.o $(LIB)strlib.o \
Note: See TracBrowser for help on using the repository browser.