pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: freebayes: Up-to-date using bundled dependencies
On Fri, Mar 30, 2018 at 07:37:16PM +0000, Winston Weinert wrote:
> +Allow makefile variable overrides
> +--- SeqLib/htslib/Makefile.orig 2018-03-23 18:41:02 UTC
> ++++ SeqLib/htslib/Makefile
> +@@ -22,20 +22,20 @@
> + # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
> + # DEALINGS IN THE SOFTWARE.
> +
> +-CC = gcc
> +-AR = ar
> +-RANLIB = ranlib
> ++CC ?= gcc
> ++AR ?= ar
> ++RANLIB ?= ranlib
> +
> + # Default libraries to link if configure is not used
> + htslib_default_libs = -lz -lm -lbz2 -llzma
> +
> +-CPPFLAGS =
> ++CPPFLAGS ?=
> + # TODO: probably update cram code to make it compile cleanly with -Wc++-compat
> + # For testing strict C99 support add -std=c99 -D_XOPEN_SOURCE=600
> + #CFLAGS = -g -Wall -O2 -pedantic -std=c99 -D_XOPEN_SOURCE=600 -D__FUNCTION__=__func__
> +-CFLAGS = -g -Wall -O2
> ++CFLAGS ?= -g -Wall -O2
> + EXTRA_CFLAGS_PIC = -fpic
> +-LDFLAGS =
> ++LDFLAGS ?=
> + LIBS = $(htslib_default_libs)
> +
> + prefix = /usr/local
^ I assume you want to override prefix too?
Home |
Main Index |
Thread Index |
Old Index