diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-08-19 13:29:59 +0000 |
commit | bb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch) | |
tree | ac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/conserver-com | |
parent | 29879aded766da253313579a3503ff5e15026355 (diff) | |
download | ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip |
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes:
svn path=/head/; revision=394778
Diffstat (limited to 'comms/conserver-com')
-rw-r--r-- | comms/conserver-com/Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile index 3226b7259446..bb06f74d6996 100644 --- a/comms/conserver-com/Makefile +++ b/comms/conserver-com/Makefile @@ -22,25 +22,16 @@ OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM UDS_DESC= Use Unix domain sockets for client/server STRIPREALM_DESC=Strip @REALM when using GSSAPI GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI - -.include <bsd.port.options.mk> +STRIPREALM_IMPLIES= GSSAPI +GSSAPIONLY_IMPLIES= GSSAPI DEFAULTPORT?= 782 DEFAULTHOST?= localhost -.if ${PORT_OPTIONS:MUDS} -CONFIGURE_ARGS+= --with-uds -.endif - -.if ${PORT_OPTIONS:MGSSAPI} -CONFIGURE_ARGS+= --with-gssapi -.if ${PORT_OPTIONS:MSTRIPREALM} -CONFIGURE_ARGS+= --with-striprealm -.endif -.if ${PORT_OPTIONS:MGSSAPIONLY} -EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c -.endif -.endif +UDS_CONFIGURE_WITH= uds +GSSAPI_CONFIGURE_WITH= gssapi +STRIPREALM_CONFIGURE_WITH= striprealm +GSSAPIONLY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/conserver-convert |