Prevert ! instead of empty() and fix a typo.

PR:		ports/177024
Submitted by:	John Marino <draco@marino.st>
This commit is contained in:
Koop Mast 2013-03-16 17:36:53 +00:00
parent abba8af75e
commit b88f280800
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314380

View File

@ -57,7 +57,7 @@ post-patch:
-e 's|-Wmissing-parameter-type||g' \
-e 's|LIBS="-lusb-1.0|LIBS="-lusb|g' \
${WRKSRC}/configure
.if empty(PORT_OPTIONS:MMANPAGES}
.if !${PORT_OPTIONS:MMANPAGES}
@${REINPLACE_CMD} -e "s|2MAN_TRUE=$$|2MAN_TRUE='#'|g ; \
s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure
.endif