--- Makefile.orig 2024-09-27 11:44:03 UTC +++ Makefile @@ -59,13 +59,13 @@ 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) +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 +144,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