diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-08 01:04:40 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-08 01:04:40 +0000 |
commit | 5aa3e56288f990c8301ca0b3228871801b421748 (patch) | |
tree | 8ee98e4b4c13491802dba838412fd28a5d4391ea /devel/stlport | |
parent | 191297890b211f481e771da707a43704e294504e (diff) | |
download | pkgsrc-5aa3e56288f990c8301ca0b3228871801b421748.tar.gz |
Don't keep re-evaluating GCC_BINDIR -- preserve its value in MAKEFLAGS and
don't compute its value if it's already defined.
Diffstat (limited to 'devel/stlport')
-rw-r--r-- | devel/stlport/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile index 33f883ca2fd..a399101fbd8 100644 --- a/devel/stlport/Makefile +++ b/devel/stlport/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/04/30 20:41:11 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/08 01:04:40 jlam Exp $ DISTNAME= STLport-4.0 PKGNAME= stlport-4.0 @@ -56,15 +56,13 @@ do-install: .include "../../mk/bsd.pkg.mk" -GCC_BINDIR= # empty -.if ${GCC_BINDIR} == "" +.if !defined(GCC_BINDIR) PGCC_DEPEND!= ${PKG_INFO} -e "pgcc>=${GCC_VERS}" || ${ECHO} GCC_DEPEND!= ${PKG_INFO} -e "gcc>=${GCC_VERS}" || ${ECHO} .if ${PGCC_DEPEND} != "" GCC_BINDIR= ${PREFIX}/${PGCC_DEPEND}/bin -MAKEFLAGS+= GCC_BINDIR="${GCC_BINDIR}" .elif ${GCC_DEPEND} != "" GCC_BINDIR= ${PREFIX}/${GCC_DEPEND}/bin -MAKEFLAGS+= GCC_BINDIR="${GCC_BINDIR}" .endif +MAKEFLAGS+= GCC_BINDIR="${GCC_BINDIR}" .endif |