aboutsummaryrefslogtreecommitdiff
path: root/biology/bcf-score/files/patch-Makefile
blob: 55d6f64d426dc2165f78369f10b488346905ea0f (plain) (blame)
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
--- Makefile.orig	2024-09-12 15:06:36 UTC
+++ Makefile
@@ -59,13 +59,14 @@ misc_bindir = $(bindir)
 # Installation location for $(MISC_PROGRAMS) and $(MISC_SCRIPTS)
 misc_bindir = $(bindir)
 
-MKDIR_P = mkdir -p
-INSTALL = install -p
-INSTALL_DATA    = $(INSTALL) -m 644
-INSTALL_DIR     = $(MKDIR_P) -m 755
-INSTALL_MAN     = $(INSTALL_DATA)
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_SCRIPT  = $(INSTALL_PROGRAM)
+# Use BSD_INSTALL_PROGRAM to strip when WITH_DEBUG not set
+MKDIR_P		= mkdir -p
+INSTALL		= install -p
+INSTALL_DATA	= ${BSD_INSTALL_DATA}
+INSTALL_DIR	= $(MKDIR_P)
+INSTALL_MAN	= ${BSD_INSTALL_MAN}
+INSTALL_PROGRAM	= ${BSD_INSTALL_PROGRAM}
+INSTALL_SCRIPT	= ${BSD_INSTALL_SCRIPT}
 
 PROGRAMS = bcftools
 MISC_SCRIPTS = \
@@ -144,7 +145,7 @@ ifdef USE_GPL
     main.o : EXTRA_CPPFLAGS += -DUSE_GPL
     OBJS += polysomy.o peakfit.o
     ifndef GSL_LIBS
-        GSL_LIBS += -lgsl -lcblas
+        GSL_LIBS += -lgslcblas
     endif
 endif