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 "