freebsd-ports/www/mod_rivet/Makefile
Piotr Kubaj 5b34909724 www/mod_rivet: fix build on GCC architectures
Use C11 compiler:
./mod_rivet_ng/rivet_types.h:44: error: redefinition of typedef 'ApacheUpload'

MFH:		2020Q2 (build fix blanket)
2020-04-03 23:04:09 +00:00

33 lines
747 B
Makefile

# Created by: Peter Lai <cowbert@gmail.com>
# $FreeBSD$
PORTNAME= mod_rivet
PORTVERSION= 3.1.1
CATEGORIES= www tcl
MASTER_SITES= APACHE/tcl/rivet
DISTNAME= rivet-${PORTVERSION}
MAINTAINER= jeff.lawson@flightaware.com
COMMENT= Embeds a Tcl interpreter in the Apache server
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libitcl.so:lang/itcl
USES+= apache:2.2-2.4 compiler:c11 gmake \
libtool tcl:86+,tea
USE_LDCONFIG= ${PREFIX}/lib/rivet
INSTALL_TARGET= install-strip
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--with-apxs=${APXS} \
--with-rivet-target-dir=${PREFIX}/lib/rivet
post-patch:
@${REINPLACE_CMD} -e 's|`$${apxs_found} -q LIBEXECDIR`|${PREFIX}/${APACHEMODDIR}|g' \
${WRKSRC}/configure
.include <bsd.port.mk>