components/proftpd/Makefile
changeset 1854 f5969f61e00e
parent 1365 449992904128
child 1948 2d1537e7942d
equal deleted inserted replaced
1853:7d5d194ae029 1854:f5969f61e00e
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		proftpd
    28 COMPONENT_NAME=		proftpd
    54 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
    54 # enough for us. We need to include the $(COMPONENT_SUBVERSION) somehow.
    55 # Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5'
    55 # Because the IPS_COMPONENT_VERSION cannot contain letters we used '.0.5'
    56 # instead of 'e'.
    56 # instead of 'e'.
    57 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION).0.7
    57 IPS_COMPONENT_VERSION=  $(COMPONENT_VERSION).0.7
    58 
    58 
    59 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER"
    59 # Remove -D_POSIX_PTHREAD_SEMANTICS and this comment after move to S12_45.
       
    60 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS) -I/usr/include/kerberosv5 -DHAVE_KRB5_H=1 -DKRB5_DLLIMP= -DHAVE__GETGRPSBYMEMBER -D_POSIX_PTHREAD_SEMANTICS"
    60 # Force immediate binding because of chroot().
    61 # Force immediate binding because of chroot().
    61 CONFIGURE_OPTIONS +=	LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm"
    62 CONFIGURE_OPTIONS +=	LDFLAGS="-z guidance=nolazyload -z nolazyload -lbsm"
    62 CONFIGURE_OPTIONS +=	install_user=`id -nu`
    63 CONFIGURE_OPTIONS +=	install_user=`id -nu`
    63 CONFIGURE_OPTIONS +=	install_group=`groups | cut -f 1 -d ' '`
    64 CONFIGURE_OPTIONS +=	install_group=`groups | cut -f 1 -d ' '`
    64 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)
    65 CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)