summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-01-29 13:41:05 +0000
committergrant <grant@pkgsrc.org>2004-01-29 13:41:05 +0000
commitb2d1f41ee2d3cfb6f13dda03c0d997163d3e25c0 (patch)
tree479f739aecc2a099541dfdf7b4d1e8b911103522 /biology
parent0fe93082c3712010624a39eed556970e03e9482b (diff)
downloadpkgsrc-b2d1f41ee2d3cfb6f13dda03c0d997163d3e25c0.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/Makefile13
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 \