diff options
author | obache <obache@pkgsrc.org> | 2013-04-23 12:22:35 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-04-23 12:22:35 +0000 |
commit | d6479a47d5d8fbac08982e89a46df5fb56b617d9 (patch) | |
tree | 688167c973e8ac5e950f2f354b1dca39e1a17d8b /lang/perl5 | |
parent | a6c663ffae41d732790d86a82f3da16c2e209bee (diff) | |
download | pkgsrc-d6479a47d5d8fbac08982e89a46df5fb56b617d9.tar.gz |
prevent to use C++ as default linker for Cygwin.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 10 | ||||
-rw-r--r-- | lang/perl5/distinfo | 3 | ||||
-rw-r--r-- | lang/perl5/patches/patch-hints_cygwin.sh | 15 |
3 files changed, 19 insertions, 9 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index da4d72dfbd4..543ae8b0df1 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.199 2013/04/03 09:28:55 adam Exp $ +# $NetBSD: Makefile,v 1.200 2013/04/23 12:22:35 obache Exp $ .include "license.mk" .include "Makefile.common" @@ -40,13 +40,6 @@ 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 @@ -141,6 +134,7 @@ SYSLIBPATH.Cygwin= /usr/lib SYSLIBPATH.Darwin= /usr/lib SYSLIBPATH.DragonFly= /usr/lib SYSLIBPATH.FreeBSD= /usr/lib +SYSLIBPATH.Haiku= /boot/common/lib SYSLIBPATH.Interix= /usr/lib SYSLIBPATH.MirBSD= /usr/lib SYSLIBPATH.NetBSD= /usr/lib diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo index 72089265a11..5b19b73fa0a 100644 --- a/lang/perl5/distinfo +++ b/lang/perl5/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.97 2013/04/03 09:28:55 adam Exp $ +$NetBSD: distinfo,v 1.98 2013/04/23 12:22:35 obache Exp $ SHA1 (perl-5.16.3.tar.gz) = 83678adf56d3dc51f47a90444a891f4fe16868da RMD160 (perl-5.16.3.tar.gz) = e1fe549e5e085c0e089c63d7994d7f11cde059a8 @@ -15,6 +15,7 @@ SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7 SHA1 (patch-cp) = 0b22d334df24d128142855464bf6dd61d4d82975 SHA1 (patch-cpan_Sys-Syslog_Syslog.xs) = 4413010d0b55a0ae636bca8ff3ace2ebc99e90ba SHA1 (patch-dist_Locale-Maketext_lib_Locale_Maketext.pm) = d44647f32d356030c8c2cd6346559f613a7fe459 +SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470 SHA1 (patch-hints_netbsd.sh) = 8a0656a72e81461f461757712b7fc27ad8928028 SHA1 (patch-hints_solaris_2.sh) = 26f804234c07da04ebd6c33ce7ad54d94c746f1e SHA1 (patch-hv.c) = eaea29e1c59bf3b698478ba8ec3f1b25c4ed6cc8 diff --git a/lang/perl5/patches/patch-hints_cygwin.sh b/lang/perl5/patches/patch-hints_cygwin.sh new file mode 100644 index 00000000000..5e4e152c951 --- /dev/null +++ b/lang/perl5/patches/patch-hints_cygwin.sh @@ -0,0 +1,15 @@ +$NetBSD: patch-hints_cygwin.sh,v 1.1 2013/04/23 12:22:36 obache Exp $ + +* prevent to use C++ by default. + +--- hints/cygwin.sh.orig 2013-03-04 15:16:22.000000000 +0000 ++++ hints/cygwin.sh +@@ -39,7 +39,7 @@ archname='cygwin' + # - otherwise -fpic + cccdlflags=' ' + lddlflags=' --shared' +-test -z "$ld" && ld='g++' ++test -z "$ld" && ld="$cc" + + case "$osvers" in + # Configure gets these wrong if the IPC server isn't yet running: |