summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2013-03-15 08:33:39 +0000
committerSofian Brabez <sbz@FreeBSD.org>2013-03-15 08:33:39 +0000
commit8d2859bce079ccdfbb9ec01388adb756a0cdb937 (patch)
tree66d12907c124043a1f75e4b41e359b8c3b3e1d4b /security
parent- Update to 2.07 (diff)
- Use OPTIONS_SINGLE
PR: ports/176257 Submitted by: Jed Clear <jclear at speakeasy.net> Reviewed by: jgh
Notes
Notes: svn path=/head/; revision=314279
Diffstat (limited to 'security')
-rw-r--r--security/knock/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/security/knock/Makefile b/security/knock/Makefile
index cb1c1399ee53..f08640b41613 100644
--- a/security/knock/Makefile
+++ b/security/knock/Makefile
@@ -21,8 +21,8 @@ GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-OPTIONS_DEFINE= CLIENT SERVER
-OPTIONS_DEFAULT= CLIENT SERVER
+OPTIONS_SINGLE= SG1
+OPTIONS_SINGLE_SG1= CLIENT SERVER
.include <bsd.port.options.mk>
@@ -41,11 +41,6 @@ MAN1+= knock.1
PLIST_FILES+= bin/knock
.endif
-pre-configure:
-.if ${PORT_OPTIONS:MSERVER} && ${PORT_OPTIONS:MCLIENT}
-IGNORE= at least one component must be selected for installation
-.endif
-
post-patch:
@${REINPLACE_CMD} -e "s#%%PREFIX%%#${PREFIX}#g" \
-e "s#eth0#fxp0#g" \