Skip to content

Commit

Permalink
Update rdeval to 0.0.5 (bioconda#53619)
Browse files Browse the repository at this point in the history
* Update rdeval to 0.0.5

* edit patches

---------

Co-authored-by: mencian <joshua.zhuang@yahoo.com>
  • Loading branch information
2 people authored and stuber committed Feb 7, 2025
1 parent e07912d commit 526fdca
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 487 deletions.
34 changes: 34 additions & 0 deletions recipes/rdeval/0001-Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
diff --git a/Makefile b/Makefile
index 1682ec3..d9991ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-CXX ?= g++
-INCLUDE_DIR += -I./include -I./gfalibs/include
+CXX ?= $(CXX)
+INCLUDE_DIR += -I./include -I./gfalibs/include -I$(PREFIX)/include
WARNINGS = -Wall -Wextra

CXXFLAGS = -g -std=gnu++14 -O3 $(INCLUDE_DIR) $(WARNINGS) $(CFLAGS)
@@ -12,7 +12,11 @@ SOURCE = src
INCLUDE = include
BINDIR := $(BUILD)/.o

-LDFLAGS += -pthread
+ifeq ($(origin LDFLAGS), undefined)
+ LDFLAGS := -pthread
+else
+ LDFLAGS := $(LDFLAGS) -pthread
+endif
LIBS = -lz -lcrypto -lhts

OBJS := main input reads
@@ -30,7 +34,7 @@ head: $(BINS) gfalibs | $(BUILD)
all: head validate regenerate

$(BINDIR)%: $(SOURCE)/%.cpp $(INCLUDE)/%.h | $(BINDIR)
- $(CXX) $(CXXFLAGS) $(EVP) -c $(SOURCE)/$(notdir $@).cpp -o $@
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(EVP) -c $(SOURCE)/$(notdir $@).cpp -o $@

.PHONY: gfalibs
gfalibs:
File renamed without changes.
26 changes: 0 additions & 26 deletions recipes/rdeval/Makefile.patch

This file was deleted.

104 changes: 0 additions & 104 deletions recipes/rdeval/build_failure.linux-64.yaml

This file was deleted.

104 changes: 0 additions & 104 deletions recipes/rdeval/build_failure.linux-aarch64.yaml

This file was deleted.

104 changes: 0 additions & 104 deletions recipes/rdeval/build_failure.osx-64.yaml

This file was deleted.

Loading

0 comments on commit 526fdca

Please sign in to comment.