diff options
author | martti <martti> | 2002-03-01 10:56:51 +0000 |
---|---|---|
committer | martti <martti> | 2002-03-01 10:56:51 +0000 |
commit | e25b0b1bf197c000eed4e98c7a826ae25e9b4529 (patch) | |
tree | 04e46e4ad8e7323fc82d95264c7c9b07e67595af /devel | |
parent | 3c4bcc91f25f4059b11ccbda97ef247eb8cdb2b3 (diff) | |
download | pkgsrc-e25b0b1bf197c000eed4e98c7a826ae25e9b4529.tar.gz |
Added some .if ... .endif glue to detect the gcc version. Now systems with
gcc 2.95.3 in /usr/bin don't need to build lang/gcc (pkg/15620).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/stlport/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile index 7821c245310..b6d365d3d8e 100644 --- a/devel/stlport/Makefile +++ b/devel/stlport/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2002/02/25 13:53:36 mrauch Exp $ +# $NetBSD: Makefile,v 1.10 2002/03/01 10:56:51 martti Exp $ DISTNAME= STLport-4.0 PKGNAME= stlport-4.0 @@ -10,8 +10,13 @@ MAINTAINER= p99dreyf@criens.u-psud.fr HOMEPAGE= http://www.stlport.org/ COMMENT= Complete C++ standard library +GCC_VERSION!= ${CC} --version +.if ${GCC_VERSION}!="2.95.3" DEPENDS+= {gcc,pgcc}>=${GCC_VERS}:../../lang/gcc GCC_VERS= 2.95.3 +.else +GCC_BINDIR= /usr/bin +.endif USE_GMAKE= # defined USE_LIBTOOL= # defined |