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 | f9807a48642e1463bd6234fc7abf530fa18ab21d (patch) | |
tree | 3df78241fe397f02a969d881c92d0f75a8929789 | |
parent | 7ecfbd51b9681c07b70a7ac660e1779e152c1783 (diff) | |
download | pkgsrc-f9807a48642e1463bd6234fc7abf530fa18ab21d.tar.gz |
- USE_LANGUAGES=c++
- strip -lstdc++ if not using gcc
-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" |