diff options
author | grant <grant@pkgsrc.org> | 2005-08-20 11:06:07 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-08-20 11:06:07 +0000 |
commit | ff248653d06be15c2c13d1fdb668dd6d93b9e7db (patch) | |
tree | 3df78241fe397f02a969d881c92d0f75a8929789 /www | |
parent | ed097917caf32e27a32e09dc16972461e9cccc1f (diff) | |
download | pkgsrc-ff248653d06be15c2c13d1fdb668dd6d93b9e7db.tar.gz |
- USE_LANGUAGES=c++
- strip -lstdc++ if not using gcc
Diffstat (limited to 'www')
-rw-r--r-- | www/cgicc/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/cgicc/Makefile b/www/cgicc/Makefile index 4b2882f214f..1d0f7a1b0e2 100644 --- a/www/cgicc/Makefile +++ b/www/cgicc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2005/05/22 20:08:44 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2005/08/20 11:06:07 grant Exp $ DISTNAME= cgicc-3.1.5 PKGREVISION= 1 @@ -10,6 +10,7 @@ HOMEPAGE= http://www.gnu.org/software/cgicc/cgicc.html COMMENT= C++ compliant CGI applications libraries USE_TOOLS+= gmake +USE_LANGUAGES= c++ USE_LIBTOOL= YES GNU_CONFIGURE= YES @@ -17,4 +18,10 @@ INFO_FILES= cgicc.info LTCONFIG_OVERRIDE= ${WRKSRC}/support/ltconfig ${WRKSRC}/example/ltconfig +.include "../../mk/compiler.mk" + +.if empty(CC_VERSION:Mgcc) +BUILDLINK_TRANSFORM+= rm:-lstdc++ +.endif + .include "../../mk/bsd.pkg.mk" |