Date: Fri, 29 Mar 2013 14:20:02 GMT From: Alan Hicks <ahicks@p-o.co.uk> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: [Maintainer patch] Re: ports/177467: mail/dbmail install error when lang/perl5.14 has unset USE_PERL Message-ID: <201303291420.r2TEK2c7064180@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/177467; it has been noted by GNATS. From: Alan Hicks <ahicks@p-o.co.uk> To: =?utf-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>, bug-followup@freebsd.org Cc: Subject: Re: [Maintainer patch] Re: ports/177467: mail/dbmail install error when lang/perl5.14 has unset USE_PERL Date: Fri, 29 Mar 2013 14:14:47 +0000 This is a multi-part message in MIME format. --nextPart1731161.Xh8apKfjyr Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday 29 March 2013 14:39:00 =C5=81ukasz W=C4=85sikowski wrote: > W dniu 2013-03-29 13:18, Alan Hicks pisze: > > Thank you @lukazs for highlighting the missing dependency when buil= ding > > documents. > >=20 > > The attached patch fixes the missing build dependency. >=20 > This patch did not fix the problem. The problem is that fixsp.pl > hashbang points to perl in /usr/bin/perl, and this symlink is not > present (I don't want it to be present). perl binary in FreeBSD is in= > /usr/local/bin/perl - maybe try to patch fixsp.pl to use proper path = for > hashbang. Apologies for not fully reading your original report and thank you for = the=20 pointer, attached patch also includes fix to patch fixsp.pl --nextPart1731161.Xh8apKfjyr Content-Disposition: attachment; filename="dbmail-3.0.2-perlbuild.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="dbmail-3.0.2-perlbuild.diff" --- Makefile.orig 2013-03-29 13:59:35.000000000 +0000 +++ Makefile 2013-03-29 14:07:58.000000000 +0000 @@ -28,6 +28,7 @@ .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \ xmlto:${PORTSDIR}/textproc/xmlto +USE_PERL5_BUILD=yes .endif USE_AUTOTOOLS= libtool @@ -92,6 +93,9 @@ CONFIGURE_ARGS+= --enable-manpages .endif +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/man/fixsp.pl + post-install: @${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist @if [ ! -f ${PREFIX}/etc/dbmail.conf ] ; then \ --nextPart1731161.Xh8apKfjyr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303291420.r2TEK2c7064180>