aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/conserver-com/Makefile')
-rw-r--r--comms/conserver-com/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile
index 3226b725944..bb06f74d699 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