View | Details | Raw Unified | Return to bug 198138 | Differences between
and this patch

Collapse All | Expand All

(-)lang/php56/Makefile.ext (-2 / +18 lines)
Lines 389-397 Link Here
389
.endif
389
.endif
390
390
391
.if ${PHP_MODNAME} == "tidy"
391
.if ${PHP_MODNAME} == "tidy"
392
OPTIONS_DEFINE=	TIDY5
393
TIDY5_DESC=	Uses Tidy5 (still beta)
394
392
CONFIGURE_ARGS+=--with-tidy=${LOCALBASE}
395
CONFIGURE_ARGS+=--with-tidy=${LOCALBASE}
393
394
LIB_DEPENDS+=	libtidy.so:${PORTSDIR}/www/tidy-lib
395
.endif
396
.endif
396
397
397
.if ${PHP_MODNAME} == "tokenizer"
398
.if ${PHP_MODNAME} == "tokenizer"
Lines 590-595 Link Here
590
.	endif
591
.	endif
591
.endif
592
.endif
592
593
594
.if ${PHP_MODNAME} == "tidy"
595
.	if ${PORT_OPTIONS:MTIDY5}
596
LIB_DEPENDS+=	libtidy5.so:${PORTSDIR}/www/tidy-html5
597
598
post-extract:
599
	${REINPLACE_CMD} -e '/PHP_ADD_LIBRARY_WITH_PATH/s|tidy|tidy5|'	\
600
		${WRKSRC}/config.m4
601
	${REINPLACE_CMD} -e '/PHP_CHECK_LIBRARY/s|tidy|tidy5|'	\
602
		${WRKSRC}/config.m4
603
604
.	else
605
LIB_DEPENDS+=	libtidy.so:${PORTSDIR}/www/tidy-lib
606
.	endif
607
.endif
608
593
.if ${PHP_MODNAME} == "xml"
609
.if ${PHP_MODNAME} == "xml"
594
post-extract:
610
post-extract:
595
	@${MKDIR} ${WRKSRC}/ext/xml
611
	@${MKDIR} ${WRKSRC}/ext/xml

Return to bug 198138