From 1a41031b0af083918af849c04ed6f37060558955 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 29 Jan 2004 13:41:05 +0000 Subject: call ${MAKE} with the right environment and arguments, override CC. fixes build with non-gcc. minor style fixes. --- biology/fastDNAml/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/biology/fastDNAml/Makefile b/biology/fastDNAml/Makefile index 8503dc2dc1e..4463ed95ab3 100644 --- a/biology/fastDNAml/Makefile +++ b/biology/fastDNAml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/01/20 12:08:40 agc Exp $ +# $NetBSD: Makefile,v 1.5 2004/01/29 13:41:05 grant Exp $ DISTNAME= fastDNAml_1.2.1 PKGNAME= fastDNAml-1.2.1 @@ -14,11 +14,16 @@ NO_SRC_ON_CDROM= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} WRKSRC= ${WRKDIR}/${DISTNAME} +ALL_TARGET= fastDNAml -do-build : - @ cd ${WRKSRC}/source && ${MAKE} LDFLAGS=-lm fastDNAml +MAKE_FLAGS+= CC="${CC}" +MAKE_FLAGS+= LDFLAGS=-lm -do-install : +do-build: + @cd ${WRKSRC}/source && \ + ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${ALL_TARGET} + +do-install: ${INSTALL_PROGRAM} ${WRKSRC}/source/fastDNAml ${PREFIX}/bin .for SCRIPT in ae2dnaml bootstrap categories categories_file \ checkpoint_summary clean_checkpoints clean_jumbles \ -- cgit v1.2.3