18552341 proftpd doesn't build on 45 (fix build)
authorTomas Klacko <tomas.klacko@oracle.com>
Fri, 25 Apr 2014 14:16:08 -0700
changeset 1854 f5969f61e00e
parent 1853 7d5d194ae029
child 1855 7bd4034d9560
18552341 proftpd doesn't build on 45 (fix build)
components/proftpd/Makefile
--- a/components/proftpd/Makefile	Fri Apr 25 11:27:37 2014 -0700
+++ b/components/proftpd/Makefile	Fri Apr 25 14:16:08 2014 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -56,7 +56,8 @@
 # instead of 'e'.
 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION).0.7
 
-CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER"
+# Remove -D_POSIX_PTHREAD_SEMANTICS and this comment after move to S12_45.
+CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER -D_POSIX_PTHREAD_SEMANTICS"
 # Force immediate binding because of chroot().
 CONFIGURE_OPTIONS +=	LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm"
 CONFIGURE_OPTIONS +=	install_user=`id -nu`