Sat Apr 25 23:31:23 2015 UTC ()
Add clang to ONLY_FOR_COMPILER per PR 49852 from Alexander Borkowski.

(XXX: shouldn't the wrappers be taking care of -Werror for compilers
that don't understand it?)


(dholland)
diff -r1.32 -r1.33 pkgsrc/net/socat/Makefile

cvs diff -r1.32 -r1.33 pkgsrc/net/socat/Makefile (expand / switch to unified diff)

--- pkgsrc/net/socat/Makefile 2014/09/07 23:24:56 1.32
+++ pkgsrc/net/socat/Makefile 2015/04/25 23:31:23 1.33
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1# $NetBSD: Makefile,v 1.32 2014/09/07 23:24:56 rodent Exp $ 1# $NetBSD: Makefile,v 1.33 2015/04/25 23:31:23 dholland Exp $
2 2
3DISTNAME= socat-1.7.2.4 3DISTNAME= socat-1.7.2.4
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= http://www.dest-unreach.org/socat/download/ 5MASTER_SITES= http://www.dest-unreach.org/socat/download/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= http://www.dest-unreach.org/socat/ 8HOMEPAGE= http://www.dest-unreach.org/socat/
9COMMENT= "netcat++" (extended design, new implementation) 9COMMENT= "netcat++" (extended design, new implementation)
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12GNU_CONFIGURE= YES 12GNU_CONFIGURE= YES
13ONLY_FOR_COMPILER= gcc # uses -Werror in the configure script 13ONLY_FOR_COMPILER= gcc clang # uses -Werror in the configure script
14 14
15.include "../../mk/bsd.prefs.mk" 15.include "../../mk/bsd.prefs.mk"
16 16
17CONFIGURE_ARGS+= --disable-libwrap 17CONFIGURE_ARGS+= --disable-libwrap
18 18
19.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" 19.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD"
20# XXX Kludge -- the right fix is to make socat not depend on these constants. 20# XXX Kludge -- the right fix is to make socat not depend on these constants.
21CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1 21CONFIGURE_ENV+= sc_cv_sys_crdly_shift=-1
22CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1 22CONFIGURE_ENV+= sc_cv_sys_tabdly_shift=-1
23CONFIGURE_ENV+= sc_cv_sys_csize_shift=8 23CONFIGURE_ENV+= sc_cv_sys_csize_shift=8
24CONFIGURE_ENV+= ac_cv_ispeed_offset=9 24CONFIGURE_ENV+= ac_cv_ispeed_offset=9
25.endif 25.endif
26 26