--with-bdb=${BDB_LIB_NAME} \
--with-com_err \
--with-openssl=${OPENSSLBASE} \
--with-perl=${PERL5}
--with-perl=${PERL}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
GNU_CONFIGURE= yes
USES= gettext perl5 gmake
USE_PERL5= run build patch
CONFIGURE_ARGS= --with-perl=${PERL5} --with-catdir=man \
CONFIGURE_ARGS= --with-perl=${PERL} --with-catdir=man \
--prefix=${PREFIX}
.include <bsd.port.pre.mk>
post-patch:
@${PERL5} -pi -e 's!^(\s+have_\S+)=\S+!\1=1!' \
@${PERL} -pi -e 's!^(\s+have_\S+)=\S+!\1=1!' \
${WRKSRC}/wml_common/Makefile.in
do-configure:
.endif
.if ${PORT_OPTIONS:MPERL}
CONFIGURE_ARGS+= --with-perl=${PERL5} \
CONFIGURE_ARGS+= --with-perl=${PERL} \
--with-perl-options="MAKE=${MAKE_CMD}"
PLIST_SUB+= WITH_PERL=''
# PerlMagick does not work with threads, if perl is not threaded, and vice versa
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS+= --with-apache2-apxs=${APXS} \
--with-expat=${LOCALBASE} \
--enable-perl-glue --with-perl=${PERL5}
--enable-perl-glue --with-perl=${PERL}
MAKE_ENV+= MAKE=${GMAKE} ## MakeMaker blows it without this