View | Details | Raw Unified | Return to bug 156564
Collapse All | Expand All

(-)Makefile.ext (-3 / +10 lines)
Lines 194-202 Link Here
194
.endif
194
.endif
195
195
196
.if ${PHP_MODNAME} == "odbc"
196
.if ${PHP_MODNAME} == "odbc"
197
LIB_DEPENDS+=	odbc.1:${PORTSDIR}/databases/unixODBC
197
OPTIONS=	IODBC "Use the IODBC driver instead of UnixODBC" off
198
199
CONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE}
200
.endif
198
.endif
201
199
202
.if ${PHP_MODNAME} == "openssl"
200
.if ${PHP_MODNAME} == "openssl"
Lines 560-562 Link Here
560
post-extract:
558
post-extract:
561
	@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
559
	@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4
562
.endif
560
.endif
561
562
.if ${PHP_MODNAME} == "odbc"
563
.if defined(WITH_IODBC)
564
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
565
.else
566
LIB_DEPENDS+=	odbc.1:${PORTSDIR}/databases/unixODBC
567
CONFIGURE_ARGS+=--with-unixODBC=${LOCALBASE}
568
.endif
569
.endif

Return to bug 156564