Mon Feb 12 17:06:58 2018 UTC ()
libmemcached: Let pkgsrc handle security options.


(jperkin)
diff -r1.10 -r1.11 pkgsrc/devel/libmemcached/Makefile

cvs diff -r1.10 -r1.11 pkgsrc/devel/libmemcached/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/libmemcached/Makefile 2014/04/01 13:51:56 1.10
+++ pkgsrc/devel/libmemcached/Makefile 2018/02/12 17:06:58 1.11
@@ -1,32 +1,38 @@ @@ -1,32 +1,38 @@
1# $NetBSD: Makefile,v 1.10 2014/04/01 13:51:56 fhajny Exp $ 1# $NetBSD: Makefile,v 1.11 2018/02/12 17:06:58 jperkin Exp $
2# 2#
3 3
4DISTNAME= libmemcached-1.0.18 4DISTNAME= libmemcached-1.0.18
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= http://launchpad.net/libmemcached/1.0/${PKGVERSION_NOREV}/+download/ 6MASTER_SITES= http://launchpad.net/libmemcached/1.0/${PKGVERSION_NOREV}/+download/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://libmemcached.org/ 9HOMEPAGE= http://libmemcached.org/
10COMMENT= C/C++ client library and tools for the memcached server 10COMMENT= C/C++ client library and tools for the memcached server
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_TOOLS+= pkg-config gmake 14USE_TOOLS+= pkg-config gmake
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17 17
18PKGCONFIG_OVERRIDE+= support/libmemcached.pc.in 18PKGCONFIG_OVERRIDE+= support/libmemcached.pc.in
19 19
 20# Let pkgsrc handle security options.
 21CONFIGURE_ENV+= ax_cv_check_cflags__Werror__fPIE=no
 22CONFIGURE_ENV+= ax_cv_check_cflags__Werror__pie=no
 23CONFIGURE_ENV+= ax_cv_check_cxxflags__Werror__fPIE=no
 24CONFIGURE_ENV+= ax_cv_check_cxxflags__Werror__pie=no
 25
20.include "../../mk/bsd.prefs.mk" 26.include "../../mk/bsd.prefs.mk"
21.include "options.mk" 27.include "options.mk"
22 28
23CONFIGURE_ARGS+=--enable-jobserver=no 29CONFIGURE_ARGS+=--enable-jobserver=no
24 30
25CPPFLAGS+= -D__STDC_FORMAT_MACROS 31CPPFLAGS+= -D__STDC_FORMAT_MACROS
26 32
27LIBS.SunOS+= -lsocket 33LIBS.SunOS+= -lsocket
28 34
29# Disable, the configure check is completely broken. 35# Disable, the configure check is completely broken.
30# Some checks are fixed in the local patches, but not enough to get 36# Some checks are fixed in the local patches, but not enough to get
31# an actual build running 37# an actual build running
32.for sanitizer in address integer thread memory alignment bool bounds enum \ 38.for sanitizer in address integer thread memory alignment bool bounds enum \