summaryrefslogtreecommitdiff
path: root/biology/fastDNAml
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
commit1a41031b0af083918af849c04ed6f37060558955 (patch)
tree479f739aecc2a099541dfdf7b4d1e8b911103522 /biology/fastDNAml
parentda44ad5fae81627e5dab17c065977a2cae3db4e6 (diff)
downloadpkgsrc-1a41031b0af083918af849c04ed6f37060558955.tar.gz
call ${MAKE} with the right environment and arguments, override CC.
fixes build with non-gcc. minor style fixes.
Diffstat (limited to 'biology/fastDNAml')
-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 \