summaryrefslogtreecommitdiff
path: root/lang/perl5/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-27 14:02:22 +0000
committerobache <obache@pkgsrc.org>2013-02-27 14:02:22 +0000
commit2553fa7110cd59bf9edf4c0e35e7efb39843eb24 (patch)
treefb1cb74434631dd9db8e769f0b46648364610254 /lang/perl5/Makefile
parent244d04347c75b9ca92707204cafae9309a7a70b1 (diff)
downloadpkgsrc-2553fa7110cd59bf9edf4c0e35e7efb39843eb24.tar.gz
ld='g++' in hints/cygwin.sh, c++ is required on Cygwin.
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r--lang/perl5/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 87f7eea7926..10aa1ae27a6 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.194 2013/01/17 13:29:59 manu Exp $
+# $NetBSD: Makefile,v 1.195 2013/02/27 14:02:22 obache Exp $
.include "license.mk"
.include "Makefile.common"
@@ -41,6 +41,13 @@ PERL5_API_VERS_cmd= \
.include "dirs.mk"
+#
+# ld='g++' in hints/cygwin.sh
+#
+.if ${OPSYS} == "Cygwin"
+USE_LANGUAGES= c c++
+.endif
+
.include "../../mk/compiler.mk"
HAS_CONFIGURE= yes