diff options
author | grant <grant> | 2004-01-29 13:41:05 +0000 |
---|---|---|
committer | grant <grant> | 2004-01-29 13:41:05 +0000 |
commit | ab6705e2bedf528bd1ad1a7aac0258cfbbd3009b (patch) | |
tree | 479f739aecc2a099541dfdf7b4d1e8b911103522 /biology | |
parent | 9733b63cba9d25ce2c174b1dd76569bf53e90312 (diff) | |
download | pkgsrc-ab6705e2bedf528bd1ad1a7aac0258cfbbd3009b.tar.gz |
call ${MAKE} with the right environment and arguments, override CC.
fixes build with non-gcc.
minor style fixes.
Diffstat (limited to 'biology')
-rw-r--r-- | biology/fastDNAml/Makefile | 13 |
1 files 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 \ |