From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 29 14:20:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B67589D0 for ; Fri, 29 Mar 2013 14:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9067A856 for ; Fri, 29 Mar 2013 14:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2TEK2HQ064181 for ; Fri, 29 Mar 2013 14:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2TEK2c7064180; Fri, 29 Mar 2013 14:20:02 GMT (envelope-from gnats) Date: Fri, 29 Mar 2013 14:20:02 GMT Message-Id: <201303291420.r2TEK2c7064180@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Alan Hicks Subject: Re: [Maintainer patch] Re: ports/177467: mail/dbmail install error when lang/perl5.14 has unset USE_PERL X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Alan Hicks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 14:20:02 -0000 The following reply was made to PR ports/177467; it has been noted by GNATS. From: Alan Hicks To: =?utf-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= , 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--