Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:25:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431361 - in head/databases/p5-Memcached-libmemcached: . files
Message-ID:  <201701130925.v0D9PGfx073405@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 13 09:25:16 2017
New Revision: 431361
URL: https://svnweb.freebsd.org/changeset/ports/431361

Log:
  - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
  
  Approved by:	portmgr blanket

Deleted:
  head/databases/p5-Memcached-libmemcached/files/extra-patch-Makefile.PL
Modified:
  head/databases/p5-Memcached-libmemcached/Makefile
  head/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL

Modified: head/databases/p5-Memcached-libmemcached/Makefile
==============================================================================
--- head/databases/p5-Memcached-libmemcached/Makefile	Fri Jan 13 09:24:39 2017	(r431360)
+++ head/databases/p5-Memcached-libmemcached/Makefile	Fri Jan 13 09:25:16 2017	(r431361)
@@ -23,10 +23,4 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Makefile.PL
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
-EXTRA_PATCHES=	${FILESDIR}/extra-patch-Makefile.PL
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL
==============================================================================
--- head/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL	Fri Jan 13 09:24:39 2017	(r431360)
+++ head/databases/p5-Memcached-libmemcached/files/patch-Makefile.PL	Fri Jan 13 09:25:16 2017	(r431361)
@@ -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',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701130925.v0D9PGfx073405>