- Use OPTIONS_SINGLE
PR: ports/176257 Submitted by: Jed Clear <jclear at speakeasy.net> Reviewed by: jgh
This commit is contained in:
parent
0f3653f9ca
commit
8d2859bce0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314279
1 changed files with 2 additions and 7 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue