pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/fastDNAml call ${MAKE} with the right environm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1763449043b6
branches:  trunk
changeset: 467348:1763449043b6
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Jan 29 13:41:05 2004 +0000

description:
call ${MAKE} with the right environment and arguments, override CC.
fixes build with non-gcc.

minor style fixes.

diffstat:

 biology/fastDNAml/Makefile |  13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 5a4b28c69d14 -r 1763449043b6 biology/fastDNAml/Makefile
--- a/biology/fastDNAml/Makefile        Thu Jan 29 13:34:24 2004 +0000
+++ b/biology/fastDNAml/Makefile        Thu Jan 29 13:41:05 2004 +0000
@@ -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_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      \



Home | Main Index | Thread Index | Old Index