From 1760e45e40ef6a1aee3723de2770827ac7ced56b Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 24 May 2016 14:31:50 +0200 Subject: [PATCH] bish: apply voids LDFLAGS. --- srcpkgs/bish/patches/fix-ldflags.patch | 11 +++++++++++ srcpkgs/bish/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/bish/patches/fix-ldflags.patch diff --git a/srcpkgs/bish/patches/fix-ldflags.patch b/srcpkgs/bish/patches/fix-ldflags.patch new file mode 100644 index 00000000000..a3d8bc6c620 --- /dev/null +++ b/srcpkgs/bish/patches/fix-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2016-05-24 14:29:52.349935460 +0200 ++++ Makefile 2016-05-24 14:30:01.190934798 +0200 +@@ -29,7 +29,7 @@ $(OBJ)/libbish.a: $(OBJECTS) + ranlib $@ + + bish: $(SRC)/bish.cpp $(OBJ)/libbish.a +- $(CXX) $(CXXFLAGS) -o bish $(SRC)/bish.cpp $(OBJ)/libbish.a $(CONFIG_CONSTANTS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o bish $(SRC)/bish.cpp $(OBJ)/libbish.a $(CONFIG_CONSTANTS) + + .PHONY: clean + clean: diff --git a/srcpkgs/bish/template b/srcpkgs/bish/template index 71aae7c4417..e97a8aa40af 100644 --- a/srcpkgs/bish/template +++ b/srcpkgs/bish/template @@ -1,7 +1,7 @@ # Template file for 'bish' pkgname=bish version=0.1 -revision=1 +revision=2 build_style=gnu-makefile short_desc="A language that compiles to Bash" maintainer="Diogo Leal "