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

Collapse All | Expand All

(-)Makefile (-20 / +8 lines)
Lines 186-191 Link Here
186
OPENLDAP_CONFIGURE_ENABLE=	openldap
186
OPENLDAP_CONFIGURE_ENABLE=	openldap
187
OPENLDAP_CONFIGURE_WITH=	libldap=${LOCALBASE}
187
OPENLDAP_CONFIGURE_WITH=	libldap=${LOCALBASE}
188
188
189
PERL_USES=			perl5
190
PERL_CONFIGURE_ENABLE=		perl
191
PERL_CONFIGURE_WITH=		perl=${PERL} perl-bindings
192
189
PGSQL_USES=			pgsql
193
PGSQL_USES=			pgsql
190
PGSQL_CONFIGURE_ENABLE=		postgresql
194
PGSQL_CONFIGURE_ENABLE=		postgresql
191
PGSQL_CONFIGURE_WITH=		postgresql=${LOCALBASE} libpq
195
PGSQL_CONFIGURE_WITH=		postgresql=${LOCALBASE} libpq
Lines 197-202 Link Here
197
PING_CONFIGURE_ENABLE=		ping
201
PING_CONFIGURE_ENABLE=		ping
198
PING_CONFIGURE_WITH=		liboping=${LOCALBASE}
202
PING_CONFIGURE_WITH=		liboping=${LOCALBASE}
199
203
204
PYTHON_USES=			python:2
205
PYTHON_CONFIGURE_ENABLE=	python
206
PYTHON_CONFIGURE_WITH=		python=${PYTHON_CMD}
207
200
RABBITMQ_LIB_DEPENDS=		librabbitmq.so:${PORTSDIR}/net/rabbitmq-c
208
RABBITMQ_LIB_DEPENDS=		librabbitmq.so:${PORTSDIR}/net/rabbitmq-c
201
RABBITMQ_CONFIGURE_ENABLE=	rabbitmq
209
RABBITMQ_CONFIGURE_ENABLE=	rabbitmq
202
RABBITMQ_CONFIGURE_WITH=	librabbitmq=${LOCALBASE}
210
RABBITMQ_CONFIGURE_WITH=	librabbitmq=${LOCALBASE}
Lines 314-339 Link Here
314
INSTALL_TARGET=	install-strip
322
INSTALL_TARGET=	install-strip
315
SHEBANG_FILES=	contrib/collection.cgi
323
SHEBANG_FILES=	contrib/collection.cgi
316
324
317
.include <bsd.port.options.mk>
318
319
.if ${PORT_OPTIONS:MPERL}
320
USES+=		perl5
321
CONFIGURE_ARGS+=--with-perl=${PERL} --with-perl-bindings --enable-perl
322
PLIST_SUB+=	PERL=""
323
.else
324
CONFIGURE_ARGS+=--without-perl --without-perl-bindings --disable-perl
325
PLIST_SUB+=	PERL="@comment "
326
.endif
327
328
.if ${PORT_OPTIONS:MPYTHON}
329
USES+=		python:2
330
CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} --enable-python
331
PLIST_SUB+=	PYTHON=""
332
.else
333
CONFIGURE_ARGS+=--without-python --disable-python
334
PLIST_SUB+=	PYTHON="@comment "
335
.endif
336
337
post-patch:
325
post-patch:
338
	@${REINPLACE_CMD} 's/-Werror//' \
326
	@${REINPLACE_CMD} 's/-Werror//' \
339
		${WRKSRC}/configure.ac ${WRKSRC}/src/Makefile.am \
327
		${WRKSRC}/configure.ac ${WRKSRC}/src/Makefile.am \

Return to bug 204220