summaryrefslogtreecommitdiff
path: root/devel/geany
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-02-07 22:12:21 +0000
committerrillig <rillig@pkgsrc.org>2007-02-07 22:12:21 +0000
commitfb7b2c9111013b0bf1331fd2730e97a2c1ea3333 (patch)
treef24b70c12cacf5a126cc1d56bab6bbd2dce74ca7 /devel/geany
parenta171b6cef7abd0a0e5caa54463f63a537d1d1ade (diff)
downloadpkgsrc-fb7b2c9111013b0bf1331fd2730e97a2c1ea3333.tar.gz
Some platforms don't have libstdc++. And even if they have, it should
never be necessary to explicitly link against it, since that is the job of the C++ compiler. So use that instead of the C compiler for linking the programs. This fixes the build on Solaris with SunPro.
Diffstat (limited to 'devel/geany')
-rw-r--r--devel/geany/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/geany/Makefile b/devel/geany/Makefile
index 2ae973a7e37..4ebc7679959 100644
--- a/devel/geany/Makefile
+++ b/devel/geany/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/07 19:32:03 rmind Exp $
+# $NetBSD: Makefile,v 1.2 2007/02/07 22:12:21 rillig Exp $
DISTNAME= geany-0.10
CATEGORIES= devel
@@ -12,5 +12,8 @@ GNU_CONFIGURE= YES
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+BUILDLINK_TRANSFORM+= rm:-lstdc++
+MAKE_FLAGS+= CCLD=${CXX:Q}
+
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"