pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/cgicc - USE_LANGUAGES=c++
details: https://anonhg.NetBSD.org/pkgsrc/rev/55b4b42740e4
branches: trunk
changeset: 498341:55b4b42740e4
user: grant <grant%pkgsrc.org@localhost>
date: Sat Aug 20 11:06:07 2005 +0000
description:
- USE_LANGUAGES=c++
- strip -lstdc++ if not using gcc
diffstat:
www/cgicc/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r ac4d6652e775 -r 55b4b42740e4 www/cgicc/Makefile
--- a/www/cgicc/Makefile Sat Aug 20 10:53:44 2005 +0000
+++ b/www/cgicc/Makefile Sat Aug 20 11:06:07 2005 +0000
@@ -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 @@
COMMENT= C++ compliant CGI applications libraries
USE_TOOLS+= gmake
+USE_LANGUAGES= c++
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@@ -17,4 +18,10 @@
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"
Home |
Main Index |
Thread Index |
Old Index