diff options
author | rillig <rillig> | 2007-02-07 22:12:21 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-02-07 22:12:21 +0000 |
commit | b4e400619811d04184cfc27f2ce3eb9054640185 (patch) | |
tree | f24b70c12cacf5a126cc1d56bab6bbd2dce74ca7 /devel/geany | |
parent | f0dc1ce0810c2e2ccc73443968786cf9f9e78629 (diff) | |
download | pkgsrc-b4e400619811d04184cfc27f2ce3eb9054640185.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/Makefile | 5 |
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" |