summaryrefslogtreecommitdiff
path: root/www/cgicc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgicc/Makefile')
-rw-r--r--www/cgicc/Makefile9
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"