https://marc.info/?l=apache-modperl&m=143930336811571&w=2 researched by Chris Bennett. Note, this port has no maintainer, has a history of requiring workarounds for many Perl updates, and has been broken on common arches taking some months for anyone to report it, so in the absence of a maintainer stepping forward is likely to be removed soon.
30 lines
664 B
Makefile
30 lines
664 B
Makefile
# $OpenBSD: Makefile,v 1.40 2018/01/09 20:45:42 sthen Exp $
|
|
|
|
COMMENT= module that embeds a Perl interpreter into Apache2
|
|
|
|
DISTNAME= mod_perl-2.0.9
|
|
REVISION= 3
|
|
PKGNAME= ap2-${DISTNAME:S/-rc/rc/}
|
|
CATEGORIES= www net
|
|
|
|
MODULES= cpan
|
|
MASTER_SITES= https://distfiles.nl/ \
|
|
${MASTER_SITE_APACHE:=perl/}
|
|
|
|
# Apache Software License
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += apr-1 aprutil-1 c db expat iconv m perl pthread util
|
|
|
|
CONFIGURE_ARGS+= MP_APXS=${LOCALBASE}/sbin/apxs2 \
|
|
MP_NO_THREADS=1
|
|
LIB_DEPENDS= converters/libiconv \
|
|
devel/apr \
|
|
devel/apr-util
|
|
RUN_DEPENDS= www/apache-httpd
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PORTHOME= ${WRKDIR}
|
|
|
|
.include <bsd.port.mk>
|