Fix docs logic after conversion

Reported by:	jhale
Feature safe:	yes
This commit is contained in:
Baptiste Daroussin 2012-10-29 13:21:56 +00:00
parent d2f5ae067e
commit 962f8427b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306611

View file

@ -54,10 +54,10 @@ run-autotools:
pre-configure:
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
.else
@${REINPLACE_CMD} -e 's|/etc/torarc|${PREFIX}/etc/torarc|' \
${PREFIX2FIX:S|^|${WRKSRC}/|}
.else
@${REINPLACE_CMD} -e 's|test doc|test|' ${WRKSRC}/Makefile.am
.endif
.include <bsd.port.mk>