diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-13 17:25:16 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-01-13 17:25:16 +0800 |
commit | 2d3528c1cc30bfa83b477deab1bea665153929ea (patch) | |
tree | 9d3e7163e84f32e65d8e6b4a5d81e29091ee56f2 /databases/p5-Memcached-libmemcached/files | |
parent | ea3331a345a5f2f9541c4f58dae00d6a1d102e0f (diff) | |
download | freebsd-ports-gnome-2d3528c1cc30bfa83b477deab1bea665153929ea.tar.gz freebsd-ports-gnome-2d3528c1cc30bfa83b477deab1bea665153929ea.tar.zst freebsd-ports-gnome-2d3528c1cc30bfa83b477deab1bea665153929ea.zip |
- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by: portmgr blanket
Diffstat (limited to 'databases/p5-Memcached-libmemcached/files')
-rw-r--r-- | databases/p5-Memcached-libmemcached/files/extra-patch-Makefile.PL | 11 | ||||
-rw-r--r-- | databases/p5-Memcached-libmemcached/files/patch-Makefile.PL | 9 |
2 files changed, 9 insertions, 11 deletions
diff --git a/databases/p5-Memcached-libmemcached/files/extra-patch-Makefile.PL b/databases/p5-Memcached-libmemcached/files/extra-patch-Makefile.PL deleted file mode 100644 index c9685df3280b..000000000000 --- a/databases/p5-Memcached-libmemcached/files/extra-patch-Makefile.PL +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.PL.orig 2015-05-07 17:56:22 UTC -+++ Makefile.PL -@@ -54,7 +54,7 @@ if (my $gccversion = $Config{gccversion} - $opts{DEFINE} .= ' -Wmissing-prototypes'; - } - } --$opts{LIBS} = ["-lstdc++"]; # else error: libmemcached.so: undefined symbol: __gxx_personality_v0 -+$opts{LIBS} = ["-lc++"]; # else error: libmemcached.so: undefined symbol: __gxx_personality_v0 - $opts{OPTIMIZE} = "-g" if $opt_g; - $opts{CCFLAGS} = "-pg" if $opt_pg; - my $coverage_flags = ""; diff --git a/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL b/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL index c00cc1dfcc13..a9e52265d80c 100644 --- a/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL +++ b/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL @@ -11,6 +11,15 @@ my $is_developer = (-d ".svn" || -d ".git"); my ($lmcd_h) = eval { build_libmemcached() }; +@@ -54,7 +54,7 @@ if (my $gccversion = $Config{gccversion} + $opts{DEFINE} .= ' -Wmissing-prototypes'; + } + } +-$opts{LIBS} = ["-lstdc++"]; # else error: libmemcached.so: undefined symbol: __gxx_personality_v0 ++$opts{LIBS} = ["-lc++"]; # else error: libmemcached.so: undefined symbol: __gxx_personality_v0 + $opts{OPTIMIZE} = "-g" if $opt_g; + $opts{CCFLAGS} = "-pg" if $opt_pg; + my $coverage_flags = ""; @@ -76,7 +76,7 @@ WriteMakefile( AUTHOR => 'Tim Bunce <Tim.Bunce@pobox.com>', VERSION_FROM => 'libmemcached.pm', |